Skip to main content

PyTorch with Matplotlib

The example demonstrates the integration of ClearML into code that uses PyTorch and Matplotlib.

The example does the following:

  1. The script calls Matplotlib methods to show images, each with a different title.
  2. ClearML automatically logs the images as debug samples.
  3. When the script runs, it creates an experiment named pytorch with matplotlib example, which is associated with the examples project.

The images shown in the example script's imshow function appear according to metric in RESULTS > DEBUG SAMPLES.


Select a debug sample by metric.


Open the debug sample in the image viewer.