Skip to content

Commit

Permalink
fix t1_epochs
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcardoso committed Aug 23, 2023
1 parent 07bd446 commit 0ac643d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mergernet/estimators/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,12 @@ def train(
restore_best_weights=True
)

t1_epochs = self.hp.get('tl_epochs', default=10)

t = Timming()
L.info('Start of training loop with frozen CNN')
h = model.fit(
ds_train,
batch_size=self.hp.get('batch_size'),
epochs=t1_epochs,
epochs=self.hp.get('tl_epochs', default=10),
validation_data=ds_test,
class_weight=class_weights,
callbacks=[early_stop_cb, wandb_metrics, wandb_graphics]
Expand Down

0 comments on commit 0ac643d

Please sign in to comment.