huggingface / controlnet_aux

Apache License 2.0
400 stars 86 forks source link

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

Open tin2tin opened 4 months ago

tin2tin commented 4 months ago

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 commented 4 months ago

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 commented 4 months ago

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

asomoza commented 4 months ago

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