mirror of
https://github.com/shivammehta25/Matcha-TTS.git
synced 2026-02-04 09:49:21 +08:00
Updating readme and setup with information
This commit is contained in:
16
README.md
16
README.md
@@ -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
|
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.
|
to the paths of your train and validation filelists.
|
||||||
|
|
||||||
5. Run the training script
|
5. Run the training script
|
||||||
|
|||||||
15
setup.py
15
setup.py
@@ -12,10 +12,16 @@ exts = [
|
|||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
with open("README.md", "r", encoding="utf-8") as readme_file:
|
||||||
|
README = readme_file.read()
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="matcha",
|
name="matcha_tts",
|
||||||
version="0.1.0",
|
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="Shivam Mehta",
|
||||||
author_email="shivam.mehta25@gmail.com",
|
author_email="shivam.mehta25@gmail.com",
|
||||||
url="https://shivammehta25.github.io/Matcha-TTS",
|
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"))
|
for r in open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
|
||||||
],
|
],
|
||||||
include_dirs=[numpy.get_include()],
|
include_dirs=[numpy.get_include()],
|
||||||
|
include_package_data=True,
|
||||||
packages=find_packages(exclude=["tests", "tests/*", "examples", "examples/*"]),
|
packages=find_packages(exclude=["tests", "tests/*", "examples", "examples/*"]),
|
||||||
# use this to customize global commands available in the terminal after installing the package
|
# use this to customize global commands available in the terminal after installing the package
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"matcha-data-stats=matcha.utils.generate_data_statistics:main",
|
"matcha-data-stats=matcha.utils.generate_data_statistics:main",
|
||||||
"matcha_tts=matcha.cli:cli",
|
"matcha_tts=matcha.cli:cli",
|
||||||
"matcha_tts_app=matcha.app:main",
|
"matcha_tts-app=matcha.app:main",
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
ext_modules=cythonize(exts, language_level=3),
|
ext_modules=cythonize(exts, language_level=3),
|
||||||
|
python_requires=">=3.10.0",
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user