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, How Can I Query On Plots And Log Added For A Specific Task Programmatically? (As In, Besides The Clearml Ui And Asumming I Have Its Task Id)

Hi, how can I query on plots and log added for a specific task programmatically? (as in, besides the ClearML UI and asumming I have its Task ID)

  
  
Posted 3 years ago
Votes Newest

Answers 11


hello Emanuel 👋
I assume you are going to use python, in which case, inside each ClearML Task there is a method called get_reported_scalars that should have all the data I think.

you may want to read the warning at https://allegro.ai/clearml/docs/rst/references/clearml_python_ref/task_module/task_task.html#clearml.task.Task.get_reported_scalars on this.. and cache yourself as appropriate.. actually, the docs for the API are pretty thorough.. so if this isn't the exact itch you need to scratch, I dare say there is a call in there that does what you want 🙂

  
  
Posted 3 years ago

sorry.. I am not understanding what you mean by 'I want the data programmatically'.

  
  
Posted 3 years ago

To my mind, 'data programmatically' means using python and the functions inside the Task item to get this, but I suspect this is not what you mean ?

  
  
Posted 3 years ago

I know you can download the data like a json from the plots tab in the UI, but I want the data programmatically

  
  
Posted 3 years ago

It should be possible somehow, as they are attached to the Task and displayed in the Task's results tab

  
  
Posted 3 years ago

scalars are only some of the results a Task can have

  
  
Posted 3 years ago

But this is not the data I want

  
  
Posted 3 years ago

This is what I mean

  
  
Posted 3 years ago

Thanks. But I am not talking about scalars. I am talking about plots I've reported to ClearML using .report_histogram or .report_scatter2d or .report_table

  
  
Posted 3 years ago

I want to access their data

  
  
Posted 3 years ago

A task can also have plots - for example 2d scatter plots and histograms

  
  
Posted 3 years ago
932 Views
11 Answers
3 years ago
one year ago
Tags