diff --git a/keras_tuner/engine/base_tuner.py b/keras_tuner/engine/base_tuner.py index 9bba6b91c..45feecc52 100644 --- a/keras_tuner/engine/base_tuner.py +++ b/keras_tuner/engine/base_tuner.py @@ -248,7 +248,7 @@ def _run_and_update_trial(self, trial, *fit_args, **fit_kwargs): "`self.oracle.update_trial(trial_id, metrics)` " "in `Tuner.run_trial()` to report the metrics is deprecated, " "and will be removed in the future." - "Please remove the call and do 'return metrics' " + "Please remove the call and do 'return_metrics' " "in `Tuner.run_trial()` instead. ", DeprecationWarning, stacklevel=2,