Music Transcription
Project description
pip install yourmt3
Model Types
-
YMT3+
-
YPTF+Single (noPS)
-
YPTF+Multi (PS)
-
YPTF.MoE+Multi (noPS)
-
YPTF.MoE+Multi (PS)
import gradio as gr
import yourmt3
from huggingface_hub import hf_hub_download
import torch
name = "YMT3+"
device = "cuda" if torch.cuda.is_available() else "cpu"
model = yourmt3.YMT3(hf_hub_download("shethjenil/Audio2Midi_Models",f"{name}.pt"),name,"32" if device == "cpu" else "16",torch.device(device))
gr.Interface(lambda path,batch_size,progress=gr.Progress():model.predict(path,lambda i,total:progress((i,total)),batch_size),[gr.Audio(type="filepath",label="Audio"),gr.Number(8,label="Batch Size")],gr.File(label="midi")).launch()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yourmt3-0.1.1.tar.gz
(177.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
yourmt3-0.1.1-py2.py3-none-any.whl
(223.0 kB
view details)
File details
Details for the file yourmt3-0.1.1.tar.gz.
File metadata
- Download URL: yourmt3-0.1.1.tar.gz
- Upload date:
- Size: 177.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d54313fc33609d15dbfd19533b1456d57df4448746a9ffdf1763fd507553e87
|
|
| MD5 |
0ec1fd1768f1dc424f10656bb378a598
|
|
| BLAKE2b-256 |
d1391f54a6ca0c87507074e0b45ea2a80b96f798f68f8bb0cb64b40f01f0904a
|
File details
Details for the file yourmt3-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: yourmt3-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 223.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55bbfc465c4a1e2b5e4195bf8dcbce73c6079b022726532e7f65329e6a1aebb5
|
|
| MD5 |
847acdf846ad0cf595da917eb43d71b9
|
|
| BLAKE2b-256 |
e11b95f151fa98ef24591db85a5a2506c8a2ff2676e39b5c5f4c97348400398a
|