Reputation
Badges 1
12 × Eureka!Apparently I don't understand something.
I tried using Task.init() instead of Task.create(), but I gotclearml.errors.UsageError: Current task already created and requested task name 'exp_1.0.31_Main' does not match current task name 'exp_1.0.31'. If you wish to create additional tasks use
Task.create
because I wanted to initialize not existing subtask with new unique task_name. If I clone subtask instead of creating new every time, then as I understand, I don't have any opportunitie...
Yes, but I wanted to create task automatically and after that add this task to pipeline for running. I hoped to avoid additional edits in GUI
And in super class, _Task:
Also I have a question about parameter output_uri:
Can I provide this parameter to subtask in Time.create() or after that?
As I understand, providing this param at the Task.init() inside the subtask is too late, because step is already started.
I discovered that task.set_base_docker() is allowed only locally.
In task.py:
I wanted to do following:task = Task.init(
project_name=..., task_name=...,
task_type=Task.TaskTypes.controller) # base pipeline task
after that, I wanted to create steps from scratch, because I have many steps and I hope to avoid manual editing in GUI (commits and other things). I create this tasks:new_task = Task.create(...)
and finally I added it to pipe:pipe.add_step(...)
I have problem with some execution properties, like docker and output...
AgitatedDove14 I use exactly this version
I want to remove argparse arguments from code and I hope to update list of args in UI for next executions or cloning from this task.
Thank you, it is excellent solution for me!
Thanks, it works!
TimelyPenguin76 Thanks, it helped me locally, but it doesn't work when I start pipeline task from GUI