Import caffe error

前端 未结 5 1398
予麋鹿
予麋鹿 2021-01-17 11:04

i compiled caffe successfully in my ubuntu machine but cannot import in python.

Caffe is installed /home/pbu/Desktop/caffe

i tried adding the /home/pbu/caffe

5条回答
  •  被撕碎了的回忆
    2021-01-17 11:21

    Well, I use the cmake-gui for making Caffe. There you need to set the Python paths to the Anaconda-python:

    PYTHON_EXECUTABLE /bin/python2.7
    PYTHON_INCLUDE_DIRECTORY /include/PYTHON2.7
    PYTHON_LIBRARY /lib/libpython2.7.so
    

提交回复
热议问题