RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory #1675
Unanswered
LuckyJack20
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Whenever I try to generate a prompt it keeps saying RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory and has a long list like this
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 563, in _run_script
exec(code, module.dict)
File "C:\Stable\sygil-webui-master\scripts\webui_streamlit.py", line 203, in
layoupackages\streamlit\runtime\scriptrunner\script_runner.py", line 563, in run_script
exec(code, module.dict)
File "C:\Stable\sygil-webui-master\scripts\webui_streamlit.py", line 203, in
layout()
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\loguru_logger.py", line 1226, in catch_wrapper
return function(*args, **kwargs)
File "C:\Stable\sygil-webui-master\scripts\webui_streamlit.py", line 136, in layout
layout()t()
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\loguru_logger.py", line 1226, in catch_wrapper
return function(*args, **kwargs)
File "C:\Stable\sygil-webui-master\scripts\webui_streamlit.py", line 136, in layout
layout()
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\loguru_logger.py", line 1226, in catch_wrapper
return function(*args, **kwargs)
File "scripts\txt2img.py", line 657, in layout
load_models(use_LDSR=st.session_state["use_LDSR"], LDSR_model=st.session_state["LDSR_model"],
File "scripts\sd_utils_init.py", line 445, in load_models
config, device, model, modelCS, modelFS = load_sd_model(custom_model)
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\retry\api.py", line 73, in retry_decorator
return __retry_internal(partial(f, *args, **kwargs), exceptions, tries, delay, max_delay, backoff, jitter,
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\retry\api.py", line 33, in retry_internal
return f()
File "scripts\sd_utils_init.py", line 1557, in load_sd_model
model = load_model_from_config(config, ckpt_path)
File "scripts\sd_utils_init.py", line 482, in load_model_from_config
pl_sd = torch.load(ckpt, map_location="cpu")
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\torch\serialization.py", line 705, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "C:\Users\Danie\miniconda3\envs\ldm\lib\site-packages\torch\serialization.py", line 243, in init
super(_open_zipfile_reader, self).init(torch._C.PyTorchFileReader(name_or_buffer))
Pls help.
Beta Was this translation helpful? Give feedback.
All reactions