-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Loading model from models/ldm/stable-diffusion-v1/model.ckpt
Traceback (most recent call last):
File ".\optimizedSD\txt2img_gradio.py", line 46, in
sd = load_model_from_config(f"{ckpt}")
File ".\optimizedSD\txt2img_gradio.py", line 38, in load_model_from_config
pl_sd = torch.load(ckpt, map_location="cpu")
File "C:\Users\ferna\AppData\Roaming\Python\Python38\site-packages\torch\serialization.py", line 705, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "C:\Users\ferna\AppData\Roaming\Python\Python38\site-packages\torch\serialization.py", line 242, in init
super(_open_zipfile_reader, self).init(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Problem Loading converted model