You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plot displays when running locally, but not remotely. I'd like to be able to display plots during training so I can see metrics directly in my notebook (updated once per epoch).
Is there any way to get rich content to display from within a remote function? Or do I need to pass data back some other way? Or, do I need to bite the bullet and emit metrics to a remote service?
The text was updated successfully, but these errors were encountered:
Hi, the logging that goes back to the local client only includes the stdout/stderr pipes; we don't capture matplotlib figures. You'll need to return from the Function to show the figure. Here's an example that works:
mwaskom
changed the title
Showing output in Jupyter notebooks
Capturing matplotlib figures in Jupyter notebooks
Feb 25, 2025
I'm using Modal in a Jupyter notebook, as shown in the guide. It works, but I'm having trouble with the cell output.
The plot displays when running locally, but not remotely. I'd like to be able to display plots during training so I can see metrics directly in my notebook (updated once per epoch).
Is there any way to get rich content to display from within a remote function? Or do I need to pass data back some other way? Or, do I need to bite the bullet and emit metrics to a remote service?
The text was updated successfully, but these errors were encountered: