AASHISHAG / deepspeech-german

Automatic Speech Recognition (ASR) - German
Apache License 2.0
313 stars 36 forks source link

split_by_length_of_utterances is no longer available in audiomate #10

Closed TheLexoPlexx closed 4 years ago

TheLexoPlexx commented 4 years ago

...and therefore results in: AttributeError: 'Splitter' object has no attribute 'split_by_length_of_utterances

Possible fix could be replacing it with split. That worked for me at least.

Correction for deepspeech-german/pre-processing/prepare_data.py would be: splits = splitter.split(proportions={'train': 0.7, 'dev': 0.15, 'test': 0.15}, separate_issuers=True)

AASHISHAG commented 4 years ago

Thank you, for pointing out. The other possible fix is reverting to older version of audiomate.

AASHISHAG commented 4 years ago

The correct audiomate version suited for current scripts is audiomate==3.0.0

In case you happen to use the latest version correct the scripts according to @TheLexoPlexx comment.

Closing the issue.