Skip to content

Commit

Permalink
fix dataloader factory, test=asr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackwaterveg committed Aug 2, 2022
1 parent 070a08f commit 060e337
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paddlespeech/s2t/io/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ def get_dataloader(mode: str, config, args):
config['mini_batch_size'] = args.ngpu
config['subsampling_factor'] = 1
config['num_encs'] = 1
config['shortest_first'] = False
elif mode == 'valid':
config['manifest'] = config.dev_manifest
config['train_mode'] = False
Expand Down

0 comments on commit 060e337

Please sign in to comment.