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
Hi, From Within An Experiment, How Can I Intercept The Signal That The Experiment Was Aborted And Execute A Cleanup Function? I Tried To Intercept Sigint And Sigterm, Unsuccessfully:

Hi, from within an experiment, how can I intercept the signal that the experiment was aborted and execute a cleanup function? I tried to intercept SIGINT and SIGTERM, unsuccessfully:
signal.signal(signal.SIGINT, handler_stop_signals) signal.signal(signal.SIGTERM, handler_stop_signals)

  
  
Posted 2 years ago
Votes Newest

Answers 5


yes

  
  
Posted 2 years ago

Hi JitteryCoyote63 , I would try to register an at_exit() handler, as the experiment is closed externally by the executing agent

  
  
Posted 2 years ago

Might be - this is when you choose to "abort" in the UI?

  
  
Posted 2 years ago

Hi SuccessfulKoala55 , thanks for the idea! the function isn’t called with atexit.register() though, maybe the way the agent kills the task is not supported by atexit

  
  
Posted 2 years ago

How exactly is the clearml-agent killing the task?

  
  
Posted 2 years ago
566 Views
5 Answers
2 years ago
one year ago
Tags