Skip to content

Commit 3c99191

Browse files
authored
Merge pull request #888 from coqui-ai/dev
v0.4.0
2 parents 7f388f2 + ff88c72 commit 3c99191

File tree

136 files changed

+3597
-26245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+3597
-26245
lines changed

.github/workflows/main.yml renamed to .github/workflows/aux_tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: aux-tests
22

33
on:
44
push:
@@ -45,8 +45,5 @@ jobs:
4545
run: |
4646
python3 -m pip install .[all]
4747
python3 setup.py egg_info
48-
- name: Lint check
49-
run: |
50-
make lint
5148
- name: Unit tests
52-
run: make test
49+
run: make test_aux

.github/workflows/style_check.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: style-check
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
jobs:
10+
check_skip:
11+
runs-on: ubuntu-latest
12+
if: "! contains(github.event.head_commit.message, '[ci skip]')"
13+
steps:
14+
- run: echo "${{ github.event.head_commit.message }}"
15+
16+
test:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
python-version: [3.9]
22+
experimental: [false]
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: actions/cache@v1
26+
with:
27+
path: ~/.cache/pip
28+
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
29+
- name: Set up Python ${{ matrix.python-version }}
30+
uses: actions/setup-python@v2
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
architecture: x64
34+
- name: check OS
35+
run: cat /etc/os-release
36+
- name: Install dependencies
37+
run: |
38+
sudo apt update
39+
sudo apt install -y git make
40+
sudo apt install -y python3-wheel gcc
41+
make system-deps
42+
- name: Upgrade pip
43+
run: python3 -m pip install --upgrade pip
44+
- name: Install TTS
45+
run: |
46+
python3 -m pip install .[all]
47+
python3 setup.py egg_info
48+
- name: Lint check
49+
run: |
50+
make lint

.github/workflows/tts_tests.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: tts-tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
jobs:
10+
check_skip:
11+
runs-on: ubuntu-latest
12+
if: "! contains(github.event.head_commit.message, '[ci skip]')"
13+
steps:
14+
- run: echo "${{ github.event.head_commit.message }}"
15+
16+
test:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
python-version: [3.6, 3.7, 3.8, 3.9]
22+
experimental: [false]
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: actions/cache@v1
26+
with:
27+
path: ~/.cache/pip
28+
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
29+
- name: Set up Python ${{ matrix.python-version }}
30+
uses: actions/setup-python@v2
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
architecture: x64
34+
- name: check OS
35+
run: cat /etc/os-release
36+
- name: Install dependencies
37+
run: |
38+
sudo apt update
39+
sudo apt install -y git make
40+
sudo apt install -y python3-wheel gcc
41+
make system-deps
42+
- name: Upgrade pip
43+
run: python3 -m pip install --upgrade pip
44+
- name: Install TTS
45+
run: |
46+
python3 -m pip install .[all]
47+
python3 setup.py egg_info
48+
- name: Unit tests
49+
run: make test_tts
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: vocoder-tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
jobs:
10+
check_skip:
11+
runs-on: ubuntu-latest
12+
if: "! contains(github.event.head_commit.message, '[ci skip]')"
13+
steps:
14+
- run: echo "${{ github.event.head_commit.message }}"
15+
16+
test:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
python-version: [3.6, 3.7, 3.8, 3.9]
22+
experimental: [false]
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: actions/cache@v1
26+
with:
27+
path: ~/.cache/pip
28+
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('**/setup.py') }}
29+
- name: Set up Python ${{ matrix.python-version }}
30+
uses: actions/setup-python@v2
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
architecture: x64
34+
- name: check OS
35+
run: cat /etc/os-release
36+
- name: Install dependencies
37+
run: |
38+
sudo apt update
39+
sudo apt install -y git make
40+
sudo apt install -y python3-wheel gcc
41+
make system-deps
42+
- name: Upgrade pip
43+
run: python3 -m pip install --upgrade pip
44+
- name: Install TTS
45+
run: |
46+
python3 -m pip install .[all]
47+
python3 setup.py egg_info
48+
- name: Unit tests
49+
run: make test_vocoder

.gitignore

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,19 +124,25 @@ version.py
124124
# jupyter dummy files
125125
core
126126

127+
# ignore local datasets
128+
recipes/WIP/*
129+
recipes/ljspeech/LJSpeech-1.1/*
130+
recipes/vctk/VCTK/*
131+
VCTK-Corpus-removed-silence/*
132+
133+
# ignore training logs
134+
trainer_*_log.txt
135+
127136
# files used internally fro dev, test etc.
128137
tests/outputs/*
129138
tests/train_outputs/*
130139
TODO.txt
131140
.vscode/*
132141
data/*
133142
notebooks/data/*
134-
TTS/tts/layers/glow_tts/monotonic_align/core.c
143+
TTS/tts/utils/monotonic_align/core.c
135144
.vscode-upload.json
136145
temp_build/*
137-
recipes/WIP/*
138-
recipes/ljspeech/LJSpeech-1.1/*
139-
recipes/ljspeech/tacotron2-DDC/LJSpeech-1.1/*
140146
events.out*
141147
old_configs/*
142148
model_importers/*

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ The following steps are tested on an Ubuntu system.
7676
8. Run the tests to see how your updates work with the rest of the project. You can repeat this step multiple times as you implement your changes to make sure you are on the right direction.
7777

7878
```bash
79-
$ make tests
79+
$ make test # stop at the first error
80+
$ make test_all # run all the tests, report all the errors
8081
```
8182

8283
9. Format your code. We use ```black``` for code and ```isort``` for ```import``` formatting.

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ test_all: ## run tests and don't stop on an error.
1212

1313
test: ## run tests.
1414
nosetests -x --with-cov -cov --cover-erase --cover-package TTS tests --nologcapture --with-id
15+
16+
test_vocoder: ## run vocoder tests.
17+
nosetests tests.vocoder_tests -x --with-cov -cov --cover-erase --cover-package TTS tests.vocoder_tests --nologcapture --with-id
18+
19+
test_tts: ## run tts tests.
20+
nosetests tests.tts_tests -x --with-cov -cov --cover-erase --cover-package TTS tests.tts_tests --nologcapture --with-id
21+
22+
test_aux: ## run aux tests.
23+
nosetests tests.aux_tests -x --with-cov -cov --cover-erase --cover-package TTS tests.aux_tests --nologcapture --with-id
1524
./run_bash_tests.sh
1625

1726
test_failed: ## only run tests failed the last time.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
📄 [Text-to-Speech paper collection](https://github.com/erogol/TTS-papers)
2121

22+
<img src="https://static.scarf.sh/a.png?x-pxid=cf317fe7-2188-4721-bc01-124bb5d5dbb2" />
23+
2224
## 💬 Where to ask questions
2325
Please use our dedicated channels for questions and discussion. Help is much more valuable if it's shared publicly so that more people can benefit from it.
2426

@@ -154,5 +156,3 @@ If you are on Windows, 👑@GuyPaddock wrote installation instructions [here](ht
154156
|- vocoder/ (Vocoder models.)
155157
|- (same)
156158
```
157-
158-
<img src="https://static.scarf.sh/a.png?x-pxid=503c242f-a253-4fb8-8071-ce1dc1e89999" />

0 commit comments

Comments
 (0)