Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Error in utils.py when evaluating #50

@stingerpk

Description

@stingerpk

Hello, I am using evaluating using the following command:

python evaluate.py --manifest val:/path/to/manifest.csv --model_file /path/to/librispeech_16_epochs.prm --use_wer --inference_file /path/to/results.pkl

I get the following error:

Traceback (most recent call last):
  File "evaluate.py", line 103, in <module>
    use_wer=args.use_wer)
  File "/home/ubuntu/nervana/deepspeech/speech/utils.py", line 75, in get_wer
    progress_string = get_progress_string(be.bsz, batchcount, nbatches)
  File "/home/ubuntu/nervana/deepspeech/speech/utils.py", line 23, in get_progress_string
    bar_width = int(float(bcount) / nbatches * max_bar_width)
ZeroDivisionError: float division by zero

I am using current master versions of aeon, neon and deepspeech.

Metadata

Metadata

Assignees

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