Import caffe error

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

    I posted my Caffe install notes (my architecture: Arch Linux x86_64 | Intel i7 CPU ...) in an Anaconda Python 2.7 virtual environment here:

    Caffe Installation Notes

    https://gist.github.com/victoriastuart/fb2cb22209ccb2771963a25c06221213
    

    I also encountered the (downstream) "Import caffe error," for which I needed to resolve my $PYTHONPATH to complete the make compilation and get Caffe finally installed, and also to be able to import it (in Python).

提交回复
热议问题