From 9b1c0347963eccdb5514344f4a00a8e7279fddc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Ladune?= <32467327+theoladune@users.noreply.github.com> Date: Wed, 3 Jul 2024 17:03:50 +0200 Subject: [PATCH] Fix typo in train.py --- coolchic/enc/training/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coolchic/enc/training/train.py b/coolchic/enc/training/train.py index e4fbd01..24bfee4 100644 --- a/coolchic/enc/training/train.py +++ b/coolchic/enc/training/train.py @@ -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