Skip to content

Commit

Permalink
Fix typo in train.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theoladune authored Jul 3, 2024
1 parent c0cc689 commit 9b1c034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coolchic/enc/training/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _linear_schedule(
assert cur_itr >= 0 and cur_itr <= max_itr, (
f"Linear scheduling from 0 to {max_itr} iterations"
" except to have a current iterations between those two values."
" Found cur_itr = {cur_itr}."
f" Found cur_itr = {cur_itr}."
)

return cur_itr * (final_value - initial_value) / max_itr + initial_value
Expand Down

0 comments on commit 9b1c034

Please sign in to comment.