2018년 5월 1일 화요일

Errors in Caffe

Traceback (most recent call last):
  File "Scripts/compute_bn_statistics.py", line 15, in <module>
    import caffe
  File "/home/morinjwang/DL/caffe-segnet-cudnn5/python/caffe/__init__.py", line 1, in <module>
    from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
  File "/home/morinjwang/DL/caffe-segnet-cudnn5/python/caffe/pycaffe.py", line 13, in <module>
    from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: dynamic module does not define init function (init_caffe)

check if you compile your Caffe library using python 2.7 OR python 3.*

댓글 없음:

댓글 쓰기