If possible, can we have a "only one experiment can be given a single tag"
You mean "moving a tag" automatically (i.e. if someone else had the same tag it is removed from it)?
Ah the latest tag of production sounds good to me. Then I guess I can retrieve the artifacts from that specific latest tagged task then.
Yep, basically this will query the Task and get the last one:
https://github.com/allegroai/clearml/blob/ca70f0a6f6d52054a095672dc087390fabf2870d/clearml/task.py#L729
Notice task_filter
allows you do do all sorts of filtering
https://github.com/allegroai/clearml/blob/ca70f0a6f6d52054a095672dc087390fabf2870d/clearml/task.py#L781
Yep, automatically moving a tag
No, but you can get the last created/updated one with that tag (so I guess the same?)
meant like the best artifacts.
So artifacts get be retrieved like a dict:
https://github.com/allegroai/clearml/blob/master/examples/reporting/artifacts_retrieval.pyTask.get_task(project_name='examples', task_name='artifacts example').artifacts['name']
Thanks a lot AgitatedDove14 (Sorry for the late response) !!
Example Task.get_task(..., task_filter={'tags': ['best'], 'order_by': ["-last_update"]})
so that you can get the latest artifacts of that experiment
what do you mean by " the latest artifacts "? do you have multiple artifacts on the same Task or s it the latest Task holding a specific artifact?
This can be the "production tag" where a single task with the best results should hold.
sorry, I'll update that. I meant like the best artifacts. So multiple artifacts of the same task that I thought was the best. It may or may not be the latest task.