very nice 🙂
CostlyOstrich36 I was trying to filter things using some parameters, but I was not really able to filter them before fetching the a given task... can you send some syntax or examples I can look ?
ok this makes sense, but how do I filter this tasks using the parameters? CostlyOstrich36
Imagine I create this task with a given parameters --task = Task.init(project_name='examples', task_name='Hyper-parameters example') parameters= {"customer_id" : 100} parameters = task.connect(parameters)
When is time to filter all tasks with customer_id = 100
, what can I use?
I tried this, but is not working ...from clearml.backend_api.session.client import APIClient client = APIClient() r = client.tasks.get_all(_all_={"pattern":"100", "fields":["parameters.application_id.value"]})
FreshKangaroo33 , what do you mean by syntax examples?
I think this should give you some context on usage 🙂
https://github.com/allegroai/clearml/blob/master/examples/reporting/hyper_parameters.py
FreshKangaroo33 , I'll play with it a bit to see what works 🙂
Thank you very much 🙂 I guess I finished the free tips !
Not sure why this is not working, but will give it a try ! thanks anyway if you can't help 🙂response = client.tasks.get_all( order_by=["-last_update"], _all_={"pattern":"100", "fields":["hyperparams.custom_id.value"]} )
Hi FreshKangaroo33 ,
I think you could use a special hyper parameter for it. This way you can have it show up in the UI as a column. This way it would take any argument you want AND you can filter by it 🙂
FreshKangaroo33 ,
On the top right of the experiments view you have a cog wheel, if you click on it, it will give you an option to add hyper parameters to the table. I think from the API calls from there you can figure something out 🙂