caffe 安装和使用问题列表

1. mkl download: https://software.intel.com/en-us/intel-system-studio
problem : error while loading shared libraries: libmkl_rt.so: cannot open shared object file: No such file or directory
answer: export LD_LIBRARY_PATH=$your_install_path/system_studio_2015.1.045/mkl/lib/intel64/
2.
the python install package, do not use the pip install requirements.txt, it does not work. install one by one by yourself.
    http://www.scipy.org/install.html
3. 
python use problem:
When I tried to use the python binding after compiling caffe with cmake "_caffe" was not found. This was fixed by copying the python lib from the build directory to the python module directory with the expected name. Further caffe's proto files are missing with the cmake build. This is fixed by the consecutive four commands taken from the plain make file.
Assuming you are in the main caffe directory and your cmake build is in "build", the following commands enable python support:
cp build/python/libpycaffe.so python/caffe/_caffe.so && \ mkdir -p python/caffe/proto && \ touch python/caffe/proto/__init__.py && \ protoc --proto_path=src/caffe/proto --python_out=python/caffe/proto src/caffe/proto/caffe.proto && \ protoc --proto_path=src/caffe/proto --python_out=python/caffe/proto src/caffe/proto/caffe_pretty_print.proto 4.  how to log the training and process.     GLOG_logtostderr=1 ....... 2>&1 | tee log 5. how to log the training and testing table like:   caffe.log.test ( #Iters Seconds TestAccuracy TestLoss)     caffe.log.train(#Iters Seconds TrainingLoss LearningRate)      see tools/extra/parse_log.sh, if you like, you can plot the picture like : 


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值