Skip to content

Commit

Permalink
Mark DVC trainer.best artifact as type=model (ultralytics#4143)
Browse files Browse the repository at this point in the history
  • Loading branch information
daavoo authored Aug 4, 2023
1 parent 09a0378 commit 6abab4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ultralytics/utils/callbacks/dvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def on_train_end(trainer):
_log_confusion_matrix(trainer.validator)

if trainer.best.exists():
live.log_artifact(trainer.best, copy=True)
live.log_artifact(trainer.best, copy=True, type='model')

live.end()

Expand Down

0 comments on commit 6abab4d

Please sign in to comment.