-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example for STFTSpectrogram
layer
#1947
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! The code generally looks good!
@fchollet I resolved all the comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! My only comment is very minor, so we can merge now.
from keras import layers | ||
from scipy.signal import resample | ||
|
||
np.random.seed(41) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The numpy seeding is already included as part of set_random_seed
After discussion on the contribution of the
STFTSpectrogram
layer (PR: 20313), I added a code example of using this layer in various modes.