Skip to content

Commit

Permalink
Convert embeds to np array (#895)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ca-ressemble-a-du-fake authored Nov 21, 2021
1 parent 7432046 commit b7a6674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synthesizer/synthesizer_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def collate_synthesizer(batch, r, hparams):
mel = np.stack(mel)

# Speaker embedding (SV2TTS)
embeds = [x[2] for x in batch]
embeds = np.array([x[2] for x in batch])

# Index (for vocoder preprocessing)
indices = [x[3] for x in batch]
Expand Down

0 comments on commit b7a6674

Please sign in to comment.