mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-05 15:14:18 +00:00
Fix export for pruned_stateless_emformer_rnnt2
This commit is contained in:
parent
7a4d8c9c1d
commit
283227c0c5
@ -159,6 +159,7 @@ def main():
|
|||||||
|
|
||||||
# Load id of the <blk> token and the vocab size
|
# Load id of the <blk> token and the vocab size
|
||||||
params.blank_id = token_table["<blk>"]
|
params.blank_id = token_table["<blk>"]
|
||||||
|
params.unk_id = token_table["<unk>"]
|
||||||
params.vocab_size = num_tokens(token_table) + 1 # +1 for <blk>
|
params.vocab_size = num_tokens(token_table) + 1 # +1 for <blk>
|
||||||
|
|
||||||
logging.info(params)
|
logging.info(params)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user