Skip to content

Commit

Permalink
[paraformer] fix input dim
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Jan 8, 2024
1 parent 3e2820b commit 14352a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wenet/utils/train_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ def check_modify_and_save_config(args, configs, symbol_table):
'num_mel_bins']
else:
input_dim = configs['dataset_conf']['mfcc_conf']['num_mel_bins']
else:
input_dim = configs['input_dim']

configs, _ = get_blank_id(configs, symbol_table)

Expand Down

0 comments on commit 14352a4

Please sign in to comment.