diff options
| author | Ruotian Luo <rluo@ttic.edu> | 2017-04-18 21:10:01 -0500 |
|---|---|---|
| committer | Ruotian Luo <rluo@ttic.edu> | 2017-04-18 21:10:01 -0500 |
| commit | c41ab7acdb1e9191d91991d6461ddc4dff3243f7 (patch) | |
| tree | 29f109b0af57ed36ae5945aa5204388bc25b9818 /train.py | |
| parent | 97e896a587e4f98e57a3f282b6d7994c1fe637dc (diff) | |
Use visdom instead of display
Diffstat (limited to 'train.py')
| -rw-r--r-- | train.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ for epoch in range(1, opt.niter + opt.niter_decay + 1): errors = model.get_current_errors() visualizer.print_current_errors(epoch, epoch_iter, errors, iter_start_time) if opt.display_id > 0: - visualizer.plot_current_errors(epoch, epoch_iter, opt, errors) + visualizer.plot_current_errors(epoch, float(epoch_iter)/num_train, opt, errors) if total_steps % opt.save_latest_freq == 0: print('saving the latest model (epoch %d, total_steps %d)' % |
