Created
August 13, 2019 20:30
-
-
Save techwithshadab/ed5b1dcfe63e25ed2d5acd98121245d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| loss = history.losses | |
| val_loss = history.val_losses | |
| plt.xlabel('Epochs') | |
| plt.ylabel('Loss') | |
| plt.title('VGG-16 Loss Trend') | |
| plt.plot(loss, 'blue', label='Training Loss') | |
| plt.plot(val_loss, 'green', label='Validation Loss') | |
| plt.xticks(range(0,nb_epoch)[0::2]) | |
| plt.legend() | |
| plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment