Help - Select and Load Model Error

#2032
by 28ani - opened

Hello, I'm Having a problem to start Stable Diffusion With Google Collab.
I'm new so I dont know what I'm doing wrong.
I've followed this tutorial
https://youtu.be/w_sxuDMt_V0
but when I start the Select and Load Model after a couple of seconds everithing stops and i got this error

config_path: /content/configs/v1-inference.yaml
ckpt_path: /content/drive/MyDrive/AI/models/sd-v1-4.ckpt
..checking sha256
..hash is correct


FileNotFoundError Traceback (most recent call last)

in
154
155 if load_on_run_all and ckpt_valid:
--> 156 local_config = OmegaConf.load(f"{ckpt_config_path}")
157 model = load_model_from_config(local_config, f"{ckpt_path}", half_precision=half_precision)
158 device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")

/usr/local/lib/python3.7/dist-packages/omegaconf/omegaconf.py in load(file_)
185
186 if isinstance(file_, (str, pathlib.Path)):
--> 187 with io.open(os.path.abspath(file_), "r", encoding="utf-8") as f:
188 obj = yaml.load(f, Loader=get_yaml_loader())
189 elif getattr(file_, "read", None):

FileNotFoundError: [Errno 2] No such file or directory: '/content/configs/v1-inference.yaml'

I need some help to fix this.

Edit: I've Fixed The Problem, apparently I was using a newer version of stable diffusion

28ani changed discussion status to closed

hey, im having the same issue. could you please explain what to do exactly?

Sign up or log in to comment