Skip to content

Commit

Permalink
Plot losses
Browse files Browse the repository at this point in the history
  • Loading branch information
Rasmus Diederichsen committed Mar 6, 2018
1 parent 7dbd535 commit 7fa1ab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def main():
data_manager.shuffleBatches()

f, ax = plt.subplots(1)
ax.plot(losses)
ax.set_title('Losses with 7/3 train-test split)')
ax.plot(np.arange(args.epochs), losses)
ax.set_title('Losses with 7/3 train-test split')
ax.set_xlabel('epoch')
ax.set_ylabel('Test loss')
f.savefig('losses.pdf')
Expand Down

0 comments on commit 7fa1ab4

Please sign in to comment.