Skip to content

Commit

Permalink
update curve
Browse files Browse the repository at this point in the history
  • Loading branch information
layumi committed May 11, 2023
1 parent 99dfb15 commit 879baf5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,7 @@ def train_model(model, criterion, optimizer, scheduler, num_epochs=25):
save_network(model.module, epoch+1)
else:
save_network(model, epoch+1)

draw_curve(epoch)
draw_curve(epoch)
if phase == 'train':
scheduler.step()
time_elapsed = time.time() - since
Expand Down

0 comments on commit 879baf5

Please sign in to comment.