mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 10:16:14 +00:00
minor updates
This commit is contained in:
parent
5a4b712c99
commit
9e9bc7593e
@ -46,8 +46,6 @@ for how to use the exported models outside of icefall.
|
|||||||
|
|
||||||
(2) Export `model.state_dict()`
|
(2) Export `model.state_dict()`
|
||||||
|
|
||||||
- For non-streaming model:
|
|
||||||
|
|
||||||
./zipformer/export.py \
|
./zipformer/export.py \
|
||||||
--exp-dir ./zipformer/exp \
|
--exp-dir ./zipformer/exp \
|
||||||
--epoch 30 \
|
--epoch 30 \
|
||||||
@ -57,8 +55,6 @@ for how to use the exported models outside of icefall.
|
|||||||
It will generate a file `pretrained.pt` in the given `exp_dir`. You can later
|
It will generate a file `pretrained.pt` in the given `exp_dir`. You can later
|
||||||
load it by `icefall.checkpoint.load_checkpoint()`.
|
load it by `icefall.checkpoint.load_checkpoint()`.
|
||||||
|
|
||||||
- For non-streaming model:
|
|
||||||
|
|
||||||
To use the generated file with `zipformer/decode.py`,
|
To use the generated file with `zipformer/decode.py`,
|
||||||
you can do:
|
you can do:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user