Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
After Closing A Task You'Ll Have To Open It Again With Init Before You Can Do Anything With It. The Different Statuses Are Here:

After closing a task you'll have to open it again with init before you can do anything with it.

The different statuses are here: https://clear.ml/docs/latest/docs/references/sdk/task/#get_status

But not a lot of explanation with it, I'll have a look if I can add more.

  
  
Posted 2 years ago
Votes Newest

Answers 11


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 .

  
  
Posted one year ago

TimelyMouse69 Hello, could you help check my above questions? Thanks.

  
  
Posted one year ago

TimelyMouse69 Hello, could you help check the above messages ? Thanks.

  
  
Posted one year ago

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

  
  
Posted one year ago

Can you elaborate on question #2?
Do you want to reuse a task or something else?

  
  
Posted one year ago

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).

  
  
Posted one year ago

If I'm 'ot mistaken closed status should only appear when you've used Close ()

  
  
Posted one year ago

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.

  
  
Posted 2 years ago

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

  
  
Posted one year ago

TimelyMouse69 About the closed status, I'll wait for your response. Thanks!!

  
  
Posted one year ago
1K Views
11 Answers
2 years ago
one year ago
Tags