Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Adel-Moumen committed Apr 25, 2024
1 parent 230fc2e commit 0ba3196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/LJSpeech/TTS/vocoder/hifi_gan_unit/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def save_audio(self, name, data, epoch):
"""
target_path = pl.Path(self.hparams.progress_sample_path) / str(epoch)
target_path.mkdir(parents=True, exist_ok=True)
file_name = target_path / f"{name}.wav"
file_name = str(target_path / f"{name}.wav")
torchaudio.save(file_name, data.cpu(), 16000)


Expand Down

0 comments on commit 0ba3196

Please sign in to comment.