caffe python 接口设置

安装编译完成后,

运行

cd

sudogedit  ~/.bashrc

在打开的文件末尾加入 export PYTHONPATH=/home/caffe-master/python:$PYTHONPATH

 

"/home/caffe-master/python" 改为自己的python地址即可

 

安装编译过程参考:

http://www.cnblogs.com/balmy/p/5742872.html

 

posted @ 2016-09-01 21:35  balmy233  阅读(219)  评论(0编辑  收藏  举报