Converting python onset and frames MAESTRO checkpoint to tfjs leads to incompatible model
See original GitHub issueThanks for sharing all these resources with the community!
I tried converting the OAF MAESTRO checkpoint using checkpoint_converter.py:
python checkpoint_converter.py train/model.ckpt maestrocp
Once I use my manually converted checkpoint in piano-scribe, I get the error
Uncaught (in promise) Error: Variable not found: onsets/cudnn_lstm/rnn/multi_rnn_cell/cell_0/cudnn_compatible_lstm_cell/kernel
at getVar (music@1.2:81458)
at setLstmWeights (music@1.2:81469)
at Lstm.setWeights (music@1.2:81471)
at music@1.2:81326
at music@1.2:8586
at Engine.scopedRun (music@1.2:8596)
at Engine.tidy (music@1.2:8585)
at Object.Environment.tidy (music@1.2:8928)
at OnsetsAndFrames.build (music@1.2:81322)
at OnsetsAndFrames.<anonymous> (music@1.2:81199)
The python checkpoint uses bidirectional LSTM layers, whereas the provided tfjs checkpoints (onsets_frames_uni, onsets_frames_uni_q2) use unidirectional models.
Is there an easy fix for this? Would it be possible to share the python checkpoints that were used to generate onsets_frames_uni and onsets_frames_uni_q2?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Converting python onset and frames MAESTRO checkpoint to ...
I tried converting the OAF MAESTRO checkpoint using ... Converting python onset and frames MAESTRO checkpoint to tfjs leads to incompatible ...
Read more >Fine-tuning Onsets and Frames model - Google Groups
I'm an undergraduate working on fine-tuning the Onsets and Frames model ... the MAESTRO dataset, at least one order of magnitude smaller) and...
Read more >Untitled - PDFCOFFEE.COM
Notice that the Python version is 3.6, as we mentioned at the beginning of this ... A bundle file is a file containing...
Read more >Full text of "The Times , 1983, UK, English" - Internet Archive
Leading article,-page 15 Airline to fight hive-off By Michael Bally Transport Editor ... Facto Maestro, the Mini, Metro, Ambassador and Acclaim models.
Read more >jimsghstars - jimbrig.github.io - DevFolio
fanfeilong/exceltk - Convert Excel sheet to markdown, json, tex, html, image and so on.. aws/aws-lambda-dotnet - Libraries, samples and tools to help .NET ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Here you go:
https://storage.googleapis.com/magentadata/js/checkpoints/transcription/onsets_frames_uni/model.ckpt-583632.data-00000-of-00001 https://storage.googleapis.com/magentadata/js/checkpoints/transcription/onsets_frames_uni/model.ckpt-583632.index
Thank you, sir! I hadn’t cloned the magenta-js directory