mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
20 lines
465 B
Bash
Executable File
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/
|