Skip to content

Commit

Permalink
Wrong name for the list of extra parameters
Browse files Browse the repository at this point in the history
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
  • Loading branch information
Joao-L-S-Almeida committed Apr 14, 2023
1 parent 5236441 commit 876cd04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simulai/optimization/_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def _seek_by_extra_trainable_parameters(
for c in residual.trainable_parameters.values()
if isinstance(c, Parameter)
]
if c:
if extra_parameters:
print("There are extra trainable parameters.")
return extra_parameters
else:
Expand Down

0 comments on commit 876cd04

Please sign in to comment.