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, I Execute My Scripts With

Hi, I execute my scripts with ArgParse parameters, e.g. python3 my_experiment.py --name test --device 0 and then in my script call:
from clearml import Task task = Task.init(...) task.execute_remotely(queue_name='default', exit_process=True)I can see on the ClearML Portal that the execution happens as follows in my worker:
[.]$ /root/.clearml/venvs-builds/3.8/bin/python -u my_experiment.pywhich fails, since it expects --name and --device for the script to run.

Are argument parameters to the script not passed on to the workers, or am I missing something?

  
  
Posted 3 years ago
Votes Newest

Answers


Hi GracefulDog98

Are argument parameters to the script not passed on to the workers, or am I missing something?

The arguments are passed directly when the code is executed (i.e. the argparser parse_args is called).
If the code fails, I'm assuming the argparse is called before clearml is imported, could that be the case ?

  
  
Posted 3 years ago