Skip to content

How to use OWSM model? Getting TypeError in Speech2Text.from_pretrained() #5723

Answered by sw005320
cifkao asked this question in Q&A
Discussion options

You must be logged in to vote

It should be espnet2.bin.s2t_inference not espnet2.bin.asr_inference

@pyf98, we encountered this misuse in two cases.

  • Is there a way to avoid this issue? (at least provide some more meaningful error messages?)
  • We have to update "Use in ESPnet" in
This actually shows `espnet2.bin.asr_inference`

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cifkao
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants