Skip to content

Commit

Permalink
Edit to allow unit-identification only
Browse files Browse the repository at this point in the history
  • Loading branch information
vinamarora8 committed Nov 29, 2024
1 parent 92a9c86 commit 2bad393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/poyo_plus/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class GradualUnfreezing(L.Callback):
frozen_params: Optional[List[nn.Parameter]] = None

def __init__(self, unfreeze_at_epoch: int):
self.enabled = unfreeze_at_epoch > 0
self.enabled = unfreeze_at_epoch != 0
self.unfreeze_at_epoch = unfreeze_at_epoch
self.cli_log = logging.getLogger(__name__)

Expand Down

0 comments on commit 2bad393

Please sign in to comment.