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
Hey All, I Have The Following Folder Structure: / |-- Main.Py |-- Pipeline.Py |-- Utils.Py In Some Of The Pipeline Components Defined In Pipeline.Py, I Import Functions Defined In Utils.Py. If I Execute The Pipeline, I Get The Following Error: Modulenotfo

Hey all,
I have the following folder structure:
/
|-- main.py
|-- pipeline.py
|-- utils.py
In some of the pipeline components defined in pipeline.py, I import functions defined in utils.py.
If I execute the pipeline, I get the following error: ModuleNotFoundError: No module named 'utils'

I have my clearml server and agent deployed in k3d cluster. My code resides inside a git repo, which is also pulled, when the images of the pipeline are created. I import the utils functions inside a component function. Does all code need to be in the same file? That shouldn't be the case, if the code is pulled from a git repo, or? Or is that some kind of bug? Does someone have an example, how to create a pipeline, where own scripts are imported in a component?

Thanks in advance. Any help is highly appreciated.

  
  
Posted 10 months ago
Votes Newest

Answers


Hi @<1661542579272945664:profile|SaltySpider22>
Basically you need to put all of these files into a repository , which is always a good practice.
The reason is that the pipeline (and for that matter any Task on the system) can store wither a single script or a git reference, but not multiple scripts.

  
  
Posted 10 months ago
677 Views
1 Answer
10 months ago
10 months ago
Tags
Similar posts