Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haifeng-jin committed May 27, 2020
1 parent 95f2880 commit 6d57bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autokeras/engine/tuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_best_model(self):
model.load_weights(self.best_model_path)
return model

def _on_train_end(self, model, hp, x, *args, **kwargs):
def _on_train_begin(self, model, hp, x, *args, **kwargs):
"""Adapt the preprocessing layers and tune the fit arguments."""
self.adapt(model, x)

Expand Down

0 comments on commit 6d57bf0

Please sign in to comment.