Matplotlib - Jupyter Notebook

The Allegro_Trains_matplotlib_example.ipynb example demonstrates integrating Trains into code running in Jupyter Notebook which uses matplotlib to plot scatter diagrams, and show images. Trains automatically logs the diagrams and images. When the script runs, it creates an experiment named Matplotlib example which is associated with the Colab notebooks project.

Open in Google Colab

In the trains GitHub repository, this example includes a clickable icon to open the notebook in Google Colab.

Plots

The scatter diagrams in the Trains Web (UI), the scatter plots appear in RESULTS > PLOTS.

image

image

image

Debug samples

The images appear in RESULTS > DEBUG SAMPLES. Each debug sample image is associated with a metric.

image

View the debug sample in the image viewer.

image