Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entry Not Found for url: https://huggingface.co/lllyasviel/ControlNet/resolve/main/ControlNetHED.pth. #137

Open
TensorFlowing opened this issue Jul 8, 2023 · 1 comment

Comments

@TensorFlowing
Copy link

root@3776108399f0:/mmagic# python demo/gradio_controlnet_animation.py
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 259, in hf_raise_for_status
response.raise_for_status()
File "/opt/conda/lib/python3.8/site-packages/requests/models.py", line 960, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/lllyasviel/ControlNet/resolve/main/ControlNetHED.pth

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "demo/gradio_controlnet_animation.py", line 6, in
editor = MMagicInferencer(model_name='controlnet_animation')
File "/mmagic/mmagic/apis/mmagic_inferencer.py", line 139, in init
self.inferencer = Inferencers(
File "/mmagic/mmagic/apis/inferencers/init.py", line 86, in init
self.inferencer = ControlnetAnimationInferencer(config)
File "/mmagic/mmagic/apis/inferencers/controlnet_animation_inferencer.py", line 79, in init
self.hed = HEDdetector.from_pretrained(cfg.control_detector)
File "/opt/conda/lib/python3.8/site-packages/controlnet_aux/hed/init.py", line 70, in from_pretrained
model_path = hf_hub_download(pretrained_model_or_path, filename, cache_dir=cache_dir)
File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1195, in hf_hub_download
metadata = get_hf_file_metadata(
File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/file_download.py", line 1541, in get_hf_file_metadata
hf_raise_for_status(r)
File "/opt/conda/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 269, in hf_raise_for_status
raise EntryNotFoundError(message, response) from e
huggingface_hub.utils._errors.EntryNotFoundError: 404 Client Error. (Request ID: Root=1-64a8ba66-5253949f51e003cb24847907)

Entry Not Found for url: https://huggingface.co/lllyasviel/ControlNet/resolve/main/ControlNetHED.pth.

@JarvusChen
Copy link

There are some differences with the latest lllyasviel Controlnet, you can modify anythingv3_config.py with

control_detector = 'lllyasviel/Annotators'

instead of

control_detector = 'lllyasviel/ControlNet'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants