Allow users to specify how to override a ClearML Task (#10363)
* Added basic flag to enable reusing last task clearml * Added option to provide task ID to override * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Use exist_ok argument instead Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
1 file changed
+1
@@ -89,6 +89,7 @@ class ClearmlLogger:
|
|||||||
task_name=opt.name if opt.name != 'exp' else 'Training',
|
task_name=opt.name if opt.name != 'exp' else 'Training',
|
||||||
tags=['YOLOv5'],
|
tags=['YOLOv5'],
|
||||||
output_uri=True,
|
output_uri=True,
|
||||||
|
reuse_last_task_id=opt.exist_ok,
|
||||||
auto_connect_frameworks={'pytorch': False}
|
auto_connect_frameworks={'pytorch': False}
|
||||||
# We disconnect pytorch auto-detection, because we added manual model save points in the code
|
# We disconnect pytorch auto-detection, because we added manual model save points in the code
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user