/ Модель

Характеристики

Лицензия
CC BY-SA 4.0
Опубликована
6 сен 2024

Apollo

Обработка аудиоАудио → аудио

Apollo восстанавливает качество музыки, искажённой сжатием MP3, преобразуя сжатый аудиосигнал в улучшенный аудиосигнал.

0скачиваний за 30 дней41лайквеса обновлены6 сен 2024

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Apollo — модель восстановления музыки, разработанная Каем Ли из Университета Цинхуа и И Ло из Tencent AI Lab. Она предназначена для улучшения звучания музыки, искажённой аудиокодеками, в особенности MP3 при низких битрейтах.

Модель работает в частотной области: разделяет спектрограмму на полосы, моделирует информацию внутри полос и во времени, а затем восстанавливает аудиосигнал. Обучение проводилось с GAN на MUSDB18-HQ и MoisesDB; заявлена эффективность на сложных музыкальных миксах с несколькими инструментами и вокалом. Репозиторий содержит веса в формате PyTorch, задача в метаданных — audio-to-audio. Лицензия — CC BY-SA 4.0.

Apollo рассчитана на реставрацию сжатой музыки, а не на универсальное улучшение любых аудиозаписей. В README приведено сравнение с другими методами, но численные результаты и размер модели не заполнены.

Сценарии применения

  • улучшение звучания музыки после сжатия MP3
  • реставрация музыкальных миксов с низким битрейтом
  • уменьшение артефактов кодека в записях с вокалом и инструментами

Ограничения

Модель ориентирована на артефакты MP3-сжатия; применимость к другим типам аудио и искажений не описана. README не приводит численные метрики качества или размер модели.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Apollo: Band-sequence Modeling for High-Quality Music Restoration in Compressed Audio

📖 Abstract

Apollo is a novel music restoration method designed to address distortions and artefacts caused by audio codecs, especially at low bitrates. Operating in the frequency domain, Apollo uses a frequency band-split module, band-sequence modeling, and frequency band reconstruction to restore the audio quality of MP3-compressed music. It divides the spectrogram into sub-bands, extracts gain-shape representations, and models both sub-band and temporal information for high-quality audio recovery. Trained with a Generative Adversarial Network (GAN), Apollo outperforms existing SR-GAN models on the MUSDB18-HQ and MoisesDB datasets, excelling in complex multi-instrument and vocal scenarios, while maintaining efficiency.

🔥 News

  • [2024.09.10] Apollo is now available on ArXiv and Demo.
  • [2024.09.106] Apollo checkpoints and pre-trained models are available for download.

⚡️ Installation

clone the repository

git clone https://github.com/JusperLee/Apollo.git && cd Apollo
conda create --name look2hear --file look2hear.yml
conda activate look2hear

🖥️ Usage

🗂️ Datasets

Apollo is trained on the MUSDB18-HQ and MoisesDB datasets. To download the datasets, run the following commands:

wget https://zenodo.org/records/3338373/files/musdb18hq.zip?download=1
wget https://ds-website-downloads.55c2710389d9da776875002a7d018e59.r2.cloudflarestorage.com/moisesdb.zip

During data preprocessing, we drew inspiration from music separation techniques and implemented the following steps:

  1. Source Activity Detection (SAD):
    We used a Source Activity Detector (SAD) to remove silent regions from the audio tracks, retaining only the significant portions for training.

  2. Data Augmentation:
    We performed real-time data augmentation by mixing tracks from different songs. For each mix, we randomly selected between 1 and 8 stems from the 11 available tracks, extracting 3-second clips from each selected stem. These clips were scaled in energy by a random factor within the range of [-10, 10] dB relative to their original levels. The selected clips were then summed together to create simulated mixed music.

  3. Simulating Dynamic Bitrate Compression:
    We simulated various bitrate scenarios by applying MP3 codecs with bitrates of [24000, 32000, 48000, 64000, 96000, 128000].

  4. Rescaling:
    To ensure consistency across all samples, we rescaled both the target and the encoded audio based on their maximum absolute values.

  5. Saving as HDF5:
    After preprocessing, all data (including the source stems, mixed tracks, and compressed audio) was saved in HDF5 format, making it easy to load for training and evaluation purposes.

🚀 Training

To train the Apollo model, run the following command:

python train.py --conf_dir=configs/apollo.yml

🎨 Evaluation

To evaluate the Apollo model, run the following command:

python inference.py --in_wav=assets/input.wav --out_wav=assets/output.wav

📊 Results

Here, you can include a brief overview of the performance metrics or results that Apollo achieves using different bitrates

Different methods' SDR/SI-SNR/VISQOL scores for various types of music, as well as the number of model parameters and GPU inference time. For the GPU inference time test, a music signal with a sampling rate of 44.1 kHz and a length of 1 second was used.

License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Acknowledgements

Apollo is developed by the Look2Hear at Tsinghua University.

Citation

If you use Apollo in your research or project, please cite the following paper:

@article{li2024apollo,
  title={Apollo: Band-sequence Modeling for High-Quality Music Restoration in Compressed Audio},
  author={Li, Kai and Luo, Yi},
  journal={xxxxxx},
  year={2024}
}

Contact

For any questions or feedback regarding Apollo, feel free to reach out to us via email: tsinghua.kaili@gmail.com

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

Обработка «аудио → аудио» пока не поддерживается.

Ревизия весов
c68bd80

0 моделей