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'Ve Been Trying To Use The

I've been trying to use the Task.get_debug_samples() method to download all debug sample images for a given task id. Is there a way to get a list of variants given a metric, or even just a full list of metrics and variants for a given task id? I've tried using the Task.get_task() method to retrieve the task object, but the returned task object doesn't seem to have this metric-variant info for the Debug Sample images.

  
  
Posted 10 months ago
Votes Newest

Answers 2


Thanks, switching get_task_metrics() to get_task_events() seemed to do the trick.

  
  
Posted 10 months ago

Hi @<1610808279263350784:profile|FriendlyShrimp96>

Is there a way to get a list of variants given a metric, or even just a full list of metrics and variants for a given task id?

Try this
None

from clearml.backend_api.session.client import APIClient

c = APIClient()
metrics = c.events.get_task_metrics(tasks=["TASK_ID_HERE"], event_type="training_debug_image")
print(metrics)

I think API level is only way to get a list of all metrics.

  
  
Posted 10 months ago
532 Views
2 Answers
10 months ago
10 months ago
Tags