FileNotFoundError

#76
by VinamraYadav - opened

I am facing a issue during "Select and Load Model". Can anyone guide me how to solve this?

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 am facing the exact same issue.
Were you able to fix it?

Sign up or log in to comment