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 = "YPTF.MoE+Multi (noPS)"
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.2.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.2-py2.py3-none-any.whl
(223.0 kB
view details)
File details
Details for the file yourmt3-0.1.2.tar.gz.
File metadata
- Download URL: yourmt3-0.1.2.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 |
3c2e5b81d9169d55bfd5c1f01c767749878ef7f21e9c4fa73a6cca9550c6d43b
|
|
| MD5 |
93345636547e3ccd6cb5e40de50a15c1
|
|
| BLAKE2b-256 |
dbe810a7f88e18e69c744bd333e3661db3f4cfcec77d9d78a35c93da3839358f
|
File details
Details for the file yourmt3-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: yourmt3-0.1.2-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 |
183d18b49f4e7b2311b6b62fcb37776b61d8f0216eb0c4886379e19f0d4d766f
|
|
| MD5 |
2bab22583a30b3e542cce15accf764ed
|
|
| BLAKE2b-256 |
9bc04f37e2f3e7067ac4f0312865e97e68a95203d90bc03c8ae495df5bd1fa41
|