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
Unanswered
Hi, I Have An Issue, But Lets Start With The Description. This Is Snippet Of My Project'S Structure:


@<1554638160548335616:profile|AverageSealion33> looks like hydra pulls the config relative to the scripts directory, and not the current working directory. The pipeline controller actually creates a temp file in /tmp when it pulls the step, so the script's directory will be /tmp and when searching for ../data , hydra will search in / . The .git likely caused your repository to be pulled, so your repo structure was created in /tmp , which caused the step to run correctly.
What you could do is this to make hydra search via cwd:

from clearml import Task
import os
import hydra


@hydra.main(config_path=os.path.join(os.getcwd(), "../configs/preprocessing/"), config_name="config", version_base=None)
def main(cfg):
    Task.init("hydra", "hydra")
    print(cfg)


if __name__ == "__main__":
    main()
  
  
Posted one year ago
143 Views
0 Answers
one year ago
one year ago