2015-11-15 39 views
1

我已经建立和MNIST分类器使用火炬,其结果通过使用优化记录器绘制。结合生产使用优化记录器生产的情节

当绘制我打电话trainLogger:plot(),其中trainLoggertrainLogger=optim.Logger('train.log')。对于测试集重复相同的操作。所以这给了我两个独立的情节,有没有办法将这两个日志合并到一个情节中?

回答

0
gnuplot 
set title "Mean accuracy" 
set xlabel "Epochs" 
set ylabel "Accuracy (%)" 
set yrange [0:100] 
plot 'test.log' title "Testing" with linespoints ls 1 linetype 6,'train.log' title "Training" with linespoints ls 1 linetype 7 
+1

考虑添加一些文字来解释您的答案,以进一步阐明您为什么要做什么/为什么。 – Bek