Thanks! yeah that sounds good. Is there any way to modify the config aside from using the UI?
GiddyTurkey39 do you mean the config file for the Trains Agent itself?
I mean the config file. Can I change the parameters before executing the draft task? Or do changes to the parameters have to be committed to the git repo before the draft task can be executed?
Can I change the parameters before executing the draft task
Yes you can, after you clone the experiment everything becomes editable, so you can edit the config in the UI.
For example, let's assume I have config.yml, and in my code I do:my_file = task.connect_configuration('config.yml') with open(my_file, 'rt') as f: ...
Then after I clone it in the UI and edit the configuration, when it will be executed remotely,my_file
will contain the content of the configuration as seen in the UI.
Sounds good ?
Hi GiddyTurkey39
us the config file connect to the Task via Task.connect_configuration
?
The easiest if export_task / update_task:
https://allegro.ai/docs/task.html#trains.task.Task.export_task
https://allegro.ai/docs/task.html#trains.task.Task.update_task
Check the structure returned by export_task, you'll find the entire configuration test there,
then, you can use that to update back the Task.
BTW:
Partial update is also supported...