Unanswered
Hi, I'M Trying To Use The Clearml-Logger To Present Images In The Results-Plots Tab :
Logger = Self.Task.Get_Logger()
Logger.Report_Matplotlib_Figure(Title=File_Name, Figure=Fig, Series='', Iteration=Iteration)
However, The Image Does Not Exist In The Res
GiganticBat57 if you are running this code, do you get the output?
` import numpy as np
import matplotlib.pyplot as plt
from clearml import Task
task = Task.init(project_name='tests', task_name='test matplotlib')
logger = task.get_logger()
N = 50
x = np.random.rand(N)
y = np.random.rand(N)
colors = np.random.rand(N)
area = (30 * np.random.rand(N))**2 # 0 to 15 point radii
plt.scatter(x, y, s=area, c=colors, alpha=0.5)
Plot will be reported automatically
logger.report_matplotlib_figure(title="Matplotlib Title", figure=plt, series='Matplotlib Series', iteration=0)
task.flush(wait_for_uploads=True) `
177 Views
0
Answers
3 years ago
one year ago