Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does conformer support batch_size > 1 in ASR task inference? #5765

Open
Ht-zhang-xianyu opened this issue Apr 28, 2024 · 1 comment
Open
Labels
Question Question

Comments

@Ht-zhang-xianyu
Copy link

I am trying use Conformer for Aishell inference in ASR task
the pretraiend or model config I use is the follow link:
https://github.com/espnet/espnet/tree/master/egs2/aishell/asr1#conformer--specaug--speed-perturbation-featsraw-n_fft512-hop_length128
But I found the API Speech2Text in bin/asr_inference.py only supports batch_size==1
Is there some demo showing how to inference the dataset with batch_size > 1?
Thanks

@Ht-zhang-xianyu Ht-zhang-xianyu added the Question Question label Apr 28, 2024
@sw005320
Copy link
Contributor

Unfortunately, we don't support the case with batch_size > 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Question
Projects
None yet
Development

No branches or pull requests

2 participants