diff options
| author | Taesung Park <taesung_park@berkeley.edu> | 2017-04-20 03:04:34 -0700 |
|---|---|---|
| committer | Taesung Park <taesung_park@berkeley.edu> | 2017-04-20 03:04:34 -0700 |
| commit | 3aeb748074628fd033d0fa798813aa226b8645d6 (patch) | |
| tree | 9332a8e5d560c20a3502b9061607f3ea55e008da /train.py | |
| parent | 685cfc40f5e9bb529babc2e5ebc1026b864fd119 (diff) | |
| parent | 9cecc5fc9e19e08bf4c0d91b64fe9d45c83c610c (diff) | |
Merge branch 'ruotianluo-master'
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)' % |
