Skip to content
Snippets Groups Projects
Commit 548337d4 authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

[trainer] fixed the epoch number in the logging

parent 960773ff
Branches
Tags
No related merge requests found
......@@ -172,5 +172,5 @@ class CNNTrainer(object):
losses.append(loss.item())
# do stuff - like saving models
logger.info("EPOCH {} DONE")
logger.info("EPOCH {} DONE".format(epoch+1))
self.save_model(output_dir, epoch=(epoch+1), iteration=0, losses=losses)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment