-
-
Save arnabchakraborty97/abcaf761ad785cae8955d8fe99af1c5c 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
#Adding background and silence | |
background = np.random.random((50, desired_samples)) | |
silence = np.zeros((50,desired_samples)) | |
inputs = np.append(inputs, background, axis=0) | |
inputs = np.append(inputs, silence, axis=0) | |
labels = np.append(labels, np.zeros(len(background) + len(silence)), axis=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment