diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-21 13:11:11 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-21 13:11:11 +0200 |
| commit | ec1b8d950bb489f1e04c43aefe6fa5e51a7d89fa (patch) | |
| tree | 1b2b8d6079b5dd1cab363e75d62882a72f6c841f /train.py | |
| parent | 0b9514766b199fac35af8aecaaa511018744ef11 (diff) | |
start epoch plus iters gives me the jitters
Diffstat (limited to 'train.py')
| -rwxr-xr-x | train.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ 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 + 1): +for epoch in range(start_epoch, opt.niter + opt.niter_decay + start_epoch): epoch_start_time = time.time() if epoch != start_epoch: epoch_iter = epoch_iter % dataset_size |
