jetson_nano 安装NVIDIA-caffe和Digits

NVIDIA-caffe 是NVIDIA维护的caffe的一个版本,有很多便于部署在边缘端的特性,详细信息去github看吧

https://github.com/NVIDIA/caffe

 

jetson_nano 安装这个步骤非常繁琐,这里记录一下

 

安装Protobuf

jetson_nano 安装NVIDIA-caffe和Digits

 

 

安装NVIDIA-caffe

jetson_nano 安装NVIDIA-caffe和Digits

jetson_nano 安装NVIDIA-caffe和Digits

 

以上几个图片来自李丹丹老师所著书《基于NVIDIA jetson平台的人工智能实例开发入门》

进行到这里,有个错误需要纠正 就是要下载最新的NVIDIA-caffe  不然编译会出错

https://github.com/NVIDIA/caffe

接下来继续编译

cd caffe

mkdir build

cmake ..

sudo make -j6

sudo make install

设置工作路径

nano ~/.bashrc

export PYTHONPATH=/home/yu/caffe/python

source ~/.bashrc

会遇到的问题:

https://blog.****.net/qq_35550465/article/details/81194602 

sudo make pycaffe

https://www.cnblogs.com/chay/p/10273927.html

 

 

 

安装DIGITS

一切按照书中步骤安装即可 不过要注意

sudo -H pip install flask-wtf==0.14.3  -i https://pypi.doubanio.com/simple

flask-wtf 要安装最新版本  2020年2月26日 为0.14.3