Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Naruto-Sasuke authored Nov 12, 2018
1 parent 19e0286 commit b80c46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
visualizer.print_current_losses(epoch, epoch_iter, losses, t, t_data)
if opt.display_id > 0:
visualizer.plot_current_losses(epoch, float(epoch_iter) / dataset_size, opt, losses)

if total_steps % opt.save_latest_freq == 0:
if opt.save_by_iter:
print('saving model at: (epoch %d, iters %d)' %
Expand Down

0 comments on commit b80c46b

Please sign in to comment.