I tried to follow this example and for the C++, and I immedately get an error for not being able to find dlpack.
After manually fixing all of the include directories, I still get include errors for some of the included in these .h files.
Is there something else missing from my TVM installation? All of the Python examples work fine otherwise.
there’s also a helpful script in tvm/apps/howto_deploy/run_example.sh
However, it doesn’t actually execute due to undefined references
/tvm/build/libtvm_runtime.so: undefined reference to pthread_create' /tvm/build/libtvm_runtime.so: undefined reference to dlopen’
/tvm/build/libtvm_runtime.so: undefined reference to dlclose' /tvm/build/libtvm_runtime.so: undefined reference to dlerror’
/tvm/build/libtvm_runtime.so: undefined reference to dlsym' /tvm/build/libtvm_runtime.so: undefined reference to pthread_setaffinity_np’
Hi,
I’m writing a c++ test application to test a inference using mxnet + resnet18.
reference: https://docs.tvm.ai/deploy/nnvm.html.
the building works but seems it shows wrong result below:
The maximum position in output vector is: 0
data changes as fellow:
cat.png -> resize(224,224,3)(RGB) ->cat.bin
i got the same problem ,the reason is that when we load the input data( cat.bin) which must be saved astype float32 (type is float32), numpy_data.astype(float32).tofile(cat.bin) in python ,then load data in c