You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "optimizedSD/optimized_img2img.py", line 191, in
sd = load_model_from_config(f"{ckpt}")
File "optimizedSD/optimized_img2img.py", line 30, in load_model_from_config
pl_sd = torch.load(ckpt, map_location="cpu")
File "\miniconda3\envs\ldm\lib\site-packages\torch\serialization.py", line 699, in load
with _open_file_like(f, 'rb') as opened_file:
File "\miniconda3\envs\ldm\lib\site-packages\torch\serialization.py", line 231, in _open_file_like
return _open_file(name_or_buffer, mode)
File "~~\miniconda3\envs\ldm\lib\site-packages\torch\serialization.py", line 212, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'models/ldm/stable-diffusion-v1/model.ckpt'
User directory replaced with ~~
A similar error comes up when using a 32 bit version of miniconda.
Might possibly be a configuration issue on my end, it could be I missed the installation of a dependancy.
I could replicate this error on a different system too, but havent found the reason for it.
The text was updated successfully, but these errors were encountered:
Select "stable-diffusion-v-1-4-original" and then "sd-v1-4.ckpt".
The file is around 5GB.
After it's downloaded, move it to location "models/ldm/stable-diffusion-v1/" and rename it into model.cpkt
Using img2img within miniconda raises the error:
Traceback (most recent call last):
File "optimizedSD/optimized_img2img.py", line 191, in
sd = load_model_from_config(f"{ckpt}")
File "optimizedSD/optimized_img2img.py", line 30, in load_model_from_config
pl_sd = torch.load(ckpt, map_location="cpu")
File "
\miniconda3\envs\ldm\lib\site-packages\torch\serialization.py", line 699, in load\miniconda3\envs\ldm\lib\site-packages\torch\serialization.py", line 231, in _open_file_likewith _open_file_like(f, 'rb') as opened_file:
File "
return _open_file(name_or_buffer, mode)
File "~~\miniconda3\envs\ldm\lib\site-packages\torch\serialization.py", line 212, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'models/ldm/stable-diffusion-v1/model.ckpt'
User directory replaced with ~~
A similar error comes up when using a 32 bit version of miniconda.
Might possibly be a configuration issue on my end, it could be I missed the installation of a dependancy.
I could replicate this error on a different system too, but havent found the reason for it.
The text was updated successfully, but these errors were encountered: