Created
June 12, 2020 10:38
-
-
Save itsuncheng/816dcbb1ac868b7cd1a93aa269f267be 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
train_loss_list, valid_loss_list, global_steps_list = load_metrics(destination_folder + '/metrics.pt') | |
plt.plot(global_steps_list, train_loss_list, label='Train') | |
plt.plot(global_steps_list, valid_loss_list, label='Valid') | |
plt.xlabel('Global Steps') | |
plt.ylabel('Loss') | |
plt.legend() | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment