mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
[minor] batch["speaker_ids"] getting set two times (#2470)
* [minor] batch["speaker_ids"] getting set two times just to make it consistent with language_ids * Update vits.py style.
This commit is contained in:
@@ -1472,7 +1472,6 @@ class Vits(BaseTTS):
|
||||
|
||||
if speaker_ids is not None:
|
||||
speaker_ids = torch.LongTensor(speaker_ids)
|
||||
batch["speaker_ids"] = speaker_ids
|
||||
|
||||
# get d_vectors from audio file names
|
||||
if self.speaker_manager is not None and self.speaker_manager.embeddings and self.args.use_d_vector_file:
|
||||
|
||||
Reference in New Issue
Block a user