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 --
Hi @<1714813627506102272:profile|CheekyDolphin49> , can you provide a couple of snippets that reproduce this behaviour?
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()
Please add something standalone that will reproduce the behaviour @<1714813627506102272:profile|CheekyDolphin49>
Also, try specifying an iteration when you report
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()