Updating readme and setup with information

This commit is contained in:
Shivam Mehta
2023-09-16 19:27:46 +00:00
parent e960632fb0
commit f37918d9d2
2 changed files with 28 additions and 3 deletions

View File

@@ -140,6 +140,22 @@ train_filelist_path: data/filelists/ljs_audio_text_train_filelist.txt
valid_filelist_path: data/filelists/ljs_audio_text_val_filelist.txt
```
5. Generate normalisation statistics with the yaml file of dataset configuration
```bash
matcha-data-stats -i ljspeech.yaml
# Output:
#{'mel_mean': -5.53662231756592, 'mel_std': 2.1161014277038574}
```
Update these values in `configs/data/ljspeech.yaml` under `data_statistics` key.
```bash
data_statistics: # Computed for ljspeech dataset
mel_mean: -5.536622
mel_std: 2.116101
```
to the paths of your train and validation filelists.
5. Run the training script

View File

@@ -12,10 +12,16 @@ exts = [
)
]
with open("README.md", "r", encoding="utf-8") as readme_file:
README = readme_file.read()
setup(
name="matcha",
name="matcha_tts",
version="0.1.0",
description="A fast TTS architecture with conditional flow matching",
description="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching",
long_description=README,
long_description_content_type="text/markdown",
author="Shivam Mehta",
author_email="shivam.mehta25@gmail.com",
url="https://shivammehta25.github.io/Matcha-TTS",
@@ -24,14 +30,17 @@ setup(
for r in open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
],
include_dirs=[numpy.get_include()],
include_package_data=True,
packages=find_packages(exclude=["tests", "tests/*", "examples", "examples/*"]),
# use this to customize global commands available in the terminal after installing the package
entry_points={
"console_scripts": [
"matcha-data-stats=matcha.utils.generate_data_statistics:main",
"matcha_tts=matcha.cli:cli",
"matcha_tts_app=matcha.app:main",
"matcha_tts-app=matcha.app:main",
]
},
ext_modules=cythonize(exts, language_level=3),
python_requires=">=3.10.0",
)