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
I Have A Script In Which I Added

i have a script in which i added Task.init() hook, so when i run the script, it creates the experiment and i can its logs there etc.. but init() function doesn't allow me to put the task in the server queue.. only Task.enque() function does... i am wondering the queueing functionality is mainly used from the UI or its ok to use from running training script manually as well

  
  
Posted 3 years ago
Votes Newest

Answers 2


thanks

  
  
Posted 3 years ago

PompousParrot44
Check out the task.execute_remotely()
You can call it right after the task init, and it will enqueue your running Task, and leave the process (if you want).
https://github.com/allegroai/trains/blob/65a4aa7aa90fc867993cf0d5e36c214e6c044270/trains/task.py#L1437

  
  
Posted 3 years ago
470 Views
2 Answers
3 years ago
one year ago
Tags
Similar posts