icefall/.github/scripts/compute-fbank-librispeech-test-clean-and-test-other.sh
2023-03-09 17:38:15 +08:00

20 lines
465 B
Bash
Executable File

#!/usr/bin/env bash
# This script computes fbank features for the test-clean and test-other datasets.
# The computed features are saved to ~/tmp/fbank-libri and are
# cached for later runs
set -e
export PYTHONPATH=$PWD:$PYTHONPATH
echo $PYTHONPATH
mkdir ~/tmp/fbank-libri
cd egs/librispeech/ASR
mkdir -p data
cd data
[ ! -e fbank ] && ln -s ~/tmp/fbank-libri fbank
cd ..
./local/compute_fbank_librispeech.py --dataset 'test-clean test-other'
ls -lh data/fbank/