Skip to content

About Keras bugs[solved] #7

@poult-lab

Description

@poult-lab

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions