mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-03 14:14:19 +00:00
Minor fixes.
This commit is contained in:
parent
744d30159c
commit
764a3c3e0a
21
.github/workflows/run-librispeech-2022-03-12.yml
vendored
21
.github/workflows/run-librispeech-2022-03-12.yml
vendored
@ -55,14 +55,21 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r ./requirements-ci.txt
|
grep -v '^#' ./requirements-ci.txt | xargs -n 1 -L 1 pip install
|
||||||
|
|
||||||
|
- name: Cache pre-trained model
|
||||||
|
id: cache-pretrained-model
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
||||||
|
key: run-librispeech-2022-03-12
|
||||||
|
|
||||||
|
|
||||||
- name: Download pre-trained model
|
- name: Download pre-trained model
|
||||||
|
if: steps.cache-pretrained-model.outputs.cache-hit != 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get -qq install git-lfs tree sox
|
sudo apt-get -qq install git-lfs tree sox
|
||||||
cd egs/librispeech/ASR
|
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
cd tmp
|
cd tmp
|
||||||
git lfs install
|
git lfs install
|
||||||
@ -76,7 +83,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export PYTHONPATH=$PWD:PYTHONPATH
|
export PYTHONPATH=$PWD:PYTHONPATH
|
||||||
dir=./tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
dir=~/tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
||||||
cd egs/librispeech/ASR
|
cd egs/librispeech/ASR
|
||||||
./pruned_transducer_stateless/pretrained.py \
|
./pruned_transducer_stateless/pretrained.py \
|
||||||
--method greedy_search \
|
--method greedy_search \
|
||||||
@ -91,7 +98,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export PYTHONPATH=$PWD:PYTHONPATH
|
export PYTHONPATH=$PWD:PYTHONPATH
|
||||||
dir=./tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
dir=~/tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
||||||
cd egs/librispeech/ASR
|
cd egs/librispeech/ASR
|
||||||
./pruned_transducer_stateless/pretrained.py \
|
./pruned_transducer_stateless/pretrained.py \
|
||||||
--method greedy_search \
|
--method greedy_search \
|
||||||
@ -106,7 +113,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export PYTHONPATH=$PWD:PYTHONPATH
|
export PYTHONPATH=$PWD:PYTHONPATH
|
||||||
dir=./tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
dir=~/tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
||||||
cd egs/librispeech/ASR
|
cd egs/librispeech/ASR
|
||||||
./pruned_transducer_stateless/pretrained.py \
|
./pruned_transducer_stateless/pretrained.py \
|
||||||
--method greedy_search \
|
--method greedy_search \
|
||||||
@ -121,7 +128,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export PYTHONPATH=$PWD:$PYTHONPATH
|
export PYTHONPATH=$PWD:$PYTHONPATH
|
||||||
dir=./tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
dir=~/tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
||||||
cd egs/librispeech/ASR
|
cd egs/librispeech/ASR
|
||||||
./pruned_transducer_stateless/pretrained.py \
|
./pruned_transducer_stateless/pretrained.py \
|
||||||
--method beam_search \
|
--method beam_search \
|
||||||
@ -136,7 +143,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
export PYTHONPATH=$PWD:$PYTHONPATH
|
export PYTHONPATH=$PWD:$PYTHONPATH
|
||||||
dir=./tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
dir=~/tmp/icefall-asr-librispeech-pruned-transducer-stateless-2022-03-12
|
||||||
cd egs/librispeech/ASR
|
cd egs/librispeech/ASR
|
||||||
./pruned_transducer_stateless/pretrained.py \
|
./pruned_transducer_stateless/pretrained.py \
|
||||||
--method modified_beam_search \
|
--method modified_beam_search \
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# Usage: grep -v '^#' requirements-ci.txt | xargs -n 1 -L 1 pip install
|
||||||
# dependencies for GitHub actions
|
# dependencies for GitHub actions
|
||||||
#
|
#
|
||||||
# See https://github.com/actions/setup-python#caching-packages-dependencies
|
# See https://github.com/actions/setup-python#caching-packages-dependencies
|
||||||
@ -7,12 +8,10 @@ numpy==1.19
|
|||||||
pytest==7.1.0
|
pytest==7.1.0
|
||||||
graphviz==0.19.1
|
graphviz==0.19.1
|
||||||
|
|
||||||
-f https://download.pytorch.org/whl/cpu/torch_stable.html
|
-f https://download.pytorch.org/whl/cpu/torch_stable.html torch==1.10.0+cpu
|
||||||
torch==1.10.0+cpu
|
-f https://download.pytorch.org/whl/cpu/torch_stable.html torchaudio==0.10.0+cpu
|
||||||
torchaudio==0.10.0+cpu
|
|
||||||
|
|
||||||
-f https://k2-fsa.org/nightly/
|
-f https://k2-fsa.org/nightly/ k2==1.9.dev20211101+cpu.torch1.10.0
|
||||||
k2==1.9.dev20211101+cpu.torch1.10.0
|
|
||||||
|
|
||||||
lhotse==0.12.0
|
lhotse==0.12.0
|
||||||
kaldifeat==1.12
|
kaldifeat==1.12
|
||||||
|
Loading…
x
Reference in New Issue
Block a user