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
Hi, I'M Facing Some Issues When Try To Run A Pipeline, How Can A Import A Local Library Using Pipelines From Functions? Always Getting "Modulenotfounderror: No Module Named"

Hi, I'm facing some issues when try to run a pipeline, how can a import a local library using pipelines from functions? Always getting "ModuleNotFoundError: No module named"

  
  
Posted 2 years ago
Votes Newest

Answers 10


I now I'm logged in the github repo with ClearML, but how can I link on the Pipeline step?

  
  
Posted 2 years ago

OK, I got it by modifying the .conf file and putting the credentials on node

  
  
Posted 2 years ago

Thanks

  
  
Posted 2 years ago

Oh, is your pipeline code a part of a git repository ?

  
  
Posted 2 years ago

Make sense AgitatedDove14 . But I'm triyng to import a .py in a folder, how can I do that?

  
  
Posted 2 years ago

Hmm, this means the step should have included the git repo itself, which means the code should have been able to import the .py
Can you see the link to the git repository on the Pipeline step Task ?

  
  
Posted 2 years ago

Hi DepressedFox45
Basically move the import into the function, it will automatically detect the package.
@PipelineDecorator.component(...) def step_one(...): import sklearn import pandas as pd # stuffMake sense ?

  
  
Posted 2 years ago

you can also specify additional packages on the decorator
@PipelineDecorator.component(..., packages=["tqdm>=2.1", "scikit-learn"]) def step_one(...): # code here

  
  
Posted 2 years ago

OK, I got it by modifying the .conf file and putting the credentials on node

Nice! 🙂

  
  
Posted 2 years ago

Yes

  
  
Posted 2 years ago
1K Views
10 Answers
2 years ago
one year ago
Tags