0、参考文献
[2] http://blog.csdn.net/YhL_Leo/article/details/51774966
1、记录训练日志
在训练过程中的命令中加入一行参数 ,实现Log日志的记录
其中目录改成自己项目的目录,这样训练结束之后,会在Log文件夹中生成每次训练的Log日志
#!/bin/bash
GLOG_logtostderr=0 GLOG_log_dir=fine-grained/Log/ caffe.bin train --solver fine-grained/solver.prototxt --weights fine-grained/bvlc_googlenet.caffemodel
2、画图
把生成的日志重命名为log.txt,用jupyter notebook画图,代码如下
import os
import sys
import numpy as np
import