diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..0bb75f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.onnx filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 10d6e15..a25ed67 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # lumiere-models -Model files (ONNX) downloaded by Lumiere Utils' Music tab, redistributed under their original licences \ No newline at end of file +Model files downloaded by the Music tab of Lumiere Utils on first use. Each folder holds an +ONNX export made for the app, its licence and attribution (`NOTICE.txt`), and checksums +(`SHA256SUMS.txt`). The files are stored with Git LFS; each model has its own tag. + +| Folder | Tag | Model | Licence | +|---|---|---|---| +| `beat-this/` | `beat-this-v1` | Beat This! small (CPJKU) — beat and downbeat tracking | MIT | +| `piano/` | `piano-v1` | High-resolution piano transcription, note model (Kong et al. 2020) | CC BY 4.0 (weights) | +| `htdemucs/` | `htdemucs-v1` | Hybrid Transformer Demucs v4 (Meta) — 4-stem separation, network only | MIT | + +The exports change the format only (PyTorch → ONNX, opset 17), not the trained weights. +See each `NOTICE.txt` for the original sources and terms. diff --git a/beat-this/NOTICE.txt b/beat-this/NOTICE.txt new file mode 100644 index 0000000..76f8789 --- /dev/null +++ b/beat-this/NOTICE.txt @@ -0,0 +1,25 @@ +beat_this_small0.onnx — ONNX export (by Lumiere Utils) of the "small0" checkpoint of +Beat This! (Foscarin, Schlüter, Widmer, ISMIR 2024), https://github.com/CPJKU/beat_this +Code and published weights: MIT License. + +MIT License + +Copyright (c) 2024 Institute of Computational Perception, JKU Linz, Austria + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/beat-this/SHA256SUMS.txt b/beat-this/SHA256SUMS.txt new file mode 100644 index 0000000..5979ce4 --- /dev/null +++ b/beat-this/SHA256SUMS.txt @@ -0,0 +1 @@ +10dc397b39237bbcc412c92cae52872ea2327b380ac0701dce8f0a0031033256 beat_this_small0.onnx diff --git a/beat-this/beat_this_small0.onnx b/beat-this/beat_this_small0.onnx new file mode 100644 index 0000000..ea9fcee --- /dev/null +++ b/beat-this/beat_this_small0.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10dc397b39237bbcc412c92cae52872ea2327b380ac0701dce8f0a0031033256 +size 9394341 diff --git a/htdemucs/NOTICE.txt b/htdemucs/NOTICE.txt new file mode 100644 index 0000000..3195ba4 --- /dev/null +++ b/htdemucs/NOTICE.txt @@ -0,0 +1,27 @@ +htdemucs.onnx — ONNX export (by Lumiere Utils) of the pretrained Hybrid Transformer +Demucs v4 "htdemucs" model (signature 955717e8), https://github.com/facebookresearch/demucs +The network only: the STFT/iSTFT and segmenting run outside the graph. + +Demucs is released under the MIT license: + +MIT License + +Copyright (c) Meta Platforms, Inc. and affiliates. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/htdemucs/SHA256SUMS.txt b/htdemucs/SHA256SUMS.txt new file mode 100644 index 0000000..6afb0ed --- /dev/null +++ b/htdemucs/SHA256SUMS.txt @@ -0,0 +1 @@ +50be546404aac706aaa79c3730878dcac65b921c9c66c4060d19bec8b9c57c78 htdemucs.onnx diff --git a/htdemucs/htdemucs.onnx b/htdemucs/htdemucs.onnx new file mode 100644 index 0000000..5ac3891 --- /dev/null +++ b/htdemucs/htdemucs.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50be546404aac706aaa79c3730878dcac65b921c9c66c4060d19bec8b9c57c78 +size 174264754 diff --git a/piano/NOTICE.txt b/piano/NOTICE.txt new file mode 100644 index 0000000..4428079 --- /dev/null +++ b/piano/NOTICE.txt @@ -0,0 +1,13 @@ +piano_note.onnx — ONNX export (by Lumiere Utils) of the note model in the checkpoint +CRNN_note_F1=0.9677_pedal_F1=0.9186.pth (Zenodo record 4034264, +https://doi.org/10.5281/zenodo.4034264), the STFT/mel front end removed. + +Weights licensed under Creative Commons Attribution 4.0 International (CC BY 4.0), +https://creativecommons.org/licenses/by/4.0/ — attribution: +Qiuqiang Kong, Bochen Li, Xuchen Song, Yuan Wan, Yuxuan Wang, "High-resolution Piano +Transcription with Pedals by Regressing Onsets and Offsets Times", 2020. +Changes: converted from PyTorch to ONNX (opset 17); the log-mel front end is computed +outside the graph. No retraining. + +Inference code it was ported from (piano_transcription_inference): MIT License, +Copyright (c) Qiuqiang Kong. diff --git a/piano/SHA256SUMS.txt b/piano/SHA256SUMS.txt new file mode 100644 index 0000000..aa88a23 --- /dev/null +++ b/piano/SHA256SUMS.txt @@ -0,0 +1 @@ +fba80b93950d404d8cee325f26110a414c332f3ed743a934908ad0e9f114ce10 piano_note.onnx diff --git a/piano/piano_note.onnx b/piano/piano_note.onnx new file mode 100644 index 0000000..b76ad04 --- /dev/null +++ b/piano/piano_note.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fba80b93950d404d8cee325f26110a414c332f3ed743a934908ad0e9f114ce10 +size 80943870