Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Plot 结合使用optim logger生成的图_Plot_Lua_Gnuplot_Torch - Fatal编程技术网

Plot 结合使用optim logger生成的图

Plot 结合使用optim logger生成的图,plot,lua,gnuplot,torch,Plot,Lua,Gnuplot,Torch,我已经使用torch构建和MNIST分类器,使用optim logger绘制结果 打印时,我调用trainLogger:plot(),其中trainLogger是trainLogger=optim.Logger('train.log')。对测试集重复相同的操作。因此,这给了我两个单独的情节,有没有办法将这两个日志组合在一个情节中?考虑添加一些文本来解释你的答案,以进一步阐明你在做什么/为什么要做。考虑添加一些文本来解释你的答案,以进一步阐明你在做什么/为什么。 gnuplot set title

我已经使用torch构建和MNIST分类器,使用optim logger绘制结果


打印时,我调用
trainLogger:plot()
,其中
trainLogger
trainLogger=optim.Logger('train.log')
。对测试集重复相同的操作。因此,这给了我两个单独的情节,有没有办法将这两个日志组合在一个情节中?

考虑添加一些文本来解释你的答案,以进一步阐明你在做什么/为什么要做。考虑添加一些文本来解释你的答案,以进一步阐明你在做什么/为什么。
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