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
Hey How Can I Trigger Multiple "Hyperparameter Optimization" In A For Loop To Run On A Service? I Have Around 30 Models I'D Like To Run A Bo On In A Service Queue. If I Use The Code In This Example

Hey how can I trigger multiple "Hyperparameter Optimization" in a for loop to run on a service? I have around 30 models I'd like to run a BO on in a service queue. If I use the code in this example https://github.com/allegroai/clearml/blob/master/examples/optimization/hyper-parameter-optimization/hyper_parameter_optimizer.py but in a for loop for given task name and base task id. However, the loop exits after the first iteration even if I remove "exit_process=False". Any tips would be appreciated 🙏

  
  
Posted one year ago
Votes Newest

Answers 4


For reference
import subprocess for i in ['1', '2']: command = ['python', 'hyp_op.py', '--testnum', f'{i}'] process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

  
  
Posted one year ago

I'll let you know what happens

  
  
Posted one year ago

Yep just about to do that. Just annoying to add arg parser etc

  
  
Posted one year ago

Hi RobustRat47 , what if you run them as sub-processes?

  
  
Posted one year ago
1K Views
4 Answers
one year ago
one year ago
Tags