Skip to content

Commit

Permalink
fix: set skip setting from argument
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriCat committed Jan 26, 2022
1 parent 154d283 commit ddcb6f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/aux_swa.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
ed, length = int(sys.argv[1]), int(sys.argv[2])
step = 1
if len(sys.argv) >= 4:
step
step = int(sys.argv[3])

model_ids = [str(i) + '.pth' for i in range(ed - length + 1, ed + 1, step)]

Expand Down

0 comments on commit ddcb6f7

Please sign in to comment.