mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-14 04:22:21 +00:00
Disable modified_beam_search test.
This commit is contained in:
parent
be7539ee4a
commit
865ecc619e
@ -162,7 +162,7 @@ if [[ x"${GITHUB_EVENT_LABEL_NAME}" == x"LODR" ]]; then
|
|||||||
--ngram-lm-scale -0.16
|
--ngram-lm-scale -0.16
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ x"${GITHUB_EVENT_NAME}" == x"schedule" ]]; then
|
if [[ x"${GITHUB_EVENT_NAME}" == x"schedule" || x"${GITHUB_EVENT_NAME}" == x"workflow_dispatch" ]]; then
|
||||||
mkdir -p lstm_transducer_stateless2/exp
|
mkdir -p lstm_transducer_stateless2/exp
|
||||||
ln -s $PWD/$repo/exp/pretrained.pt lstm_transducer_stateless2/exp/epoch-999.pt
|
ln -s $PWD/$repo/exp/pretrained.pt lstm_transducer_stateless2/exp/epoch-999.pt
|
||||||
ln -s $PWD/$repo/data/lang_bpe_500 data/
|
ln -s $PWD/$repo/data/lang_bpe_500 data/
|
||||||
@ -175,7 +175,7 @@ if [[ x"${GITHUB_EVENT_NAME}" == x"schedule" ]]; then
|
|||||||
# use a small value for decoding with CPU
|
# use a small value for decoding with CPU
|
||||||
max_duration=100
|
max_duration=100
|
||||||
|
|
||||||
for method in greedy_search fast_beam_search modified_beam_search; do
|
for method in greedy_search fast_beam_search; do
|
||||||
log "Decoding with $method"
|
log "Decoding with $method"
|
||||||
|
|
||||||
./lstm_transducer_stateless2/decode.py \
|
./lstm_transducer_stateless2/decode.py \
|
||||||
|
@ -24,7 +24,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run_librispeech_lstm_transducer_stateless2_2022_09_03:
|
run_librispeech_lstm_transducer_stateless2_2022_09_03:
|
||||||
if: github.event.label.name == 'ready' || github.event.label.name == 'LODR' || github.event.label.name == 'shallow-fusion' || github.event_name == 'push' || github.event_name == 'schedule'
|
if: github.event.label.name == 'ready' || github.event.label.name == 'LODR' || github.event.label.name == 'shallow-fusion' || github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -116,7 +116,7 @@ jobs:
|
|||||||
.github/scripts/run-librispeech-lstm-transducer-stateless2-2022-09-03.sh
|
.github/scripts/run-librispeech-lstm-transducer-stateless2-2022-09-03.sh
|
||||||
|
|
||||||
- name: Display decoding results for lstm_transducer_stateless2
|
- name: Display decoding results for lstm_transducer_stateless2
|
||||||
if: github.event_name == 'schedule'
|
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd egs/librispeech/ASR
|
cd egs/librispeech/ASR
|
||||||
@ -130,9 +130,9 @@ jobs:
|
|||||||
find fast_beam_search -name "log-*" -exec grep -n --color "best for test-clean" {} + | sort -n -k2
|
find fast_beam_search -name "log-*" -exec grep -n --color "best for test-clean" {} + | sort -n -k2
|
||||||
find fast_beam_search -name "log-*" -exec grep -n --color "best for test-other" {} + | sort -n -k2
|
find fast_beam_search -name "log-*" -exec grep -n --color "best for test-other" {} + | sort -n -k2
|
||||||
|
|
||||||
echo "===modified beam search==="
|
# echo "===modified beam search==="
|
||||||
find modified_beam_search -name "log-*" -exec grep -n --color "best for test-clean" {} + | sort -n -k2
|
# find modified_beam_search -name "log-*" -exec grep -n --color "best for test-clean" {} + | sort -n -k2
|
||||||
find modified_beam_search -name "log-*" -exec grep -n --color "best for test-other" {} + | sort -n -k2
|
# find modified_beam_search -name "log-*" -exec grep -n --color "best for test-other" {} + | sort -n -k2
|
||||||
|
|
||||||
- name: Display decoding results for lstm_transducer_stateless2
|
- name: Display decoding results for lstm_transducer_stateless2
|
||||||
if: github.event.label.name == 'shallow-fusion'
|
if: github.event.label.name == 'shallow-fusion'
|
||||||
@ -159,7 +159,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload decoding results for lstm_transducer_stateless2
|
- name: Upload decoding results for lstm_transducer_stateless2
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: github.event_name == 'schedule' || github.event.label.name == 'shallow-fusion' || github.event.label.name == 'LODR'
|
if: github.event_name == 'schedule' || github.event.label.name == 'shallow-fusion' || github.event.label.name == 'LODR' || github.event_name == 'workflow_dispatch'
|
||||||
with:
|
with:
|
||||||
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cpu-lstm_transducer_stateless2-2022-09-03
|
name: torch-${{ matrix.torch }}-python-${{ matrix.python-version }}-ubuntu-latest-cpu-lstm_transducer_stateless2-2022-09-03
|
||||||
path: egs/librispeech/ASR/lstm_transducer_stateless2/exp/
|
path: egs/librispeech/ASR/lstm_transducer_stateless2/exp/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user