tianzhi0549 / FCOS

FCOS: Fully Convolutional One-Stage Object Detection (ICCV'19)
https://arxiv.org/abs/1904.01355
Other
3.27k stars 629 forks source link

About onnx and pytorch version #232

Open Len-Li opened 4 years ago

Len-Li commented 4 years ago

When I run test_fcos_onnx_model.py.I encounted this: from fcos_core import _C ImportError: /home/dut-616/FCOS-master/fcos_core/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E I am using pytorch 1.4.0 and torchvision 0.5.0.dev20200107 py37_cu100. It seems like the version of torch and torchvision is mismatch.But I got messy in finding out the nightly version of pytorch.So what's your pytorch and torchvision's version?I am appreciate if you can help me.

unyxs281 commented 3 years ago

When I run test_fcos_onnx_model.py.I encounted this: from fcos_core import _C ImportError: /home/dut-616/FCOS-master/fcos_core/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E I am using pytorch 1.4.0 and torchvision 0.5.0.dev20200107 py37_cu100. It seems like the version of torch and torchvision is mismatch.But I got messy in finding out the nightly version of pytorch.So what's your pytorch and torchvision's version?I am appreciate if you can help me.

Hi,@Len-Li I also met this problem. How did you solve it,thank you

Len-Li commented 3 years ago

When I run test_fcos_onnx_model.py.I encounted this: from fcos_core import _C ImportError: /home/dut-616/FCOS-master/fcos_core/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E I am using pytorch 1.4.0 and torchvision 0.5.0.dev20200107 py37_cu100. It seems like the version of torch and torchvision is mismatch.But I got messy in finding out the nightly version of pytorch.So what's your pytorch and torchvision's version?I am appreciate if you can help me.

Hi,@Len-Li I also met this problem. How did you solve it,thank you

I am not yet solve this problem, so i am sorry that i can't help.

tianzhi0549 commented 3 years ago

@Len-Li I suggest that you can try to clean all the compiled files (or re-clone the project) and recompile the project.