Tramac / awesome-semantic-segmentation-pytorch

Semantic Segmentation on PyTorch (include FCN, PSPNet, Deeplabv3, Deeplabv3+, DANet, DenseASPP, BiSeNet, EncNet, DUNet, ICNet, ENet, OCNet, CCNet, PSANet, CGNet, ESPNet, LEDNet, DFANet)
Apache License 2.0
2.82k stars 581 forks source link

ImportError: /awesome-semantic-segmentation-pytorch-master/core/nn/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe26detail37_typeMetaDataInstance_preallocated_32E #76

Closed hanbingmew closed 4 years ago

hanbingmew commented 4 years ago

I get this error when running train.py python==3.6.9 torch==1.1.0 torchvision=0.3.0 cuda==9.0

Tramac commented 4 years ago

Hi, is this helpful?

hanbingmew commented 4 years ago

That works for me! Thank you!

NoHateAnymore commented 4 years ago

Hi, can you tell me how you solved this problem?

hanbingmew commented 4 years ago

rm -r build, then recompile.

Congcong-Song commented 2 years ago

how to recompile?

wangliangwu commented 1 year ago

recompile step1 remove -r build step2 into the mmdetection dir the pip install -v -e . i think is it

wangliangwu commented 1 year ago

i solve it by upstairs [hanbingmew] step 1 enter to the mmdetection dir the run the command
remove -rf build step2 pip install -v -e. the finnally the problem is sovled i feel very happy