Skip to content
Permalink
Browse files

init commit

  • Loading branch information...
deepblacksky committed Nov 14, 2017
1 parent bd57c63 commit aa2ce14986b165fd31e2bc7cf3720f3d9f63716d
Showing with 12 additions and 0 deletions.
  1. BIN results/accuracy.png
  2. +12 −0 results/plot.py
BIN +26.6 KB results/accuracy.png
Binary file not shown.
@@ -0,0 +1,12 @@
import matplotlib.pyplot as plt
import numpy as np

step, acc = np.loadtxt('accuracy.csv', delimiter=',', unpack=True, skiprows=1)
plt.figure()
plt.plot(step, acc, label="epoch:30", color="blue", linewidth=2)
plt.xlabel("step")
plt.ylabel("accuracy")
plt.title("Capsnet Result")
plt.legend()
plt.savefig('accuracy.png')
plt.show()

0 comments on commit aa2ce14

Please sign in to comment.
You can’t perform that action at this time.