Closed MQZhang2014 closed 5 years ago
Someone said that it is because the mismatch version of Pytorch. I have tried both version 1.0.0 and 1.1.0, however it doesn't work. Thank you.
I finally find that it is because of the torchvision. I uninstall the original torchvision by command $conda uninstall torchvision and then reinstall it.
wa oh u are so smart
wa oh u are so beautiful
wa oh u are zmq
Sorry to disturb. I met the error when I ran the command: $ python demo.py And the error shows like this: Traceback (most recent call last): File "demo.py", line 29, in
from model.roi_layers import nms
File "/Stereo-RCNN/lib/model/roi_layers/init.py", line 3, in
from .nms import nms
File "/Stereo-RCNN/lib/model/roi_layers/nms.py", line 3, in
from model import _C
ImportError: /Stereo-RCNN/lib/model/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_30E
I ran this on Ubuntu 16.04, Python 3.6.8, CUDA 9.0, pytorch 1.1.0. I have search a lot to try to solve this issue, but it didn't work.