Created
March 2, 2020 16:48
-
-
Save 0xfe/a119bf4bfbe05eb4dc8e383f9355b37b to your computer and use it in GitHub Desktop.
Peek into Spectrogram ANN weights (1D)
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
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