From 5064e646c3071c7afd1c196c8df2456c11e35aad Mon Sep 17 00:00:00 2001 From: Anselm Hahn Date: Sun, 5 Jan 2025 08:01:24 +0100 Subject: [PATCH] Fix deprecation warning message in BaseTuner documentation --- keras_tuner/engine/base_tuner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,