tianzhi0549 / FCOS

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

error about /FCOS/maskrcnn_benchmark/_C.cpython-36m-x86_64-linux-gnu.so #69

Closed ZhengyuZhang96 closed 5 years ago

ZhengyuZhang96 commented 5 years ago

Traceback (most recent call last): File "demo/fcos_demo.py", line 6, in from predictor import COCODemo File "/home/yong/FCOS/FCOS/demo/predictor.py", line 6, in from maskrcnn_benchmark.modeling.detector import build_detection_model File "/home/yong/FCOS/FCOS/maskrcnn_benchmark/modeling/detector/init.py", line 2, in from .detectors import build_detection_model File "/home/yong/FCOS/FCOS/maskrcnn_benchmark/modeling/detector/detectors.py", line 2, in from .generalized_rcnn import GeneralizedRCNN File "/home/yong/FCOS/FCOS/maskrcnn_benchmark/modeling/detector/generalized_rcnn.py", line 11, in from ..backbone import build_backbone File "/home/yong/FCOS/FCOS/maskrcnn_benchmark/modeling/backbone/init.py", line 2, in from .backbone import build_backbone File "/home/yong/FCOS/FCOS/maskrcnn_benchmark/modeling/backbone/backbone.py", line 7, in from maskrcnn_benchmark.modeling.make_layers import conv_with_kaiming_uniform File "/home/yong/FCOS/FCOS/maskrcnn_benchmark/modeling/make_layers.py", line 10, in from maskrcnn_benchmark.layers import Conv2d File "/home/yong/FCOS/FCOS/maskrcnn_benchmark/layers/init.py", line 9, in from .nms import nms File "/home/yong/FCOS/FCOS/maskrcnn_benchmark/layers/nms.py", line 3, in from maskrcnn_benchmark import _C ImportError: /home/yong/FCOS/FCOS/maskrcnn_benchmark/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs

ZhengyuZhang96 commented 5 years ago

Dear author,Thank you for your sharing code, I am meeting this problem, how can I solve it?

tianzhi0549 commented 5 years ago

@studyharderer Please make sure you are using the same python and pytorch version as you compiled the project. Please refer https://github.com/facebookresearch/maskrcnn-benchmark/issues/119.