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
Hello! Something With A Very Long Running

Hello! Something with a very long running .add_external_files has gone wrong, and now the task is aborted and I get the warning

2022-08-27 10:03:54,129 - clearml - WARNING - Reopening aborted Dataset, any change will clear and overwrite current state
However, it seems as if all files have properly been linked. How do I best “complete” the task? Is there some way to not lose the ~30 hours of runtime?

  
  
Posted 2 years ago
Votes Newest

Answers 5


Thank you!

  
  
Posted 2 years ago

SpicyCrab51 you can change the task to complete, it is just a state change nothing will actually change other than the status. Task.get_task(pass_dataset_id_here).mark_complete()

  
  
Posted 2 years ago

Hi SpicyCrab51 ,
Hmm, how exactly is the Dataset opened?
If the Dataset object is alive for 30h it will keep the dataset alive, why isn't it being closed ?

  
  
Posted 2 years ago

Hey AgitatedDove14 ! The script I executed ran .add_external_files for 30h. Something in the process did not work out and the python process stopped. Now it has not been closed.

I opened it by calling Dataset.get , and the warning is being raised. However, 2.8 Million files are linked, so everything I need to know is included, from which I conclude just changing the status might be fine.

  
  
Posted 2 years ago

The most important question is:

If I manually change the status of the dataset to “Completed”, will it overwrite the task?

  
  
Posted 2 years ago