1.no module named caffe*
对于这一类错误,大部分原因是在编译时候无法找到$CAFFEROOT/python/caffe文件夹下的内容,解决办法有两个
<1>通过设置环境变量的方式
export PYTHONPATH=$PYTHONPATH:/$CAFFEROOT/python/
CAFFEROOT是自己系统中caffe的路径
<2>在文件中添加上索引的路径,例如在.py文件中加入
import sys
sys.path.append("yourpath/caffe/python")
2.no module named scimage*
pip install scikit-image
conda install scikit-image
sudo apt-get install python-skimage
根据自己的电脑情况,任选一个命令行,安装即可