#!/usr/bin/env bash set -x K2_ROOT=/ceph-hw/kangwei/code/k2_release/k2 ICEFALL=/star-kw/kangwei/code/icefall_wenetspeech export PYTHONPATH=$K2_ROOT/k2/python:$PYTHONPATH export PYTHONPATH=$K2_ROOT/build/lib:$PYTHONPATH export PYTHONPATH=$ICEFALL:$PYTHONPATH export CUDA_VISIBLE_DEVICES="6" ./zipformer/pretrained.py \ --checkpoint zipformer/exp_L_causal_context_2/pretrained.pt \ --causal 1 \ --chunk-size 16 \ --left-context-frames 128 \ --tokens data/lang_char/tokens.txt \ --method greedy_search \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000001.wav \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000002.wav ./zipformer/pretrained.py \ --checkpoint zipformer/exp_L_causal_context_2/pretrained.pt \ --causal 1 \ --chunk-size 16 \ --left-context-frames 256 \ --tokens data/lang_char/tokens.txt \ --method greedy_search \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000001.wav \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000002.wav ./zipformer/pretrained.py \ --checkpoint zipformer/exp_L_causal_context_2/pretrained.pt \ --causal 1 \ --chunk-size 32 \ --left-context-frames 256 \ --tokens data/lang_char/tokens.txt \ --method greedy_search \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000001.wav \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000002.wav ./zipformer/jit_pretrained_streaming.py \ --nn-model-filename ./zipformer/exp_L_causal_context_2/jit_script_chunk_16_left_128.pt \ --tokens data/lang_char/tokens.txt \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav ./zipformer/jit_pretrained_streaming.py \ --nn-model-filename ./zipformer/exp_L_causal_context_2/jit_script_chunk_16_left_256.pt \ --tokens data/lang_char/tokens.txt \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav ./zipformer/jit_pretrained_streaming.py \ --nn-model-filename ./zipformer/exp_L_causal_context_2/jit_script_chunk_32_left_256.pt \ --tokens data/lang_char/tokens.txt \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav ./zipformer/onnx_pretrained-streaming.py \ --encoder-model-filename zipformer/exp_L_causal_context_2/encoder-epoch-12-avg-4-chunk-16-left-128.onnx \ --decoder-model-filename zipformer/exp_L_causal_context_2/decoder-epoch-12-avg-4-chunk-16-left-128.onnx \ --joiner-model-filename zipformer/exp_L_causal_context_2/joiner-epoch-12-avg-4-chunk-16-left-128.onnx \ --tokens data/lang_char/tokens.txt \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav ./zipformer/onnx_pretrained-streaming.py \ --encoder-model-filename zipformer/exp_L_causal_context_2/encoder-epoch-12-avg-4-chunk-16-left-256.onnx \ --decoder-model-filename zipformer/exp_L_causal_context_2/decoder-epoch-12-avg-4-chunk-16-left-256.onnx \ --joiner-model-filename zipformer/exp_L_causal_context_2/joiner-epoch-12-avg-4-chunk-16-left-256.onnx \ --tokens data/lang_char/tokens.txt \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav ./zipformer/onnx_pretrained-streaming.py \ --encoder-model-filename zipformer/exp_L_causal_context_2/encoder-epoch-12-avg-4-chunk-32-left-256.onnx \ --decoder-model-filename zipformer/exp_L_causal_context_2/decoder-epoch-12-avg-4-chunk-32-left-256.onnx \ --joiner-model-filename zipformer/exp_L_causal_context_2/joiner-epoch-12-avg-4-chunk-32-left-256.onnx \ --tokens data/lang_char/tokens.txt \ /ceph-kw/kangwei/code/pretrained/icefall_asr_wenetspeech_pruned_transducer_stateless2/test_wavs/DEV_T0000000000.wav