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: (...) ZoeD_M12_N.pt #108

Open
tin2tin opened this issue Jul 3, 2024 · 3 comments
Open

Entry Not Found for url: (...) ZoeD_M12_N.pt #108

tin2tin opened this issue Jul 3, 2024 · 3 comments

Comments

@tin2tin
Copy link

tin2tin commented Jul 3, 2024

Getting this error:
Entry Not Found for url: https://huggingface.co/lllyasviel/ControlNet/resolve/main/ZoeD_M12_N.pt

When trying to run this:

from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline, AutoencoderKL
from diffusers import DDIMScheduler, EulerAncestralDiscreteScheduler
from PIL import Image
import torch
import random
import numpy as np
import cv2

from controlnet_aux import MidasDetector, ZoeDetector

processor_zoe = ZoeDetector.from_pretrained('lllyasviel/ControlNet')
processor_midas = MidasDetector.from_pretrained('lllyasviel/ControlNet')
@asomoza
Copy link
Member

asomoza commented Jul 3, 2024

Hi, why are you using that repo? Is there somewhere an example that says to use them like that?

The examples in this repo's README work and are the correct way to use them:

zoe = ZoeDetector.from_pretrained("lllyasviel/Annotators")
midas = MidasDetector.from_pretrained("lllyasviel/Annotators")

@tin2tin
Copy link
Author

tin2tin commented Jul 3, 2024

Thanks, it's from this example: https://huggingface.co/xinsir/controlnet-depth-sdxl-1.0

@asomoza
Copy link
Member

asomoza commented Jul 3, 2024

thanks, I'll try to ask them to change it to a correct one.

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