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
Another Questions Related To

Another questions related to requirements.txt We use pip install with git commit. Eg:

mylib @ 

When I do task.add_requirements("requirements.txt")
I get

# Python 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:26:04) [GCC 10.4.0]

Pillow == 9.2.0
PyYAML == 6.0
azure_storage_blob == 12.16.0
boto3 == 1.21.21
clearml == 1.11.0
ml_collections == 0.1.1
numpy == 1.23.5
onnxruntime == 1.14.1
onnxruntime_gpu == 1.14.1
opencv_python ==
tensorboard == 2.9.0
torch == 1.13.0

Does this mean that clearml do not support this kind of requirement ?

Posted 10 months ago
Votes Newest

Answers 10

it is actually in the repo root folder.

Posted 10 months ago

but then it still missing a bunch of library in the Taks (that succeed) > Execution > INSTALLED PACKAGES
So when I do a clone of that task, and try to run the clone, the task fail because it is missing python package 😞

Posted 10 months ago

@<1576381444509405184:profile|ManiacalLizard2> can you try putting it in the repository's requirements.txt instead of adding it in code?

Posted 10 months ago

Hi @<1576381444509405184:profile|ManiacalLizard2> , I think the correct format is PACKAGE @ git+ None

Posted 10 months ago

that format is correct as I can run pip install -r requirements.txt
using the exact same file

Posted 10 months ago

and in the train.py , I have task.add_requirements("requirements.txt")

Posted 10 months ago

(I use ssh key to access to our git server in our private network)

Posted 10 months ago

interesting, the issue happen with mamba venv. Now I use a python native venv and it is detecting correctly

Posted 10 months ago

Ok. Found the solution.
The importance is to use this:

task = Task.init(project_name='hieutest', task_name='foo',reuse_last_task_id=False)

And not:

task = Task.init(project_name='hieutest', task_name='foo',reuse_last_task_id=False)
Posted 10 months ago

is task.add_requirements("requirements.txt") redundant ?
Is ClearML always look for a requirements.txt in the repo root ?

Posted 10 months ago
10 Answers
10 months ago
10 months ago