Yeah SmallTurkey79 is right, reverting to image is the safest way to get exactly the same...
btw, BrightDog7 if you can produce a standalone example of reporting the data, we can probably fix whatever is broken in the auto convert, or at least revert to image based automatically (basically if the plot is simple enough it will try to convert it, otherwise it will automatically revert to image internally)
thank you both, I’ll try to provide you with a standalone example in the coming days!
Hi AgitatedDove14 , many thanks for the answer! The data is not the same between the two plots, hence the change of the proportion. The issue is with the legend. When logged in clearML it does not appear properly, all points are labelled as “NNLs”
Hi BrightDog7
Seems like mostly proportion change, the data is the same but the layout on the web is wider hence the change (btw you can download the data from the web UI as json to double check)
Notice that it tries to convert it to "interactive" data points for easier zooming etc, and that's probably the cause of the proportion change.
You can force an image (like what you get directly from matplotlib):
logger.report_matplotlib_figure(
title='NLLs', series='NLLs', figure=fig, iteration=0
report_interactive=False,
)
id try the static image approach if you dont care about interactivity,
or for more control, switch to plotly and report_plotly for better consistency .
i've not had the best luck with the automated conversion on complex plots before . and when its sufficiently large it doesn't even show up in preview .
static images are in my opinion the most reliable, if not limited by your choice of resolution when you create the figure