Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ncsoft/avocodo
Official implementation of "Avocodo: Generative Adversarial Network for Artifact-Free Vocoder" (AAAI2023)
https://github.com/ncsoft/avocodo
avocodo gan pytorch vocoder
Last synced: 1 day ago
JSON representation
Official implementation of "Avocodo: Generative Adversarial Network for Artifact-Free Vocoder" (AAAI2023)
- Host: GitHub
- URL: https://github.com/ncsoft/avocodo
- Owner: ncsoft
- License: other
- Created: 2022-11-30T06:24:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T13:35:55.000Z (almost 2 years ago)
- Last Synced: 2024-03-27T00:58:28.416Z (8 months ago)
- Topics: avocodo, gan, pytorch, vocoder
- Language: Python
- Homepage:
- Size: 17.6 KB
- Stars: 142
- Watchers: 4
- Forks: 22
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.md
Awesome Lists containing this project
README
---------
🥑 Avocodo: Generative Adversarial Network for Artifact-Free Vocoder
---------**Accepted for publication in the 37th AAAI conference on artificial intelligence.**
.. image:: https://img.shields.io/badge/arXiv-2211.04610-red.svg?style=plastic
:target: https://arxiv.org/abs/2206.13404.. image:: https://img.shields.io/badge/Sample_Page-Avocodo-blue.svg?style=plastic
:target: https://nc-ai.github.io/speech/publications/Avocodo/index.html.. image:: https://img.shields.io/badge/NC_SpeechAI-publications-brightgreen.svg?style=plastic
:target: https://nc-ai.github.io/speech/In our `paper `_, we proposed ``Avocodo``.
We provide our implementation as an open source in this repository.**Abstract :** Neural vocoders based on the generative adversarial neural network (GAN) have been widely used due to their fast inference speed and lightweight networks while generating high-quality speech waveforms. Since the perceptually important speech components are primarily concentrated in the low-frequency bands, most GAN-based vocoders perform multi-scale analysis that evaluates downsampled speech waveforms. This multi-scale analysis helps the generator improve speech intelligibility. However, in preliminary experiments, we discovered that the multi-scale analysis which focuses on the low-frequency bands causes unintended artifacts, e.g., aliasing and imaging artifacts, which degrade the synthesized speech waveform quality. Therefore, in this paper, we investigate the relationship between these artifacts and GAN-based vocoders and propose a GAN-based vocoder, called Avocodo, that allows the synthesis of high-fidelity speech with reduced artifacts. We introduce two kinds of discriminators to evaluate speech waveforms in various perspectives: a collaborative multi-band discriminator and a sub-band discriminator. We also utilize a pseudo quadrature mirror filter bank to obtain downsampled multi-band speech waveforms while avoiding aliasing. According to experimental resutls, Avocodo outperforms baseline GAN-based vocoders, both objectviely and subjectively, while reproducing speech with fewer artifacts.
Pre-requisites
===============1. Install pyenv
- `pyenv `_
- `pyenv automatic installer `_ (recommended)
2. Clone this repository
3. Setup virtual environment and install python requirements. Please refer pyproject.toml
.. code-block::pyenv install 3.8.11
pyenv virtualenv 3.8.11 avocodo
pyenv local avocodopip install wheel
pip install poetrypoetry install
4. Download and extract the `LJ Speech dataset `_.
- Move all wav files to LJSpeech-1.1/wavs
- Split dataset into a trainset and a validationset.
.. code-block::cat LJSpeech-1.1/metadata.csv | tail -n 13000 > training.txt
cat LJSpeech-1.1/metadata.csv | head -n 100 > validation.txtTraining
===============
.. code-block::python avocodo/train.py --config avocodo/configs/avocodo_v1.json
Inference
===============
.. code-block::python avocodo/inference.py --version ${version} --checkpoint_file_id ${checkpoint_file_id}
Reference
===============
We referred to below repositories to make this project.`HiFi-GAN `_
`Parallel-WaveGAN `_