Allow users to specify how to override a ClearML Task#10363
Allow users to specify how to override a ClearML Task#10363glenn-jocher merged 7 commits intoultralytics:masterfrom
Conversation
|
@thepycoder thanks for the PR! Would it make sense to use the existing Without --exist-ok a new unique NAME will be incremented for the second run, |
|
@thepycoder argument is here, and is present in all files that contain --project and --name arguments: Lines 458 to 460 in 185d475 |
|
@glenn-jocher I have revised the PR to use the Either you don't mind and we can merge this Or I can extend the to not only allow true or false, but also string input for a specific task ID to override. WDYT? |
|
@thepycoder ok awesome! Let's try this first and then update if we get user requests for updating other tasks. |
|
@thepycoder PR is merged. Thank you for your contributions to YOLOv5 🚀 and Vision AI ⭐ |
Context
As discussed here: #9865 (comment)
Thank you @mikel-brostrom for bringing this to light.
Changes
Add a new command line argument
--reuse_last_tasknamed such that it may later be reused by other loggers.Not providing it, will make ClearML never override a task
Providing it, will allow ClearML to override the most recent task only if it doesn't have artifacts logged (model weights)
You can also add a custom Task ID as such
--reuse_last_task fdf3586060bd4ef5bed277f64da646e9to override a specific task.🛠️ PR Summary
Made with ❤️ by Ultralytics Actions
🌟 Summary
Enhanced ClearML Logger integration with YOLOv5 for task reuse.
📊 Key Changes
reuse_last_task_idparameter to ClearML logger initialization.🎯 Purpose & Impact
exist_okin options).