Skip to content

Commit

Permalink
minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorLakomkin committed Apr 28, 2017
1 parent 19adcb6 commit 608bdb1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions data/librispeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def main():
tar.close()
os.remove(target_filename)
print("Converting flac files to wav and extracting transcripts...")

assert os.path.exists(extracted_dir), "Archive {} was not properly uncompressed.".format(filename)
for root, subdirs, files in os.walk(extracted_dir):
for f in files:
Expand All @@ -99,9 +98,5 @@ def main():
create_manifest(split_dir, 'libri_' + split_type)

if __name__ == "__main__":
#_process_file(wav_dir="/informatik2/wtm/home/lakomkin/PycharmProjects/deepspeech.pytorch/data/libri/val/wav",
# txt_dir = "/informatik2/wtm/home/lakomkin/PycharmProjects/deepspeech.pytorch/data/libri/val/txt",
# root_dir="/informatik2/wtm/home/lakomkin/PycharmProjects/deepspeech.pytorch/data/libri/val/LibriSpeech/dev-clean/84/121123",
# base_filename="84-121123-0000.flac")
main()

0 comments on commit 608bdb1

Please sign in to comment.