question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add compatibility for attention applied only at single layer of MusicRNN.

See original GitHub issue

Hi,

I’ve trained a DrumsRNN model with my own drum sequence dataset and been trying to use it with magenta-js. When I load the model, I get errors apparently caused by the differences in the layer structure described in weights_manifest.json. I suspect that it is a compatibility issue.

Which tensorflow version is compatible with magenta-js?

FYI, I used tensorflow 1.4.1 to train the DrumsRNN model.

Thanks

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
adarobcommented, Jul 19, 2018

Hi Nao,

Unfortunately I won’t be able to look into this until early next week. If you want something that works before then, it should be possible to retrain your model with “–hparams=attn_length=0”. The resulting checkpoint should then work, although it may not be perform quite as well without attention.

-Adam

On Thu, Jul 19, 2018 at 7:39 AM Nao Tokui notifications@github.com wrote:

Thank you! here are my checkpoints: https://www.dropbox.com/sh/84ohnr9ee8yvzvm/AADn70s7HGzcLhQkLAfEaRbna?dl=0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tensorflow/magenta-js/issues/106#issuecomment-406299982, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCa6M6GuqQrMsqqxQrD5VLriaUTclCTks5uIJo8gaJpZM4VMtv- .

0reactions
adarobcommented, Apr 26, 2022

Sorry. but I am not sure if/when we will have time to fix this on our end. However, we would absolutely accept PR hhat does!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding a Custom Attention Layer to a Recurrent Neural ...
Learn how to subclass Kera's 'Layer' and add methods to it to build your own customized attention layer in a deep learning network....
Read more >
The magenta-js from magenta - GithubHelp
Add compatibility for attention applied only at single layer of MusicRNN. Hi,. I've trained a DrumsRNN model with my own drum sequence dataset...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found