You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the following code it seems the model is being trained for 11 epochs and not 10:
# Fine tune for another 5 epochs
fine_tune_epochs = initial_epochs + 5
# Refit the model (same as model_2 except with more trainable layers)
history_fine_10_percent_data_aug = model_2.fit(train_data_10_percent,
epochs=fine_tune_epochs,
validation_data=test_data,
initial_epoch=history_10_percent_data_aug.epoch[-1], # start from previous last epoch
validation_steps=int(0.25 * len(test_data)),
callbacks=[create_tensorboard_callback("transfer_learning", "10_percent_fine_tune_last_10")])
Are you sure initial_epoch should not be set to history_10_percent_data_aug.epoch[-1]+1 so the fine-tuning starts from epochs 6?
The text was updated successfully, but these errors were encountered:
Looking at the following code it seems the model is being trained for 11 epochs and not 10:
Are you sure
initial_epoch
should not be set tohistory_10_percent_data_aug.epoch[-1]+1
so the fine-tuning starts from epochs 6?The text was updated successfully, but these errors were encountered: