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
Just Curious About The Pipeline Decorator Example, I Tried To Run It In My Cluster (Latest Chart As Ususal

Just curious about the pipeline decorator example, I tried to run it in my cluster (latest chart as ususal 😄 ) and I got
Traceback (most recent call last): File "pipeline.py", line 98, in <module> executing_pipeline( File "/root/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/automation/controller.py", line 2179, in internal_decorator a_pipeline = PipelineDecorator( File "/root/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/automation/controller.py", line 1759, in __init__ self.add_function_step(**n) File "/root/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/automation/controller.py", line 464, in add_function_step task_definition = json.loads(self._task._get_configuration_text(name=name)) File "/usr/lib/python3.8/json/__init__.py", line 357, in loads return _default_decoder.decode(s) File "/usr/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)I created it wit clearml-task and then I launched it. Launching directly in my laptops using the cluster itself as a backend worked. pretty strange.

  
  
Posted 2 years ago
Votes Newest

Answers 12


did you try to create a pipeline with decorators creating it with 

clearml-task

 before?

I didn't, maybe AgitatedDove14 did?

  
  
Posted 2 years ago

trying a new one from scratch

  
  
Posted 2 years ago

btw I think it's related clearml-task usage; did you try to create a pipeline with decorators creating it with clearml-task before?

  
  
Posted 2 years ago

Are you using an older task created previously?

  
  
Posted 2 years ago

It's always modified when merging... 🙂

  
  
Posted 2 years ago

😄

  
  
Posted 2 years ago

from clearml import TaskTypes

That will only work if you are using the latest from the GitHub, I guess the example code was modified before a stable release ...

  
  
Posted 2 years ago

pretty strange, I also noticed in example from line 2
from clearml import TaskTypes

  
  
Posted 2 years ago

but TaskTypes is under Task

  
  
Posted 2 years ago

same issue

  
  
Posted 2 years ago

but TaskTypes is under Task

TaskTypes was added to the clearml namespace in one of the last commits. Should be released in the next RC.

  
  
Posted 2 years ago

yes

  
  
Posted 2 years ago
544 Views
12 Answers
2 years ago
one year ago
Tags
Similar posts