遇到相同的问题:
$ python gradio_demo.py
Traceback (most recent call last):
File "/opt/soft/llm/Westlake-Omni/gradio_demo.py", line 12, in
vqm = load_vqgan(checkpoint_path, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/soft/llm/Westlake-Omni/generate.py", line 372, in load_vqgan
state_dict = torch.load(ckpt_path / "firefly-gan-vq-fsq-8x1024-21hz-generator.pth")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/english/miniconda3/envs/westlakeOmni/lib/python3.11/site-packages/torch/serialization.py", line 997, in load
with _open_file_like(f, 'rb') as opened_file:
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/english/miniconda3/envs/westlakeOmni/lib/python3.11/site-packages/torch/serialization.py", line 444, in _open_file_like
return _open_file(name_or_buffer, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/english/miniconda3/envs/westlakeOmni/lib/python3.11/site-packages/torch/serialization.py", line 425, in init
super().init(open(name, mode))
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'ckpt/firefly-gan-vq-fsq-8x1024-21hz-generator.pth'
如题,目录下的内容缺失导致无法正常启动,我在fishaudio/fish-speech-1.4下找到目标文件,但是config.json的配置项跟代码不匹配,请问在哪可以直接获取ckpt目录下的压缩包?