centos caffe2安装

来源:互联网 发布:ios防骚扰软件 编辑:程序博客网 时间:2024/05/29 12:00

1. 下载caffe2源码包

https://github.com/caffe2/caffe2


2. 安装过程请参照https://caffe2.ai/docs/getting-started.html?platform=centos&configuration=cloud


3. 编译过程中需要的cmake指令和生成的makefile中添加的路径在”我的资源“中,相应的环境变量的设置也可参考(下载所需积分较多,仅供自己查找学习使用,觉得积分太多的请绕道)

    

4. cmake-->make-->make install, 之后按照github给出的下列指令进行验证:

     

python -c 'from caffe2.python import core' 2>/dev/null && echo "Success" || echo "Failure"python -m caffe2.python.operator_test.relu_op_test

    

原创粉丝点击