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
Another Question, Is It Possible To Run A Single Experiment Which Is Composed Of Multiple Steps Executed As Sequential Sub-Processes Where The Current Task Is Fetched As

Another question, is it possible to run a single experiment which is composed of multiple steps executed as sequential sub-processes where the current task is fetched as Task.get_task() by project name and task name. Currently, I do not see any logs from child processes but only main parent process.
Pipeline solution does seem cover my need.

  
  
Posted 3 years ago
Votes Newest

Answers 10


👍

  
  
Posted 3 years ago

I think it is OK for me, thanks !

  
  
Posted 3 years ago

TightElk12 are you still looking for a way to create a new "sub-task" ?

  
  
Posted 3 years ago

AgitatedDove14 I tried and it works OK with
Task.current_task() and overall Task.init .
Sorry for confusion.

  
  
Posted 3 years ago

Thanks AgitatedDove14 !

  
  
Posted 3 years ago

Okay, I'm pretty sure there is a hack, let me see if there is something "nicer"

  
  
Posted 3 years ago

actually, i'm using subprocess. Popen and step X is another python script file executed from a single main parent process.

  
  
Posted 3 years ago

Hmm, let me see if you can somehow "signal" to the subprocess that it should not use the main process Task. (btw: are you forking or spawning a subprocess?)

  
  
Posted 3 years ago

Let me check that, thanks !
I was also started to think about closing the task and call init. Let me detail again the use-case if it was unclear:
parent process |-- Task.init(...) |-- step 1 sub-process | |-- Task.init(...) | |-- task.connect |-- step 2 sub-process | |-- Task.init(...) | |-- task.connect |- end

  
  
Posted 3 years ago

Hi TightElk12
One option will be to call task.close() at the end of each step and task.init at the beginning of another.
Will that do?

  
  
Posted 3 years ago
923 Views
10 Answers
3 years ago
one year ago
Tags