Skip to content

Commit

Permalink
Fixed minor bug in sac post load
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-il-forte committed Jan 30, 2024
1 parent 146ba8e commit 47a3fce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def _post_load(self):
self._update_alpha_optimizer_parameters()

def _update_alpha_optimizer_parameters(self):
if self._optimizer is not None:
if self._alpha_optim is not None:
TorchUtils.update_optimizer_parameters(self._alpha_optim, [self._log_alpha])

@property
Expand Down

0 comments on commit 47a3fce

Please sign in to comment.