Caffe framework learning crash

1. Install caffe (ubuntu 18.04)

sudo apt-get install caffe-cuda

2. Examples

Reference
crash

  1. Prepare data trainlist.txt

  2. train.prototxt (which contains the data layer ie trainlist)

  3. solver.prototxt (set training parameters, etc.)
    Insert picture description hereInsert picture description here
    Insert picture description here
    execute the command
    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

3. Visualization of caffe's train.prototxt Netscope

netscope official website http://ethereon.github.io/netscope/quickstart.html

  1. Enter URL
  2. Paste the network design code of train.prototxt into the URL, shift + enter
    Insert picture description here
Published 63 original articles · praised 7 · views 3396

Guess you like

Origin blog.csdn.net/weixin_44523062/article/details/105293976