Skip to content

Commit

Permalink
Use modified ctc topo when vocab size is > 500 (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Sep 13, 2022
1 parent 9e24642 commit 145c44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion egs/librispeech/ASR/conformer_ctc/pretrained.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def main():

H = k2.ctc_topo(
max_token=max_token_id,
modified=False,
modified=params.num_classes > 500,
device=device,
)

Expand Down

0 comments on commit 145c44f

Please sign in to comment.