mozilla / DSAlign

DeepSpeech based forced alignment tool
Mozilla Public License 2.0
235 stars 33 forks source link

Excluded {} empty transcripts error #20

Closed lunixbochs closed 4 years ago

lunixbochs commented 4 years ago
Traceback (most recent call last):
  File "align/align.py", line 673, in <module>
    main()
  File "align/align.py", line 640, in main
    logging.debug('Excluded {} empty transcripts'.format(len(transcripts) - len(fragments)))
TypeError: object of type 'IMapIterator' has no len()
tilmankamp commented 4 years ago

Fixed as part of 7fa6773bc470790def5f38ea2453ea34cb628d5a .