Skip to content

Instantly share code, notes, and snippets.

@jgoodie
Last active May 29, 2024 03:46
Show Gist options
  • Save jgoodie/3889bfeab12871e7e217817d097c85df to your computer and use it in GitHub Desktop.
Save jgoodie/3889bfeab12871e7e217817d097c85df to your computer and use it in GitHub Desktop.
plt.plot(train_losses, label='train')
plt.plot(val_losses, label='validation')
plt.title("Train/Validation Loss")
plt.legend()
plt.tight_layout()
plt.show()
plt.plot(train_accs, label='train')
plt.plot(val_accs, label='validation')
plt.title("Train/Validation Accuracy")
plt.legend()
plt.tight_layout()
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment