diffusers_stablediff_conversion icon indicating copy to clipboard operation
diffusers_stablediff_conversion copied to clipboard

Error loading converted model

Open foxxfiles opened this issue 2 years ago • 0 comments

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

foxxfiles avatar Oct 03 '22 02:10 foxxfiles