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 There!I’M Trying To Build A Pipeline With The Help Of Decorators. I Have A One-Step Pipeline, And The Step Is Imported From A Different Pipeline, Marked Up With The Component Decorator.

Hey there!I’m trying to build a pipeline with the help of decorators. I have a one-step pipeline, and the step is imported from a different pipeline, marked up with the component decorator.

from X import my_function

@PipelineDecorator.pipeline(…)
def execute_pipeline(param1, param2):
	result = my_function(param1, param2)


if __name__ == "__main__":
	execute_pipeline(«value_1», «value_2»)

When I start the pipeline from my IDE, it works fine. But the whole idea is to run it with different params from the UI, and here comes the problem. When I try to do so, changing the values of param1 and param2 , I see the new values in the run info window of the whole pipeline , but in the run info of its step the values are old, e.g. the ones that I used when I ran the pipeline from my IDE («value_1», «value_2»).
Am I missing something obvious? I see that there’s function_kwargs for the pipeline controller, and that actually works with my pipeline, (I rewrote it using the pipeline controller and when I run it from the UI everything’s ok) but I would rather figure out how to make it right with the decorators and use them. Thanks in advance!

  
  
Posted one year ago
Votes Newest

Answers 4


@<1523701087100473344:profile|SuccessfulKoala55> hey! it’s 1.11.1

  
  
Posted one year ago

That helped! Thanks so much @<1523701087100473344:profile|SuccessfulKoala55>

  
  
Posted one year ago

Hi @<1599936641747652608:profile|UnevenBlackbird18> , what version of the ClearML SDK are you using?

  
  
Posted one year ago

Can you please try the latest version ( 1.12.2rc0 )?

  
  
Posted one year ago
976 Views
4 Answers
one year ago
one year ago
Tags
Similar posts