浏览代码

Add generator only weight

Lengyue 2 年之前
父节点
当前提交
ba1f1da9ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fish_speech/models/vqgan/modules/firefly.py

+ 1 - 1
fish_speech/models/vqgan/modules/firefly.py

@@ -503,7 +503,7 @@ class FireflyBase(nn.Module):
             self.load_state_dict(torch.load(ckpt_path, map_location="cpu"))
         elif pretrained:
             state_dict = torch.hub.load_state_dict_from_url(
-                "https://github.com/fishaudio/vocoder/releases/download/1.0.0/firefly-gan-base.ckpt",
+                "https://github.com/fishaudio/vocoder/releases/download/1.0.0/firefly-gan-base-generator.ckpt",
                 map_location="cpu",
             )