Bernstein_Poster_2024/avg_pooling_nnmf_x4/plot.py

16 lines
254 B
Python
Raw Permalink Normal View History

2024-11-05 18:20:02 +01:00
import numpy as np
import matplotlib.pyplot as plt
data = np.load("data_log.npy")
plt.loglog(
data[:, 0],
100.0 * (1.0 - data[:, 1] / 10000.0),
"k",
)
plt.legend()
plt.xlabel("Epoch")
plt.ylabel("Error [%]")
plt.title("CIFAR10")
plt.show()