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
Hello Everyone, I'M Trying To Do Prepare A Pipeline On Clearml With My Custom Framework Script That Import And Executes Other Scripts. However, When I Write Functions Inside The Pipeline I Get

hello everyone,

I'm trying to do prepare a pipeline on clearml with my custom framework script that import and executes other scripts. However, when I write functions inside the pipeline I get no module named foo error. how can I prepare the pipeline properly ?

My script looks like above :

` import foo.train as train

def train_func():
train()

pipe = PipelineController(
project='examples',
name='Pipeline demo',
version='1.1',
add_pipeline_tags=False,)

pipe.set_default_execution_queue('default')

pipe.add_function_step(
name='train_step',
function=train_func,
cache_executed_step=True,) `

  
  
Posted 2 years ago
Votes Newest

Answers 5


Hi GhastlySquirrel83 ,

You can specify the repository ( repo=None, repo_branch=None, repo_commit=None parameters) in the add_function_step for connecting the specific repo into the step, you can view all the options with some examples here - https://clear.ml/docs/latest/docs/references/sdk/automation_controller_pipelinecontroller#add_function_step

  
  
Posted 2 years ago

yep

  
  
Posted 2 years ago

you can, if its a standalone one

  
  
Posted 2 years ago

oh thank you. Is it have to be related to the repo of the foo script right ?

  
  
Posted 2 years ago

OK got it, thank you! On the other hand why do I need this ? Why can't execute the script in this way ?

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