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
When A Transitive Dependency Is Optional, How Do We Make Sure The Task Detects It? In My Case, I Have A Task That Reads Excel File Using Pandas Which Needs

When a transitive dependency is optional, how do we make sure the task detects it?

In my case, I have a task that reads excel file using pandas which needs xlrd . I have xlrd in requirements.txt but clearml doesn’t pick it up as requirement for the task. Think this is because it looks at imports. Adding import xlrd will fix it, but is there a better way I am missing?

Posted 2 years ago
Votes Newest

Answers 2

Hi TrickySheep9 ,

ClearML does analyze your packages, but you always can add any package you like with Task.add_requirements('xlrd', '') or if its a package that you want the ClearML agent to install always (not per task), you can add it to the agent’s configuration file https://github.com/allegroai/clearml-agent/blob/master/docs/clearml.conf#L82

Can this do the trick?

Posted 2 years ago

Task.add_requirements would fit the bill yeah, thanks

Posted 2 years ago
2 Answers
2 years ago
11 months ago