TypeError: ('Invalid argument to class speechbrain.decoders.S2STransformerBeamSearcher', "S2SBeamSearcher.__init__() got an unexpected keyword argument 'blank_index'")
#1
by
Ruwow
- opened
I run your code with my .wave file but I got an error.
TypeError: ('Invalid argument to class speechbrain.decoders.S2STransformerBeamSearcher', "S2SBeamSearcher.init() got an unexpected keyword argument 'blank_index'")
I believe that problem is in hyperparams.yaml file. What should I fix? or any advice?
decoder: !new:speechbrain.decoders.S2STransformerBeamSearch
modules: [!ref , !ref , null]
bos_index: !ref
eos_index: !ref
blank_index: !ref
min_decode_ratio: !ref
max_decode_ratio: !ref
beam_size: !ref
using_eos_threshold: True
length_normalization: True
ctc_weight: 0
lm_weight: 0