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

posted on 2018-06-14 18:06  MissSimple  阅读(2630)  评论(0编辑  收藏  举报

导航