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 | |
| parent | 0b9514766b199fac35af8aecaaa511018744ef11 (diff) | |
start epoch plus iters gives me the jitters
| -rwxr-xr-x | dir-to-movie.pl | 1 | ||||
| -rwxr-xr-x | train.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/dir-to-movie.pl b/dir-to-movie.pl index 40fa853..0698241 100755 --- a/dir-to-movie.pl +++ b/dir-to-movie.pl @@ -38,7 +38,6 @@ chomp $pwd; $pwd .= '/'; print $pwd . "\n"; - mkdir('./tmp'); for my $line (@lines) { @@ -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 |
