R-FCN:ImportError:无法导入名称_ccallback_c

时间:2018-07-02 09:31:41

标签: python scipy caffe conv-neural-network pycaffe

我尝试运行py-R-FCN project,但遇到此错误:

ImportError: cannot import name _ccallback_c

跟踪:

File "./tools/train_net.py", line 13, in <module>
from fast_rcnn.train import get_training_roidb, train_net
File "/home/muse/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 10, in <module>
import caffe
File "/home/muse/py-R-FCN/tools/../caffe/python/caffe/__init__.py", line 1, in <module>
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
File "/home/muse/py-R-FCN/tools/../caffe/python/caffe/pycaffe.py", line 15, in <module>
import caffe.io
File "/home/muse/py-R-FCN/tools/../caffe/python/caffe/io.py", line 2, in <module>
import skimage.io
File "/usr/lib/python2.7/dist-packages/skimage/io/__init__.py", line 11, in <module>
from ._io import *
File "/usr/lib/python2.7/dist-packages/skimage/io/_io.py", line 7, in <module>
from skimage.color import rgb2grey
File "/usr/lib/python2.7/dist-packages/skimage/color/__init__.py", line 1, in <module>
from .colorconv import (convert_colorspace,
File "/usr/lib/python2.7/dist-packages/skimage/color/colorconv.py", line 57, in <module>
from scipy import linalg
File "/usr/local/lib/python3.5/dist-packages/scipy/__init__.py", line 119, in <module>
from scipy._lib._ccallback import LowLevelCallable
File "/usr/local/lib/python3.5/dist-packages/scipy/_lib/_ccallback.py", line 1, in <module>
from . import _ccallback_c
ImportError: cannot import name _ccallback_c

我认为我已经安装了SciPy模块。请如何解决?

0 个答案:

没有答案