TimelyMouse69 Hello, could you help check the above messages ? Thanks.
TimelyMouse69
Yeah, there is no further explanation about the status of closed
so I'm wondering when it can become closed
. As for my second question, my intention is that no need to update the original task or create a new task for another training. I expect that I can do another training after task.close()
and I won't encounter any issues, but I'm wrong.
TimelyMouse69 Thanks.
About question #2,
I don't want to reuse a task. I want to temporarily pause or permanently stop this ClearML task so the ClearML task won't record my following experiment (training job).
ScaryBluewhale66 you shouldn't call mark_* on the main task, we're adding this as a notice and in documentation in the next release: https://github.com/allegroai/clearml/issues/830
TimelyMouse69 Hello, could you help check my above questions? Thanks.
If I'm 'ot mistaken closed status should only appear when you've used Close ()
Can you elaborate on question #2?
Do you want to reuse a task or something else?
Could you test again with
https://clear.ml/docs/latest/docs/references/sdk/task/#mark_completed ?
TimelyMouse69 About the closed
status, I'll wait for your response. Thanks!!
TimelyMouse69
Ok. It's strange. After executing mark_completed()
, the kernel of Jupyter is dead. You can see the following image. The three cells (3~5) run at once, then the kernel is dead. I use task.close()
but the status is still completed
, not closed
.
There seems to be a discrepancy in the docs I'm trying to figure out and solve.
Most of the statuses are more explained here: https://clear.ml/docs/latest/docs/fundamentals/task/#task-states
Closed isn't yet.
Close is normally for manually closing a task: https://clear.ml/docs/latest/docs/references/sdk/task#close
You'll find more info here: https://clear.ml/docs/latest/docs/clearml_sdk/task_sdk/ and here: https://clear.ml/docs/latest/docs/guides/advanced/multiple_tasks_single_process