Skip to content

When run "python pydecoders/decode_wfst_main.py examples/hkust/conf/hkust.conf", I got an "out of range" issues: #15

@gaojingqian

Description

@gaojingqian

Traceback (most recent call last):
File "pydecoders/decode_wfst_main.py", line 89, in
decoder.decode(enc_outputs, initial_packed_states, e2e_model.inference_one_step)
File "/algdata03/jingqian.gao/code/fromGit/athena-decoder/pydecoders/decoders/wfst_decoder.py", line 80, in decode
weight_cutoff = self.process_emitting(encoder_outputs, inference_one_step_fn)
File "/algdata03/jingqian.gao/code/fromGit/athena-decoder/pydecoders/decoders/wfst_decoder.py", line 168, in process_emitting
if self.eos == np.argmax(all_log_scores[seq_id]):
IndexError: list index out of range

What can I do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions