caffe框架学习速成
一、安装caffe(ubuntu18。04)
sudo apt-get install caffe-cuda
二、例子
-
准备数据trainlist.txt
-
train.prototxt(其中包含数据层即trainlist)
-
solver.prototxt (设置训练参数等)
执行命令
caffe train -solver ./solver.prototxt -gpu 0 2>&1 | tee ./log/log_new.txt
#cpu
#caffe train -solver ./solver.prototxt 2>&1 | tee ./log/log.txt
三、caffe的train.prototxt的可视化Netscope
netscope官网http://ethereon.github.io/netscope/quickstart.html
- 进入网址
- 将train.prototxt的网络设计代码粘贴到网址里,shift+enter