apivovarov opened a new issue #4371: ImportError: cannot import name 'bilinear_sample_nchw' URL: https://github.com/apache/incubator-tvm/issues/4371 Same issue, tvm, nnvm and topi were installed after the build ``` ~/tvm/python$ sudo python3 setup.py install ~/tvm/nnvm/python$ sudo python3 setup.py install ~/tvm/topi/python$ sudo python3 setup.py install ``` But model compilation fails ``` <tflite.Model.Model object at 0x7fa24653ba08> Traceback (most recent call last): File "./compile.py", line 79, in <module> import tvm.relay.testing.tf as tf_testing File "/usr/local/lib/python3.6/dist-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/relay/__init__.py", line 27, in <module> from . import expr_functor File "/usr/local/lib/python3.6/dist-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/relay/expr_functor.py", line 24, in <module> from .op import Op File "/usr/local/lib/python3.6/dist-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/relay/op/__init__.py", line 20, in <module> from .op import get, register, register_schedule, register_compute, register_gradient, \ File "/usr/local/lib/python3.6/dist-packages/tvm-0.6.dev0-py3.6-linux-x86_64.egg/tvm/relay/op/op.py", line 19, in <module> import topi File "/usr/local/lib/python3.6/dist-packages/topi-0.6.dev0-py3.6.egg/topi/__init__.py", line 43, in <module> from . import nn File "/usr/local/lib/python3.6/dist-packages/topi-0.6.dev0-py3.6.egg/topi/nn/__init__.py", line 23, in <module> from .deformable_conv2d import * File "/usr/local/lib/python3.6/dist-packages/topi-0.6.dev0-py3.6.egg/topi/nn/deformable_conv2d.py", line 23, in <module> from ..cpp.image import bilinear_sample_nchw ImportError: cannot import name 'bilinear_sample_nchw' ``` If tvm, nnvm and topi were installed using setup.py we do not need to set `LD_LIBRARY_PATH` Anyone looking at the issue? Discussion: https://discuss.tvm.ai/t/cannot-import-name-bilinear-sample-nchw/2510
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services