From ba523e6b3e165c46fd56467a61c91e7f34bcd82d Mon Sep 17 00:00:00 2001 From: David de la Iglesia Castro Date: Mon, 17 Jul 2023 22:32:49 +0200 Subject: [PATCH] Fix `eval` to `val` in dvc.py (#3771) Co-authored-by: Glenn Jocher --- ultralytics/utils/callbacks/dvc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ultralytics/utils/callbacks/dvc.py b/ultralytics/utils/callbacks/dvc.py index ce3076e5..16042d13 100644 --- a/ultralytics/utils/callbacks/dvc.py +++ b/ultralytics/utils/callbacks/dvc.py @@ -117,8 +117,8 @@ def on_train_end(trainer): for metric, value in all_metrics.items(): live.log_metric(metric, value, plot=False) - _log_plots(trainer.plots, 'eval') - _log_plots(trainer.validator.plots, 'eval') + _log_plots(trainer.plots, 'val') + _log_plots(trainer.validator.plots, 'val') _log_confusion_matrix(trainer.validator) if trainer.best.exists():