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 All, I'M Testing The Usage Of

Hey all, I'm testing the usage of SETUP SHELL SCRIPT in the experiment window. I added a simple command but did not see it in the console. The task did execute so I expected it to print "Starting" before that?

  
  
Posted 2 years ago
Votes Newest

Answers 15


Okay I will try the CLI thanks

  
  
Posted 2 years ago

Per my question above, what is the base path where the git repo is cloned?

  
  
Posted 2 years ago

BTW: if you need to set env variables you can also add -e PYTHONPATH=/new/path to the docker args

  
  
Posted 2 years ago

yes makes sense. So I wouldnt be able to setup the PYTHONPATH via the setup script?

  
  
Posted 2 years ago

Hi BoredHedgehog47 , did you run in docker mode?

  
  
Posted 2 years ago

Would that go under arguments ?

  
  
Posted 2 years ago

Would that go under

arguments

?

yes 🙂

Also what is the base path where the git repo is cloned? So if my repo is called myProject.git, what would the full path be?

For example https://github.com/ <user>/myProject.git
btw: how come you do not have this field auto populated from running the code locally or using clearml-task CLI?

  
  
Posted 2 years ago

👍

  
  
Posted 2 years ago

Good question. The repo I'm using requires nvidia GPU and I can't get the code to run locally

  
  
Posted 2 years ago

First I would check the CLI command it will basically prefill it for you:
https://clear.ml/docs/latest/docs/apps/clearml_task
Specifically to your question, working directory "." is the root of the git repo
But I would avoid adding it manually, use the CLI, it will either use ask you to provide info or take the git repo details from the local copy

  
  
Posted 2 years ago

Also what is the base path where the git repo is cloned? So if my repo is called myProject.git, what would the full path be?

  
  
Posted 2 years ago

Woot woot!

  
  
Posted 2 years ago

You will be able to set it.
You will just not see the output in the console log , but everything is running and being executed

  
  
Posted 2 years ago

BoredHedgehog47 if you are running it on K8s, then the setup script is running before everything else, even before an agent appears on the machine, unfortunately this means the output is not logged yet, hence the missing console lines (I think the next version of the glue will fix that)
In order to test you can do:
export TEST_MEthen inside your code you will be able to see it
os.environ['TEST_ME']Make sense ?

  
  
Posted 2 years ago

Hey triggering the tasks from the CLI resolved the python pathing issues!

  
  
Posted 2 years ago
1K Views
15 Answers
2 years ago
one year ago
Tags