Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Peek into Spectrogram ANN weights (1D)
def plot_weights(index, weights=weights_sxx):
plt.figure(figsize=(15, 2))
plt.subplot(1, 3, 1)
plt.plot(weights[index][0])
plt.subplot(1, 3, 2)
plt.plot(weights[index][5])
plt.subplot(1, 3, 3)
plt.plot(weights[index][10])
plt.show()
for index in [0, 10, 20, 30]:
plot_weights(index)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment