PyTorch with Matplotlib

The pytorch_matplotlib.py example demonstrates the integration of Trains into code which uses PyTorch and Matplotlib. The example script calls Matplotlib methods to show images, each with a different title. Trains automatically logs the images as debug samples. 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 in RESULTS > DEBUG SAMPLES, by metric.

image

Select a debug sample by metric.

image

Open the debug sample in the image viewer.

image