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! I Would Like To Report 2 "Plt.Imshow" Images. Plain Plotting (I.E. "Plt.Figure()") Showed Only The Second One. When I Tried To Report Through The Logger Via "Report_Confusion_Matrix" It Reported Only The First One. Is There A Better Way Of Doing Thi

Hi! I would like to report 2 "plt.imshow" images. Plain plotting (i.e. "plt.figure()") showed only the second one. When i tried to report through the Logger via "report_confusion_matrix" it reported only the first one.
Is there a better way of doing this?

  
  
Posted 15 days ago
Votes Newest

Answers 6


Please add something standalone that will reproduce the behaviour @<1714813627506102272:profile|CheekyDolphin49>

  
  
Posted 15 days ago

and if I use matrices which are larger than some value, then the following code doesn't work (i.e no plot appears):

import numpy as np

import matplotlib.pyplot as plt

from clearml import Task, Logger

task = Task.init(project_name="my_task",task_name="try")

interaction = np.random.rand(1200,1200)
Logger.current_logger().report_confusion_matrix(
title="interaction (near field)",
series="ignored",
matrix=np.abs(interaction),
xaxis="X",
yaxis="Y",
)

task.execute_remotely(queue_name='algo')
task.get_logger()

  
  
Posted 14 days ago

import numpy as np

import matplotlib.pyplot as plt

from clearml import Task, Logger

task = Task.init(project_name="my_task",task_name="try")

interaction = np.random.rand(100,100)
plt.figure()
plt.imshow(np.abs(interaction))
plt.title('interaction (near field)')
plt.colorbar()
plt.show(block=True)

interaction = np.random.rand(100,100)
plt.figure()
plt.imshow(np.abs(interaction))
plt.title('interaction (far field)')
plt.colorbar()
plt.show(block=True)

task.execute_remotely(queue_name='algo')
task.get_logger()

  
  
Posted 14 days ago

Hi @<1714813627506102272:profile|CheekyDolphin49> ! It looks as if we can't report these plots as plotly plots so we default to Debug Samples. You should see both plots under Debug Samples , but make sure you are setting the Metric to -- All --
image

  
  
Posted 13 days ago

Hi @<1714813627506102272:profile|CheekyDolphin49> , can you provide a couple of snippets that reproduce this behaviour?

  
  
Posted 15 days ago

Also, try specifying an iteration when you report

  
  
Posted 15 days ago
72 Views
6 Answers
15 days ago
12 days ago
Tags