Mark DVC trainer.best artifact as type=model (#4143)

This commit is contained in:
David de la Iglesia Castro 2023-08-04 19:39:36 +02:00 committed by GitHub
parent 09a0378e81
commit 6abab4d9ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()