HKUST-Aerial-Robotics / Stereo-RCNN

Code for 'Stereo R-CNN based 3D Object Detection for Autonomous Driving' (CVPR 2019)
MIT License
690 stars 177 forks source link

undefined symbol #36

Closed MQZhang2014 closed 5 years ago

MQZhang2014 commented 5 years ago

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.

MQZhang2014 commented 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.

MQZhang2014 commented 5 years ago

I finally find that it is because of the torchvision. I uninstall the original torchvision by command $conda uninstall torchvision and then reinstall it.

cts666 commented 4 years ago

wa oh u are so smart

cts666 commented 4 years ago

wa oh u are so beautiful

cts666 commented 4 years ago

wa oh u are zmq