Created
April 1, 2021 21:19
-
-
Save bkaankuguoglu/33fa98dd317a6b7fac2939d95976c366 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def plot_losses(self): | |
plt.plot(self.train_losses, label="Training loss") | |
plt.plot(self.val_losses, label="Validation loss") | |
plt.legend() | |
plt.title("Losses") | |
plt.show() | |
plt.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment