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
Post_Packages:

post_packages: clearml.conf
I had a problem with one python package - it is installed in base docker image but clearML has not determined it during the script run and has not put it package list. So when making a venv it does not installs that package and the script crashes.
I was thinking that I can add this package in agent configuration in pip.post_packages section but it does not work. Any ideas how to fix that thing?

  
  
Posted 2 years ago
Votes Newest

Answers 2


AgitatedDove14 thanks - that makes it clear.
In particular there are some optional dependencies - in my case I am using pandas.read_xls and it requires openpyxl .
Meanwhile I have changed a script and inserted an explicit import - now agent makes this install.

Are you running in docker mode ? the venv inside the docker inherits from all the installed packages, how come it is missing?

My fault - I was in pip mode...

  
  
Posted 2 years ago

GentleSwallow91 notice that on the Task you have "Installed Packages" this is the equivalent of requirments.txt , you can edit it and add a missing package, or programatically add it in code (though usually directly imported packages are automatically registered, how come this one is missing?)

to add a package in code:
Task.add_requirements(package_name="my_package", package_version=">=1") task = Task.init(...)

base docker image but clearML has not determined it during the script run and has not put it package list.

Are you running in docker mode ? the venv inside the docker inherits from all the installed packages, how come it is missing?

  
  
Posted 2 years ago
1K Views
2 Answers
2 years ago
one year ago
Tags
Similar posts