Unanswered
Hi Community,
Is There A Way To Download All The Logged Scalars/Plots Using Code Itself?
hey TenderCoyote78
Here is an example of how to dump the plots to jpeg files
` from clearml.backend_api.session.client import APIClient
from clearml import Task
import plotly.io as plio
task = Task.get_task(task_id='xxxxxx')
client = APIClient()
t = client.events.get_task_plots(task=task.id)
for i, plot in enumerate(t.plots):
fig = plio.from_json(plot['plot_str'])
plio.write_image(fig=fig, file=f'./my_plot_{i}.jpeg') `
168 Views
0
Answers
2 years ago
one year ago