Skip to content
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

About Keras bugs[solved] #7

Open
poult-lab opened this issue Feb 8, 2022 · 0 comments
Open

About Keras bugs[solved] #7

poult-lab opened this issue Feb 8, 2022 · 0 comments

Comments

@poult-lab
Copy link

poult-lab commented Feb 8, 2022

At first, thanks for wonderful work from author, I appreciate.
I got a lot of bugs when I import keras follow authors. These bugs take me 2 hours.
We aren't supposed to install Keras separately when you use tf2. Use the Keras bundled with the Tensorflow you have installed.
Finally, I solved it.
We can change soundnet.py to this:

import numpy as np
import librosa
from tensorflow.keras.layers import BatchNormalization, Activation, Conv1D, MaxPooling1D, ZeroPadding1D, InputLayer
from tensorflow.keras.models import Sequential

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant