Skip to content

Commit

Permalink
fix (#1542)
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis-Dupont committed Oct 17, 2023
1 parent db39011 commit 39cae16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/super_gradients/common/deprecate.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def override(self, **entries):

def decorator(func):
def wrapper(*args, **training_params):
if deprecated_tparam_name in training_params:
if training_params.get(deprecated_tparam_name):
import super_gradients

is_still_supported = parse_version(super_gradients.__version__) < parse_version(removed_from)
Expand Down

0 comments on commit 39cae16

Please sign in to comment.