caffe框架学习速成

一、安装caffe(ubuntu18。04)

sudo apt-get install caffe-cuda

二、例子

参考
速成

  1. 准备数据trainlist.txt

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

  3. 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

  1. 进入网址
  2. 将train.prototxt的网络设计代码粘贴到网址里,shift+enter
    在这里插入图片描述
发布了63 篇原创文章 · 获赞 7 · 访问量 3396

猜你喜欢

转载自blog.csdn.net/weixin_44523062/article/details/105293976