Caffe - 训练日志 log 可视化分析
在采用 shell 脚本进行 caffe 训练时,可以输出训练过程到log 文件,如
$CAFFE_ROOT/build/tools/caffe train \
--solver=solver.prototxt \
--gpu 0 \
2>&1 | tee train.log
Caffe 提供了对输出 log 文件的解析工具 - parse_log.py:
$CAFFE_ROOT/tools/extra/parse_log.py train.log ./
输出两个解析文件:
train.log.train
train.log.test
其内容格式如:
NumIters,Seconds,LearningRate,loss
0.0,0.366678,0.05,4.30619