# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

import pickle
from matplotlib import pyplot

pkl_path = "dipg_vs_normals_training_history.pkl"

history = pickle.load(open(pkl_path, "rb"))

history

pyplot.plot(history['train_loss'])
pyplot.plot(history['val_loss'])
pyplot.title('model train vs validation loss')
pyplot.ylabel('loss')
pyplot.xlabel('epoch')
pyplot.legend(['train', 'validation'], loc='upper right')
pyplot.show()

pyplot.plot(history['train_acc'])
pyplot.plot(history['val_acc'])
pyplot.title('model train vs validation loss')
pyplot.ylabel('loss')
pyplot.xlabel('epoch')
pyplot.legend(['train', 'validation'], loc='upper right')
pyplot.show()



StarcoderdataJupyterScriptsDedupFiltered