lllyasviel / lllyasviel/ControlNet

No such file or directory: '/content/models/cldm_v15.yaml

Open
#425 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
34.1k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

!python ControlNet/gradio_canny2image.py

logging improved.
Traceback (most recent call last):
File "/content/ControlNet/gradio_canny2image.py", line 20, in
model = create_model('./models/cldm_v15.yaml').cpu()
File "/content/ControlNet/cldm/model.py", line 25, in create_model
config = OmegaConf.load(config_path)
File "/usr/local/lib/python3.10/site-packages/omegaconf/omegaconf.py", line 183, in load
with io.open(os.path.abspath(file_), "r", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/content/models/cldm_v15.yaml'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ControlNet/gradio_canny2image.py at the model creation call, then read ControlNet/cldm/model.py where create_model loads the configuration. Reproduce the command and verify the referenced cldm_v15.yaml is available at the expected path; done means the script gets past this FileNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.