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 Everyone! Before I Ask A Question - You Develop A Very Cool Tool. Thanks! I Tried To Write Simple Pipeline Using The Pipelinedecorator. But Found That The Clearml Modifies The Code, For Example It Replaces


hi, @<1523701070390366208:profile|CostlyOstrich36>

sure:

from clearml.automation.controller import PipelineDecorator


@PipelineDecorator.component(return_values=['img'])
def get_image(image_path):
    import cv2
    img = cv2.imread(image_path)
    img = img[..., ::-1]
    return img


@PipelineDecorator.pipeline(
    project='test',
    name='test pipeline',
    version='0.0.1',
    return_value='result',
)
def executing_pipeline(params):
    print(params)
    result = get_image(params['image_path'])
    return result


if __name__ == '__main__':
    params = {'image_path': ''}
    PipelineDecorator.run_locally()
    executing_pipeline(params)
  
  
Posted 2 years ago
74 Views
0 Answers
2 years ago
7 months ago