Import caffe error

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

    You should build caffe and pycaffe using the command:

    cd $FRCN_ROOT/caffe-fast-rcnn
    make -j8 && make pycaffe
    

    and before the compilation, you should create a Makefile.config file and set the corresponding library path, such as python.

    More details are presented on the web: bgirshick/py-faster-rcnn.

    What's more, when I run the "Beyond the demo" section, it seams that if I Create a symlink of the folder "VOCdevkit" as "VOCdevkit2007" which turns out to be "can't find the dataset". So, I change the folder name as "VOCdevkit2007", and it runs well.

提交回复
热议问题