Skip to content

Error loading converted model #2

@foxxfiles

Description

@foxxfiles

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions