uberduck-ai / uberduck-ml-dev

ML models for Uberduck
Apache License 2.0
378 stars 61 forks source link

Deprecation note

We are moving away from maintaining this repository.

🦆 Uberduck Synthetic Speech

GithubActions Discord

This repository includes

Notebooks are available here, and models to fine-tune from are available here here.

Summary

Summary

Installation

If you want to install on your own machine, create a virtual environment and install like

conda create -n 'test-env' python=3.10 -y
source activate test-env
pip install git+https://github.com/uberduck-ai/uberduck-ml-dev

Training

Train a radtts on LJ Speech as follows

cd tutorials/radtts
bash download.sh
bash train.sh

You will need to adjust the paths and potentially other training settings in tutorials/radtts/demo_config.json. This code has been tested on a single T4 as well as 2 A6000s.

For processing of new datasets, see tutorials/radtts/radtts_data_processing.ipynb.

Development

We love contributions!

Installation

To install in development mode, run

pip install pre-commit black # format your code on commit by installing black!
git clone git@github.com:uberduck-ai/uberduck-ml-dev.git
cd uberduck-ml-dev
pre-commit install # Install required Git hooks
python setup.py develop # Install the library

🚩 Testing

In an environment or image with uberduck-ml-dev installed, run

cd uberduck-ml-dev
python -m pytest