1. Install caffe (ubuntu 18.04)
sudo apt-get install caffe-cuda
2. Examples
-
Prepare data trainlist.txt
-
train.prototxt (which contains the data layer ie trainlist)
-
solver.prototxt (set training parameters, etc.)
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
- Enter URL
- Paste the network design code of train.prototxt into the URL, shift + enter