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

MIDI generated is just one note repeated #51

Open
Stefan-Hopman opened this issue May 3, 2022 · 4 comments
Open

MIDI generated is just one note repeated #51

Stefan-Hopman opened this issue May 3, 2022 · 4 comments

Comments

@Stefan-Hopman
Copy link

Hello,

First of all, thank you for putting this repo together! I am running into an issue where my generated MIDI is just one note repeated. I made two change to the model. I changed LSTM to CuDNNLSTM and added dropout layers in between because CuDNNLSTM has no inbuilt dropout layers. Does anyone know why this is happening? My model is

  model = Sequential()
  model.add(CuDNNLSTM(
       512,
       input_shape=(network_input.shape[1], network_input.shape[2]),
       return_sequences=True
   ))
   model.add(Dropout(0.2))
   model.add(CuDNNLSTM(512, return_sequences=True,))
   model.add(Dropout(0.2))
   model.add(CuDNNLSTM(512))
   model.add(Dropout(0.2))
   model.add(BatchNorm())
   model.add(Dropout(0.3))
   model.add(Dense(256))
   model.add(Activation('relu'))
   model.add(BatchNorm())
   model.add(Dropout(0.3))
   model.add(Dense(n_vocab))
   model.add(Activation('softmax'))
   model.compile(loss='categorical_crossentropy', optimizer='rmsprop')
   return model 

Screen Shot 2022-05-03 at 11 52 45 AM

@DiscoLucas
Copy link

Hey, I'm experiencing the same issue, did you ever find a solution?

@xngln24
Copy link

xngln24 commented Dec 4, 2022

Any solution found yet? I have the same problem.

@skrinsky
Copy link

skrinsky commented Jan 9, 2024

hhheeeeeellllllppppp usssssss

@skrinsky
Copy link

skrinsky commented Jan 9, 2024

please <3 :):) AHHHHHHHH

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

4 participants