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
Hi! From A Task Created Using

Hi!
From a task created using PipelineDecorator.pipeline , is there any way to get a task ID from the name of the step listed in the table below?
My plan is to have access from one of the pipeline components to another component (so I can link configuration or upload artifacts to that component) through a code similar to the following:
# Inside a pipeline component this_component_task = Task.current_task() pipeline_task = Task.get_task(task_id=this_component_task.parent) another_component_task_id = pipeline_task.get_step_id(step_name="Dataset preparation") # I wonder if there exists a method like this Task.get_task(task_id=another_component_task_id).upload_artifact("new_data", {"dataset_uri": "/mypath/data.csv"})

  
  
Posted 3 years ago
Votes Newest

Answers 5


Anyway, is there any way to retrieve the information stored in the RESULTS tab of ClearML Web UI?

  
  
Posted 3 years ago

Well, I am thinking in the case that there are several pipelines in the system and that when filtering a task by its name and project I can get several tasks. How could I build a filter for Task.get_task(task_filter=...) that returns only the task whose parent task is the pipeline task?

  
  
Posted 3 years ago

GiganticTurtle0 Hi 🙂

How about Task.get_task() ?
https://clear.ml/docs/latest/docs/references/sdk/task#taskget_task

You'd need to provide it the project name and task name

  
  
Posted 3 years ago

That' s right, I don't know why I was trying to make it so complicated 😅

  
  
Posted 3 years ago

GiganticTurtle0 , I think this would be up your alley, there is a 'parent' parameter even 🙂

https://clear.ml/docs/latest/docs/references/sdk/task#taskget_tasks

  
  
Posted 3 years ago
1K Views
5 Answers
3 years ago
one year ago
Tags
Similar posts