Skip to content

Commit

Permalink
Begin implementing a training edge case to pickup where the training …
Browse files Browse the repository at this point in the history
…left off if interrupeted.
  • Loading branch information
jshuadvd committed Jul 7, 2024
1 parent 66a364e commit b7d2497
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 @@ -177,7 +177,7 @@ def train(
f"Resumed training from {resume_from_checkpoint} at epoch {start_epoch}"
)

for epoch in range(epochs):
for epoch in range(start_epoch, epochs):
model.train()
total_loss = 0

Expand Down

0 comments on commit b7d2497

Please sign in to comment.