Skip to content

Instantly share code, notes, and snippets.

@aravindpai aravindpai/predict_val.py
Last active Jul 10, 2019

Embed
What would you like to do?
import random
index=random.randint(0,len(x_val)-1)
samples=x_val[index].ravel()
print("Audio:",classes[np.argmax(y_val[index])])
ipd.Audio(samples, rate=8000)
print("Text:",predict(samples))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.