Skip to content

Commit

Permalink
Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathunky committed Oct 29, 2023
1 parent f54f9e1 commit d966a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions u2net_train.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ def train_model(net, optimizer, dataloader, device, epoch_num, save_frq):

if iteration_count % len(dataloader) == 0:
if epoch + 1 < epoch_num:
print("Checkpoint saved. Loading next crops…")
print("Checkpoint saved. Loading next crops…\n")
else:
print("Final checkpoint")
print("Final checkpoint\n")

save_checkpoint(
{
Expand Down

0 comments on commit d966a05

Please sign in to comment.