python 3.5.1 import gpu_nms error (undefined symbol: _Py_ZeroStruct)
Author: tim9510019Created Oct 29, 2016Updated May 19, 2022
Hi all, After running the demo python3 tools/demo.py
The error just occures
...
from nms.gpu_nms import gpu_nms
ImportError: /home/ubuntu/Desktop/py-faster-rcnn/tools/../lib/nms/gpu_nms.so: undefined symbol: _Py_ZeroStructI ran with the latest version of python3 (3.5.1-3). caffe and pycaffe were both installed correctly.
Please help me to solve it. There hasn't been a good solution for it.
Source: rbgirshick/py-faster-rcnn