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
Hello Everyone ! I Am Solving The Following Case: Let'S Say We Have A

Hello everyone ! I am solving the following case: Let's say we have a train.py which imports augmentations from augmentations.py (f rom augmentations import * ). I also do use task.connect_configuration(name = 'augmentations', configuration = 'augmentations.py') . Now, is there any option for the case when I do create a clone of this task to change the augmentations file right in the clearml dashboard and still successfully import from it? Thanks everyone.

Posted one year ago
Votes Newest

Answers 2

Hi ExasperatedCrocodile76
This is quite the hack, but doable 🙂
file_path = task.connect_configuration(name = 'augmentations', configuration = 'augmentations.py')

import importlib

module_name = 'augmentations'

spec = importlib.util.spec_from_file_location(module_name, file_path)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module) `

Posted one year ago

Thanks! It is working.

Posted one year ago
2 Answers
one year ago
one year ago