From 7dba51ad3b19f05047710b8ba3c36453d53bc6ea Mon Sep 17 00:00:00 2001 From: Shikhar Bharadwaj Date: Mon, 23 Sep 2024 09:30:29 -0400 Subject: [PATCH 01/47] add clotho_v2 aac recipe with beats encoder --- .gitignore | 1 + egs2/TEMPLATE/asr1/db.sh | 1 + .../Untitled-checkpoint.ipynb | 6 + egs2/clotho_v2/asr1/asr.sh | 1 + egs2/clotho_v2/asr1/cmd.sh | 110 ++ egs2/clotho_v2/asr1/conf/branchformer.yaml | 65 + egs2/clotho_v2/asr1/conf/dcase.yaml | 60 + egs2/clotho_v2/asr1/conf/fbank.conf | 2 + egs2/clotho_v2/asr1/conf/pbs.conf | 11 + egs2/clotho_v2/asr1/conf/pitch.conf | 1 + egs2/clotho_v2/asr1/conf/queue.conf | 12 + egs2/clotho_v2/asr1/conf/slurm.conf | 14 + egs2/clotho_v2/asr1/db.sh | 1 + .../Checker-checkpoint.ipynb | 91 ++ .../.ipynb_checkpoints/data-checkpoint.sh | 61 + .../data_prep-checkpoint.py | 49 + egs2/clotho_v2/asr1/local/Checker.ipynb | 91 ++ egs2/clotho_v2/asr1/local/data.sh | 75 + egs2/clotho_v2/asr1/local/data_prep.py | 80 + egs2/clotho_v2/asr1/local/evaluation.py | 91 ++ egs2/clotho_v2/asr1/local/path.sh | 0 egs2/clotho_v2/asr1/local/score.sh | 29 + egs2/clotho_v2/asr1/path.sh | 1 + egs2/clotho_v2/asr1/pyscripts | 1 + egs2/clotho_v2/asr1/run.sh | 31 + egs2/clotho_v2/asr1/scripts | 1 + egs2/clotho_v2/asr1/steps | 1 + egs2/clotho_v2/asr1/utils | 1 + espnet2/asr/encoder/beats_encoder.py | 1310 +++++++++++++++++ espnet2/tasks/asr.py | 4 +- 30 files changed, 2201 insertions(+), 1 deletion(-) create mode 100644 egs2/clotho_v2/.ipynb_checkpoints/Untitled-checkpoint.ipynb create mode 120000 egs2/clotho_v2/asr1/asr.sh create mode 100644 egs2/clotho_v2/asr1/cmd.sh create mode 100644 egs2/clotho_v2/asr1/conf/branchformer.yaml create mode 100644 egs2/clotho_v2/asr1/conf/dcase.yaml create mode 100644 egs2/clotho_v2/asr1/conf/fbank.conf create mode 100644 egs2/clotho_v2/asr1/conf/pbs.conf create mode 100644 egs2/clotho_v2/asr1/conf/pitch.conf create mode 100644 egs2/clotho_v2/asr1/conf/queue.conf create mode 100644 egs2/clotho_v2/asr1/conf/slurm.conf create mode 120000 egs2/clotho_v2/asr1/db.sh create mode 100644 egs2/clotho_v2/asr1/local/.ipynb_checkpoints/Checker-checkpoint.ipynb create mode 100755 egs2/clotho_v2/asr1/local/.ipynb_checkpoints/data-checkpoint.sh create mode 100644 egs2/clotho_v2/asr1/local/.ipynb_checkpoints/data_prep-checkpoint.py create mode 100644 egs2/clotho_v2/asr1/local/Checker.ipynb create mode 100755 egs2/clotho_v2/asr1/local/data.sh create mode 100644 egs2/clotho_v2/asr1/local/data_prep.py create mode 100644 egs2/clotho_v2/asr1/local/evaluation.py create mode 100644 egs2/clotho_v2/asr1/local/path.sh create mode 100755 egs2/clotho_v2/asr1/local/score.sh create mode 120000 egs2/clotho_v2/asr1/path.sh create mode 120000 egs2/clotho_v2/asr1/pyscripts create mode 100755 egs2/clotho_v2/asr1/run.sh create mode 120000 egs2/clotho_v2/asr1/scripts create mode 120000 egs2/clotho_v2/asr1/steps create mode 120000 egs2/clotho_v2/asr1/utils create mode 100644 espnet2/asr/encoder/beats_encoder.py diff --git a/.gitignore b/.gitignore index ba5301179ca..ed37f59e70c 100644 --- a/.gitignore +++ b/.gitignore @@ -103,3 +103,4 @@ tools/ffmpeg-*-static tools/ffmpeg-release tools/ffmpeg-release-*.tar.xz tools/Miniconda3-latest-*.sh +egs2/clotho_v2/asr1/local/CLOTHO_v2.1/* diff --git a/egs2/TEMPLATE/asr1/db.sh b/egs2/TEMPLATE/asr1/db.sh index 6ad19ebc2c5..e94e95f2733 100755 --- a/egs2/TEMPLATE/asr1/db.sh +++ b/egs2/TEMPLATE/asr1/db.sh @@ -219,6 +219,7 @@ SPRING_INX=downloads VOXCELEB= KSPONSPEECH= HIFITTS=downloads +CLOTHO_V2=/data/user_data/sbharad2/espnet/egs2/clotho_v2/asr1/local/CLOTHO_v2.1 # TODO(sbharad2): Downloads # For only CMU TIR environment if [[ "$(hostname)" == tir* ]]; then diff --git a/egs2/clotho_v2/.ipynb_checkpoints/Untitled-checkpoint.ipynb b/egs2/clotho_v2/.ipynb_checkpoints/Untitled-checkpoint.ipynb new file mode 100644 index 00000000000..363fcab7ed6 --- /dev/null +++ b/egs2/clotho_v2/.ipynb_checkpoints/Untitled-checkpoint.ipynb @@ -0,0 +1,6 @@ +{ + "cells": [], + "metadata": {}, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/egs2/clotho_v2/asr1/asr.sh b/egs2/clotho_v2/asr1/asr.sh new file mode 120000 index 00000000000..60b05122cfd --- /dev/null +++ b/egs2/clotho_v2/asr1/asr.sh @@ -0,0 +1 @@ +../../TEMPLATE/asr1/asr.sh \ No newline at end of file diff --git a/egs2/clotho_v2/asr1/cmd.sh b/egs2/clotho_v2/asr1/cmd.sh new file mode 100644 index 00000000000..2aae6919fef --- /dev/null +++ b/egs2/clotho_v2/asr1/cmd.sh @@ -0,0 +1,110 @@ +# ====== About run.pl, queue.pl, slurm.pl, and ssh.pl ====== +# Usage: .pl [options] JOB=1: +# e.g. +# run.pl --mem 4G JOB=1:10 echo.JOB.log echo JOB +# +# Options: +# --time