Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: Python

其原因是没有开启对python的支持,需要在Makefile.conf文件中开启如下开关

WITH_PYTHON_LAYER=1 
然后再
make -j16 && make pycaffe

配置路径
export PYTHONPATH
cd $PYTHONPATH 进入这个路径后发现新的环境变量配置没有生效!!!
如果想其立即生效,需要执行如下命令: source ~/.bashrc

猜你喜欢

转载自www.cnblogs.com/mengmengmiaomiao/p/9184347.html