mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 21:44:22 +08:00
Fix eval
to val
in dvc.py (#3771)
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
e71c0e3748
commit
ba523e6b3e
@ -117,8 +117,8 @@ def on_train_end(trainer):
|
|||||||
for metric, value in all_metrics.items():
|
for metric, value in all_metrics.items():
|
||||||
live.log_metric(metric, value, plot=False)
|
live.log_metric(metric, value, plot=False)
|
||||||
|
|
||||||
_log_plots(trainer.plots, 'eval')
|
_log_plots(trainer.plots, 'val')
|
||||||
_log_plots(trainer.validator.plots, 'eval')
|
_log_plots(trainer.validator.plots, 'val')
|
||||||
_log_confusion_matrix(trainer.validator)
|
_log_confusion_matrix(trainer.validator)
|
||||||
|
|
||||||
if trainer.best.exists():
|
if trainer.best.exists():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user