Skip to content

Commit

Permalink
p
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcardoso committed Aug 20, 2023
1 parent bf360c1 commit efeb061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mergernet/estimators/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def train(
)

# t1 train
if self.hp.get('t1_epochs') > 0:
if self.hp.get('t1_epochs', default=0) > 0:
model = self.build(freeze_conv=True)

opt = self.get_optimizer(self.hp.get('t1_opt'), lr=self.hp.get('t1_lr'))
Expand Down

0 comments on commit efeb061

Please sign in to comment.