Skip to content

Commit be1d9f3

Browse files
committed
Added TODO for the last remaining comment
1 parent 1f7159f commit be1d9f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

references/optical_flow/train.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def main(args):
258258
current_epoch += 1
259259

260260
if args.rank == 0:
261+
# TODO: Also save the optimizer and scheduler
261262
torch.save(model.state_dict(), Path(args.output_dir) / f"{args.name}_{current_epoch}.pth")
262263
torch.save(model.state_dict(), Path(args.output_dir) / f"{args.name}.pth")
263264

0 commit comments

Comments
 (0)