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.0.tar.gz (176.6 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.0-py2.py3-none-any.whl (221.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file yourmt3-0.1.0.tar.gz.

File metadata

  • Download URL: yourmt3-0.1.0.tar.gz
  • Upload date:
  • Size: 176.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.17

File hashes

Hashes for yourmt3-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9cfa1423dc3bc3ca35a10cec05efa7756f66d845e89c2e46fdb90253df987e53
MD5 fda30a69a9c6192f37f64a4142a00a12
BLAKE2b-256 e19cd87d1d4df68e36b74736510924c03faf7fc251a4b2f36c4265920f41298a

See more details on using hashes here.

File details

Details for the file yourmt3-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: yourmt3-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 221.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.17

File hashes

Hashes for yourmt3-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9229385176f693e2a2c4a0d6bb571ab6a2f6550ecb135146cdd454f6b8b0f014
MD5 82be2c111a574a9c0622e946e960853c
BLAKE2b-256 b586f09eedc7182d97ac3f0013b9c39bc218e4e249fd3f3523fcf95a4d080820

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