caffe框架学习速成

一、安装caffe(ubuntu18。04)

sudo apt-get install caffe-cuda

二、例子

参考
速成

  1. 准备数据trainlist.txt

  2. train.prototxt(其中包含数据层即trainlist)

  3. solver.prototxt (设置训练参数等)
    caffe框架学习速成caffe框架学习速成
    caffe框架学习速成
    执行命令
    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

  1. 进入网址
  2. 将train.prototxt的网络设计代码粘贴到网址里,shift+enter
    caffe框架学习速成