Unanswered
Hi. One Question Regarding Instantiation Of Tasks. The Docu States That Providing
Hi ThankfulOwl72 ,
You can create only one main execution Task. In the code you wrote, you are trying to have two tasks, which causing the exception. You can read more about the task object in the https://allegro.ai/docs/task.html#trains.task.Task .
The reuse_last_task_id
will create a new task, which is not the default for https://allegro.ai/docs/task.html#task.Task.init (will override the last one)
What is your use case? maybe I can help with that
BTW, you can use Task.init()
without parameters to receive the running task (for the second call).
146 Views
0
Answers
4 years ago
one year ago