Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix Python 3 compatibility in example/speech_recognition (#17354)
Browse files Browse the repository at this point in the history
  • Loading branch information
moneypi authored and leezu committed Jan 19, 2020
1 parent 49df604 commit 566905f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/speech_recognition/stt_io_bucketingiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(self, count, datagen, batch_size, num_label, init_states, seq_lengt
durations = durations
audio_paths = audio_paths
texts = texts
self.trainDataList = zip(durations, audio_paths, texts)
self.trainDataList = list(zip(durations, audio_paths, texts))

self.trainDataIter = iter(self.trainDataList)
self.is_first_epoch = True
Expand Down

0 comments on commit 566905f

Please sign in to comment.