We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 60fc41c + d474a1c commit ffee5c7Copy full SHA for ffee5c7
batchflow/__init__.py
@@ -26,4 +26,4 @@
26
from .utils_telegram import TelegramMessage
27
28
29
-__version__ = '0.8.2'
+__version__ = '0.8.3'
batchflow/models/torch/base.py
@@ -794,7 +794,9 @@ def make_decay(self):
794
decay_dict = DECAYS_DEFAULTS.get(decay_).copy()
795
if decay == DECAYS['cos']:
796
decay_dict.update(T_max=step_params['frequency'])
797
- decay_kwargs = {**decay_dict, **decay_kwargs}
+ decay_kwargs = Config({**decay_dict, **decay_kwargs})
798
+ else:
799
+ decay_kwargs = Config(decay_kwargs)
800
801
# Remove unnecessary keys from kwargs
802
for key in ['start_iter', 'last_iter', 'frequency']:
0 commit comments