Skip to content

Commit

Permalink
Increase number of saved models
Browse files Browse the repository at this point in the history
  • Loading branch information
rien333 committed Jun 6, 2018
1 parent 59a7c83 commit 781a713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conv_vae_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ def test(epoch, loader):

def train_routine(epochs, train_loader, test_loader, optimizer, scheduler, reset=120, start_epoch=0):
# This could/should be a dictionary
best_models = [("", 100000000000)]*3
best_models = [("", 100000000000)]*5

for epoch in range(start_epoch, epochs + 1):
train(epoch, train_loader, optimizer)
Expand Down

0 comments on commit 781a713

Please sign in to comment.