From 8450c77933df7bd370081521b4fd29d7c2fac213 Mon Sep 17 00:00:00 2001 From: komisteng Date: Thu, 5 Sep 2024 17:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=AF=BC=E5=87=BA=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E8=87=AA=E5=AE=9A=E4=B9=89=E7=9A=84=E5=A3=B0=E7=A0=81?= =?UTF-8?q?=E5=99=A8=E5=8C=85=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment/exporters/acoustic_exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/exporters/acoustic_exporter.py b/deployment/exporters/acoustic_exporter.py index 4f0f533e..fd42c0f5 100644 --- a/deployment/exporters/acoustic_exporter.py +++ b/deployment/exporters/acoustic_exporter.py @@ -122,7 +122,7 @@ def export_attachments(self, path: Path): 'phonemes': f'{self.model_name}.phonemes.txt', 'acoustic': f'{model_name}.onnx', 'hidden_size': hparams['hidden_size'], - 'vocoder': 'nsf_hifigan_44.1k_hop512_128bin_2024.02', + 'vocoder': hparams['vocoder_ckpt'].split("/")[-2], } # multi-speaker if len(self.export_spk) > 0: