mirror of
https://github.com/coqui-ai/TTS.git
synced 2025-12-25 12:49:29 +01:00
* add configs * Update config file * Add model configs * Add model layers * Add layer files * Add layer modules * change config names * Add emotion manager * fIX missing ap bug * Fix missing ap bug * Add base TTS e2e class * Fix wrong variable name in load_tts_samples * Add training script * Remove range predictor and gaussian upsampling * Add helper function * Add vctk recipe * Add conformer docs * Fix linting in conformer.py * Add Docs * remove duplicate import * refactor args * Fix bugs * Removew emotion embedding * remove unused arg * Remove emotion embedding arg * Remove emotion embedding arg * fix style issues * Fix bugs * Fix bugs * Add unittests * make style * fix formatter bug * fix test * Add pyworld compute pitch func * Update requirments.txt * Fix dataset Bug * Chnge layer norm to instance norm * Add missing import * Remove emotions.py * remove ssim loss * Add init layers func to aligner * refactor model layers * remove audio_config arg * Rename loss func * Rename to delightful-tts * Rename loss func * Remove unused modules * refactor imports * replace audio config with audio processor * Add change sample rate option * remove broken resample func * update recipe * fix style, add config docs * fix tests and multispeaker embd dim * remove pyworld * Make style and fix inference * Split tts tests * Fixup * Fixup * Fixup * Add argument names * Set "random" speaker in the model Tortoise/Bark * Use a diff f0_cache path for delightfull tts * Fix delightful speaker handling * Fix lint * Make style --------- Co-authored-by: loganhart420 <loganartpersonal@gmail.com> Co-authored-by: Eren Gölge <erogol@hotmail.com>
79 lines
2.2 KiB
Makefile
79 lines
2.2 KiB
Makefile
.DEFAULT_GOAL := help
|
|
.PHONY: test system-deps dev-deps deps style lint install help docs
|
|
|
|
help:
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
|
|
target_dirs := tests TTS notebooks recipes
|
|
|
|
test_all: ## run tests and don't stop on an error.
|
|
nose2 --with-coverage --coverage TTS tests
|
|
./run_bash_tests.sh
|
|
|
|
test: ## run tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests
|
|
|
|
test_vocoder: ## run vocoder tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.vocoder_tests
|
|
|
|
test_tts: ## run tts tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.tts_tests
|
|
|
|
test_tts2: ## run tts tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.tts_tests2
|
|
|
|
test_aux: ## run aux tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.aux_tests
|
|
./run_bash_tests.sh
|
|
|
|
test_zoo: ## run zoo tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.zoo_tests
|
|
|
|
inference_tests: ## run inference tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.inference_tests
|
|
|
|
api_tests: ## run api tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.api_tests
|
|
|
|
data_tests: ## run data tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.data_tests
|
|
|
|
test_text: ## run text tests.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests.text_tests
|
|
|
|
test_failed: ## only run tests failed the last time.
|
|
nose2 -F -v -B --with-coverage --coverage TTS tests
|
|
|
|
style: ## update code style.
|
|
black ${target_dirs}
|
|
isort ${target_dirs}
|
|
|
|
lint: ## run pylint linter.
|
|
pylint ${target_dirs}
|
|
black ${target_dirs} --check
|
|
isort ${target_dirs} --check-only
|
|
|
|
system-deps: ## install linux system deps
|
|
sudo apt-get install -y libsndfile1-dev
|
|
|
|
dev-deps: ## install development deps
|
|
pip install -r requirements.dev.txt
|
|
|
|
doc-deps: ## install docs dependencies
|
|
pip install -r docs/requirements.txt
|
|
|
|
build-docs: ## build the docs
|
|
cd docs && make clean && make build
|
|
|
|
hub-deps: ## install deps for torch hub use
|
|
pip install -r requirements.hub.txt
|
|
|
|
deps: ## install 🐸 requirements.
|
|
pip install -r requirements.txt
|
|
|
|
install: ## install 🐸 TTS for development.
|
|
pip install -e .[all]
|
|
|
|
docs: ## build the docs
|
|
$(MAKE) -C docs clean && $(MAKE) -C docs html
|