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 one year ago
Votes Newest

Answers 15


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

  
  
Posted one year 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 one year ago

Okay I will try the CLI thanks

  
  
Posted one year ago

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

  
  
Posted one year ago

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

  
  
Posted one year ago

Hi BoredHedgehog47 , did you run in docker mode?

  
  
Posted one year ago

Would that go under arguments ?

  
  
Posted one year 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 one year ago

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

  
  
Posted one year ago

Woot woot!

  
  
Posted one year ago

👍

  
  
Posted one year 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 one year 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 one year 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 one year ago

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

  
  
Posted one year ago
664 Views
15 Answers
one year ago
one year ago
Tags