Skip to content

Commit

Permalink
Fix for epoch tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
gwinndr committed Aug 23, 2020
1 parent 4f91d34 commit b4f4828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def main():
# Finished an epoch, evaluate mAP and mAR
if(progress_epoch >= len(train_set)):
epochs_trained += 1
progress_epoch = 0
progress_epoch -= len(train_set)

print("----- Finished epoch -----")
print("Num epochs trained:", epochs_trained)
Expand Down

0 comments on commit b4f4828

Please sign in to comment.