Metadata-Version: 2.1
Name: radtts
Version: 22.12.28
Summary: RADTTS library
Home-page: http://github.com/8tm/radtts
Author: Tadeusz Miszczyk
Author-email: 42252259+8tm@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Pillow (>=9.3.0,<10.0.0)
Requires-Dist: Unidecode (>=1.3.6,<2.0.0)
Requires-Dist: audioread (>=3.0.0,<4.0.0)
Requires-Dist: inflect (>=6.0.2,<7.0.0)
Requires-Dist: jupyter (>=1.0.0,<2.0.0)
Requires-Dist: librosa (>=0.9.2,<0.10.0)
Requires-Dist: matplotlib (>=3.6.2,<4.0.0)
Requires-Dist: natsort (>=8.2.0,<9.0.0)
Requires-Dist: pandas (>=1.5.2,<2.0.0)
Requires-Dist: peakutils (>=1.3.4,<2.0.0)
Requires-Dist: soundfile (>=0.11.0,<0.12.0)
Requires-Dist: sox (>=1.4.1,<2.0.0)
Requires-Dist: srt (>=3.5.2,<4.0.0)
Requires-Dist: tgt (>=1.4.4,<2.0.0)
Requires-Dist: webrtcvad (>=2.0.10,<3.0.0)
Project-URL: Documentation, https://test.pypi.org/project/radtts
Project-URL: Repository, http://github.com/8tm/radtts
Description-Content-Type: text/markdown

# RADTTS library

This RADTTS library was changed to be used with vait library.

Original code, README.md and additional information:

https://github.com/NVIDIA/radtts


## Instalation

### 1) Install RADTTS library

```shell
pip install radtts==22.12.28
```


### 2) Install CUDA 11.3 or 11.6

```shell
pip install -r requirements-cuda-11.3.txt
# or
pip install -r requirements-cuda-11.6.txt
```

### 3) Install maracas
```shell
git clone https://github.com/jfsantos/maracas /home/${USER}/maracas
cd /home/${USER}/maracas
pip install .
cd -
```

## Usage: Training

```shell
radtts-train -c config_ljs_radtts.json -p train_config.output_directory=outdir
radtts-train -c config_ljs_radtts.json -p train_config.output_directory=outdir_dir train_config.warmstart_checkpoint_path=model_path.pt model_config.include_modules="decatndur"
```


## Usage: Inferencing

```shell
radtts-inference -c CONFIG_PATH -r RADTTS_PATH -v HG_PATH -k HG_CONFIG_PATH -t TEXT_PATH -s ljs --speaker_attributes ljs --speaker_text ljs -o results/
radtts-inference_voice_conversion --radtts_path RADTTS_PATH --radtts_config_path RADTTS_CONFIG_PATH --vocoder_path HG_PATH --vocoder_config_path HG_CONFIG_PATH --f0_mean=211.413 --f0_std=46.6595 --energy_mean=0.724884 --energy_std=0.0564605 --output_dir=results/ -p data_config.validation_files="{'Dummy': {'basedir': 'data/', 'audiodir':'22khz', 'filelist': 'vc_audiopath_txt_speaker_emotion_duration_filelist.txt'}}"
```

