summaryrefslogtreecommitdiff
path: root/train.py
diff options
context:
space:
mode:
Diffstat (limited to 'train.py')
-rwxr-xr-xtrain.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/train.py b/train.py
index 3cf3627..0fe892d 100755
--- a/train.py
+++ b/train.py
@@ -44,7 +44,9 @@ display_delta = total_steps % opt.display_freq
print_delta = total_steps % opt.print_freq
save_delta = total_steps % opt.save_latest_freq
-for epoch in range(start_epoch, opt.niter + opt.niter_decay + start_epoch):
+print("{} {}".format(start_epoch, start_epoch + opt.niter + opt.niter_decay + 1))
+
+for epoch in range(start_epoch, start_epoch + opt.niter + opt.niter_decay + 1):
epoch_start_time = time.time()
if epoch != start_epoch:
epoch_iter = epoch_iter % dataset_size