Created
March 15, 2021 06:53
-
-
Save AyishaR/1d3b09c57f3fd872b8faecc699eebf4f to your computer and use it in GitHub Desktop.
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
background = spectrogramOp(np.random.random((desired_samples))) | |
silence = spectrogramOp(np.zeros((desired_samples))) | |
background_out, silence_out = model.predict(np.array([background, silence])) | |
print("Predicted ", textLabel(background_out.argmax()), "on random audio with vector", background_out) | |
print("Predicted ", textLabel(silence_out.argmax()), "on null audio with vector", silence_out) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment