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
I Get An

I get an AssertionError when passing my local requirements.txt file to packages argument of @PipelineDecorator.component()

... assert not packages or isinstance(packages, (tuple, list, bool)) AssertionError
ClearML 1.1.4rc0, ClearML agent 1.1.1, ClearML-server 1.1.1

  
  
Posted 3 years ago
Votes Newest

Answers 13


GrittyKangaroo27 , does this happen when you run a regular experiment in agent with same file?

  
  
Posted 3 years ago

Additional information

When I leave packages argument as default None value and use debug_pipeline to run the pipeline, everything works as expected,

  
  
Posted 3 years ago

CostlyOstrich36 Sorry, I don’t understand what did you mean when mentioning with same file

  
  
Posted 3 years ago

I just want to make sure that the file itself is valid first 🙂

  
  
Posted 3 years ago

Hi CostlyOstrich36 , do you have any update on this issue?

  
  
Posted 3 years ago

... @PipelineDecorator.component(parents=['step_1'], packages='../requirements.txt', cache=False, task_type=TaskTypes.data_processing, repo='.') def step_2(): import os ...CostlyOstrich36

  
  
Posted 3 years ago

Can you please give an example of how you pass the requirements file?

  
  
Posted 3 years ago

Great! Let me check if this is by design or an issue 🙂

  
  
Posted 3 years ago

Same file I mean the requirements.txt file

  
  
Posted 3 years ago

Thanks!

  
  
Posted 3 years ago

CostlyOstrich36 I haven’t tried.

The error above occurs when I trying to build a pipeline with decorator.

  
  
Posted 3 years ago

It works with full path

  
  
Posted 3 years ago

Can you try with full path and not relative?

  
  
Posted 3 years ago
954 Views
13 Answers
3 years ago
one year ago
Tags