Import caffe error

前端 未结 5 1403
予麋鹿
予麋鹿 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:12

    This happens when you have not run make for the python files separately.

    Run make pycaffe soon after running make in the Caffe directory.

    You may have to set the path to the python library correctly in Makefile.config

提交回复
热议问题