Skip to content

Commit

Permalink
Fixed bug in create_gta_features where enumeated over int
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Jul 29, 2019
1 parent c549267 commit 54bb541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train_tacotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def create_gta_features(model: Tacotron, train_set, save_path: Path):

gta = gta.cpu().numpy()

for j, item_id in enumerate(len(ids)):
for j, item_id in enumerate(ids):
mel = gta[j][:, :mel_lens[j]]
mel = (mel + 4) / 8
np.save(save_path/f'{item_id}.npy', mel, allow_pickle=False)
Expand Down

0 comments on commit 54bb541

Please sign in to comment.