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 Am Also Experiencing A Weird Behaviour When Running A Script Using The Module Flag. For Example I Run:

I am also experiencing a weird behaviour when running a script using the module flag. For example I run:
python -m module.script arg1 arg 2And after the script fails because No module named module.__main__; 'module' is a package and cannot be directly executed I check the Results tab and the actual command being run on the node is:
...python -u -m module arg1 arg2

  
  
Posted 4 years ago
Votes Newest

Answers 10


command line to the arg parser should be passed via the "Args" section in the Configuration tab.
What is the working directory on the experiment ?

  
  
Posted 4 years ago

So should I set them all with a default value? The working dir is the project one, the one that contains the module package

  
  
Posted 4 years ago

Assuming git repo looks something like:
.git readme.txt module | +---- script.pyThe working directory should be "."
The script path should be: "-m module.scipt"
And under the Configuration/Args, you should have:
args1 = value args2 = another_value
Make sense?

  
  
Posted 4 years ago

Yes, everything is that way (work dir and args are ok) except the script path . It shows -m module arg1 arg2 .

  
  
Posted 4 years ago

Is this caused by running the script with the arguments?

  
  
Posted 4 years ago

right click on the experiment, select Reset, now you can edit it.

  
  
Posted 4 years ago

Is this caused by running the script with the arguments

Yep 🙂

  
  
Posted 4 years ago

BTW: how did it get there ?

  
  
Posted 4 years ago

I’ll show you what I have through PM!

  
  
Posted 4 years ago

Sure

  
  
Posted 4 years ago
931 Views
10 Answers
4 years ago
one year ago
Tags