Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yourmt3-0.1.1-py2.py3-none-any.whl (223.0 kB view details)

Uploaded Python 2Python 3

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

Hashes for yourmt3-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4d54313fc33609d15dbfd19533b1456d57df4448746a9ffdf1763fd507553e87
MD5 0ec1fd1768f1dc424f10656bb378a598
BLAKE2b-256 d1391f54a6ca0c87507074e0b45ea2a80b96f798f68f8bb0cb64b40f01f0904a

See more details on using hashes here.

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

Hashes for yourmt3-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55bbfc465c4a1e2b5e4195bf8dcbce73c6079b022726532e7f65329e6a1aebb5
MD5 847acdf846ad0cf595da917eb43d71b9
BLAKE2b-256 e11b95f151fa98ef24591db85a5a2506c8a2ff2676e39b5c5f4c97348400398a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page