facebookarchive / fb.resnet.torch

Torch implementation of ResNet from http://arxiv.org/abs/1512.03385 and training scripts
Other
2.29k stars 664 forks source link

how can i draw a training curve? #166

Closed Lzc6996 closed 7 years ago

Lzc6996 commented 7 years ago

i have a train_val log , and i want to draw a curve. i guess you have the scripts to do this job. could your release them? sorry for my lazy.

xichangzun commented 7 years ago
require 'gnuplot'

gnuplot.pngfigure('train_val.png')
gnuplot.plot(torch.Tensor(train_val))
gnuplot.plotflush()