-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 78e47d2
Showing
2,004 changed files
with
252,551 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[report] | ||
omit = | ||
tools/* | ||
|
||
# Regexes for lines to exclude from consideration | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
if __name__ == "__main__": | ||
if __name__ == '__main__': | ||
@abstractmethod | ||
raise NotImplementedError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# ignored folders | ||
doc/ | ||
src/ | ||
egs/ | ||
test/ | ||
tools/kaldi | ||
tools/kaldi-io-for-python/ | ||
tools/kaldi_github/ | ||
tools/miniconda.sh | ||
tools/nkf/ | ||
tools/venv/ | ||
tools/warp-ctc/ | ||
tools/warp-transducer/ | ||
tools/chainer_ctc/ | ||
tools/subword-nmt/ | ||
|
||
.pytest_cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: Bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**Basic environments:** | ||
- OS information: [e.g., Linux 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64] | ||
- python version: [e.g. 3.7.3 (default, Mar 27 2019, 22:11:17) [GCC 7.3.0]] | ||
- espnet version: [e.g. espnet 0.8.0] | ||
- Git hash [e.g. b88e89fc7246fed4c2842b55baba884fe1b4ecc2] | ||
- Commit date [e.g. Tue Sep 1 09:32:54 2020 -0400] | ||
- pytorch version [e.g. pytorch 1.4.0] | ||
|
||
You can obtain them by the following command | ||
``` | ||
cd <espnet-root>/tools | ||
. ./activate_python.sh | ||
echo "- OS information: `uname -mrsv`" | ||
python3 << EOF | ||
import sys, espnet, torch | ||
pyversion = sys.version.replace('\n', ' ') | ||
print(f"""- python version: \`{pyversion}\` | ||
- espnet version: \`espnet {espnet.__version__}\` | ||
- pytorch version: \`pytorch {torch.__version__}\`""") | ||
EOF | ||
cat << EOF | ||
- Git hash: \`$(git rev-parse HEAD)\` | ||
- Commit date: \`$(git log -1 --format='%cd')\` | ||
EOF | ||
``` | ||
|
||
**Environments from `torch.utils.collect_env`:** | ||
e.g., | ||
``` | ||
Collecting environment information... | ||
PyTorch version: 1.4.0 | ||
Is debug build: No | ||
CUDA used to build PyTorch: 10.0 | ||
OS: CentOS Linux release 7.5.1804 (Core) | ||
GCC version: (GCC) 7.2.0 | ||
CMake version: version 2.8.12.2 | ||
Python version: 3.7 | ||
Is CUDA available: Yes | ||
CUDA runtime version: 10.0.130 | ||
GPU models and configuration: | ||
GPU 0: TITAN RTX | ||
GPU 1: TITAN RTX | ||
GPU 2: TITAN RTX | ||
GPU 3: TITAN RTX | ||
Nvidia driver version: 440.33.01 | ||
cuDNN version: Could not collect | ||
Versions of relevant libraries: | ||
[pip3] numpy==1.18.5 | ||
[pip3] pytorch-ranger==0.1.1 | ||
[pip3] pytorch-wpe==0.0.0 | ||
[pip3] torch==1.4.0 | ||
[pip3] torch-complex==0.1.1 | ||
[pip3] torch-optimizer==0.0.1a14 | ||
[pip3] torchaudio==0.4.0 | ||
[pip3] warprnnt-pytorch==0.1 | ||
[conda] blas 1.0 mkl | ||
[conda] mkl 2020.1 217 | ||
[conda] mkl-service 2.3.0 py37he904b0f_0 | ||
[conda] mkl_fft 1.1.0 py37h23d657b_0 | ||
[conda] mkl_random 1.1.1 py37h0573a6f_0 | ||
[conda] pytorch 1.4.0 py3.7_cuda10.0.130_cudnn7.6.3_0 pytorch | ||
[conda] pytorch-ranger 0.1.1 pypi_0 pypi | ||
[conda] pytorch-wpe 0.0.0 pypi_0 pypi | ||
[conda] torch-complex 0.1.1 pypi_0 pypi | ||
[conda] torch-optimizer 0.0.1a14 pypi_0 pypi | ||
[conda] torchaudio 0.4.0 pypi_0 pypi | ||
[conda] warprnnt-pytorch 0.1 pypi_0 pypi | ||
``` | ||
You can obtain them by the following command | ||
|
||
``` | ||
cd <espnet-root>/tools | ||
. ./activate_python.sh | ||
python3 -m torch.utils.collect_env | ||
``` | ||
|
||
**Task information:** | ||
- Task: [e.g., ASR, TTS, ST, ENH] | ||
- Recipe: [e.g. librispeech] | ||
- ESPnet1 or ESPnet2 | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. move to a recipe directory, e.g., `cd egs/librispeech/asr1` | ||
2. execute `run.sh` with specific arguments, e.g., `run.sh --stage 3 --ngp 1` | ||
3. specify the error log, e.g., `exp/xxx/yyy.log` | ||
|
||
**Error logs** | ||
Paste the error logs. If applicable, add screenshots to help explain your problem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
--- | ||
name: Installation issue template | ||
about: Create a report for installation issues | ||
title: '' | ||
labels: Installation | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the issue** | ||
A clear and concise description of what the issue is. | ||
Please check https://espnet.github.io/espnet/installation.html in advance. | ||
|
||
**Show the `check_install.py` status by using the following command** | ||
``` | ||
cd <espnet-root>/tools | ||
. ./activate_python.sh; python3 check_install.py | ||
``` | ||
|
||
**Basic environments:** | ||
- OS information: [e.g., Linux 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64] | ||
- python version: [e.g. 3.7.3 (default, Mar 27 2019, 22:11:17) [GCC 7.3.0]] | ||
- espnet version: [e.g. espnet 0.8.0] | ||
- Git hash [e.g. b88e89fc7246fed4c2842b55baba884fe1b4ecc2] | ||
- Commit date [e.g. Tue Sep 1 09:32:54 2020 -0400] | ||
- pytorch version [e.g. pytorch 1.4.0] | ||
|
||
You can obtain them by the following command | ||
``` | ||
cd <espnet-root>/tools | ||
. ./activate_python.sh | ||
echo "- OS information: `uname -mrsv`" | ||
python3 << EOF | ||
import sys, espnet, torch | ||
pyversion = sys.version.replace('\n', ' ') | ||
print(f"""- python version: \`{pyversion}\` | ||
- espnet version: \`espnet {espnet.__version__}\` | ||
- pytorch version: \`pytorch {torch.__version__}\`""") | ||
EOF | ||
cat << EOF | ||
- Git hash: \`$(git rev-parse HEAD)\` | ||
- Commit date: \`$(git log -1 --format='%cd')\` | ||
EOF | ||
``` | ||
|
||
**Environments from `torch.utils.collect_env`:** | ||
e.g., | ||
``` | ||
Collecting environment information... | ||
PyTorch version: 1.4.0 | ||
Is debug build: No | ||
CUDA used to build PyTorch: 10.0 | ||
OS: CentOS Linux release 7.5.1804 (Core) | ||
GCC version: (GCC) 7.2.0 | ||
CMake version: version 2.8.12.2 | ||
Python version: 3.7 | ||
Is CUDA available: Yes | ||
CUDA runtime version: 10.0.130 | ||
GPU models and configuration: | ||
GPU 0: TITAN RTX | ||
GPU 1: TITAN RTX | ||
GPU 2: TITAN RTX | ||
GPU 3: TITAN RTX | ||
Nvidia driver version: 440.33.01 | ||
cuDNN version: Could not collect | ||
Versions of relevant libraries: | ||
[pip3] numpy==1.18.5 | ||
[pip3] pytorch-ranger==0.1.1 | ||
[pip3] pytorch-wpe==0.0.0 | ||
[pip3] torch==1.4.0 | ||
[pip3] torch-complex==0.1.1 | ||
[pip3] torch-optimizer==0.0.1a14 | ||
[pip3] torchaudio==0.4.0 | ||
[pip3] warprnnt-pytorch==0.1 | ||
[conda] blas 1.0 mkl | ||
[conda] mkl 2020.1 217 | ||
[conda] mkl-service 2.3.0 py37he904b0f_0 | ||
[conda] mkl_fft 1.1.0 py37h23d657b_0 | ||
[conda] mkl_random 1.1.1 py37h0573a6f_0 | ||
[conda] pytorch 1.4.0 py3.7_cuda10.0.130_cudnn7.6.3_0 pytorch | ||
[conda] pytorch-ranger 0.1.1 pypi_0 pypi | ||
[conda] pytorch-wpe 0.0.0 pypi_0 pypi | ||
[conda] torch-complex 0.1.1 pypi_0 pypi | ||
[conda] torch-optimizer 0.0.1a14 pypi_0 pypi | ||
[conda] torchaudio 0.4.0 pypi_0 pypi | ||
[conda] warprnnt-pytorch 0.1 pypi_0 pypi | ||
``` | ||
You can obtain them by the following command | ||
|
||
``` | ||
cd <espnet-root>/tools | ||
. ./activate_python.sh | ||
python3 -m torch.utils.collect_env | ||
``` | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior by showing us the specific installation commands with their arguments, e.g., | ||
``` | ||
cd <espnet-root>/tools | ||
make TH_VERSION=1.3.1 | ||
``` | ||
|
||
**Error logs** | ||
Paste the error logs. If applicable, add screenshots to help explain your problem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 45 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 30 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- Roadmap | ||
- Bug | ||
# Label to use when marking an issue as stale | ||
staleLabel: Stale | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
unmarkComment: false | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: > | ||
This issue is closed. Please re-open if needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Cancel | ||
on: | ||
workflow_run: | ||
workflows: ["CI", "centos7", "debian9", "doc"] | ||
types: | ||
- requested | ||
jobs: | ||
cancel: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: styfle/[email protected] | ||
with: | ||
workflow_id: ${{ github.event.workflow.id }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: centos7 | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test_centos7: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: centos:7 | ||
env: | ||
ESPNET_PYTHON_VERSION: 3.7 | ||
# NOTE: 1.9.0 raised libstdc++ version errors in pyworld. | ||
# ImportError: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found | ||
# (required by /__w/espnet/espnet/tools/venv/envs/espnet/lib/python3.6/site-packages/pyworld/pyworld.cpython-36m-x86_64-linux-gnu.so) | ||
# NOTE(kamo): The issue doens't exist for python3.7? | ||
TH_VERSION: 1.12.1 | ||
CHAINER_VERSION: 6.0.0 | ||
USE_CONDA: true | ||
CC: /opt/rh/devtoolset-7/root/usr/bin/gcc | ||
CXX: /opt/rh/devtoolset-7/root/usr/bin/g++ | ||
MAKE: /opt/rh/devtoolset-7/root/usr/bin/make | ||
# To avoid UnicodeEncodeError for python<=3.6 | ||
LC_ALL: en_US.UTF-8 | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: check OS | ||
run: cat /etc/os-release | ||
- name: install dependencies | ||
run: | | ||
# NOTE(kamo): cmake sndfile will be download using anacond: | ||
yum install -y git centos-release-scl bzip2 wget which unzip bc patch | ||
yum-config-manager --enable rhel-server-rhscl-7-rpms | ||
yum install -y devtoolset-7-gcc-c++ devtoolset-7-make sox ncurses-devel libtool automake autoconf | ||
localedef -f UTF-8 -i en_US en_US | ||
- name: install espnet | ||
run: | | ||
# NOTE(karita) this line exited 1 | ||
# source scl_source enable devtoolset-7 | ||
PATH="/opt/rh/devtoolset-7/root/usr/bin:${PATH:-}" | ||
./ci/install.sh | ||
- name: test shell | ||
run: | | ||
PATH="/opt/rh/devtoolset-7/root/usr/bin:${PATH:-}" | ||
./ci/test_shell.sh | ||
- name: test python | ||
run: | | ||
PATH="/opt/rh/devtoolset-7/root/usr/bin:${PATH:-}" | ||
./ci/test_python.sh |
Oops, something went wrong.