Closed Starlento closed 1 year ago
I do not find a way to directly use this script on input image in img2img. It is always triggering the img2img normal algorithm. If the script does not prevent that, how to do the same task of the huggingface API in WEBUI?
You have to use Depth model (like this) and set Denoising strength to 0
Does anyone know where to find the yalm file of that model in order to load onto webui?
Does anyone know where to find the yalm file of that model in order to load onto webui?
There is guide in webui WIKI for SD 2.0: https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#depth-guided-model. And the file link: https://raw.githubusercontent.com/Stability-AI/stablediffusion/main/configs/stable-diffusion/v2-midas-inference.yaml
thank you, but seems that someting is off on the file:
Loading weights [59cb052d44] from C:\stable-diffusion-webui\models\Stable-diffusion\512-depth-ema.safetensors
changing setting sd_model_checkpoint to 512-depth-ema.safetensors: RuntimeError
Traceback (most recent call last):
File "C:\stable-diffusion-webui\modules\shared.py", line 536, in set
self.data_labels[key].onchange()
File "C:\stable-diffusion-webui\modules\call_queue.py", line 15, in f
res = func(*args, **kwargs)
File "C:\stable-diffusion-webui\webui.py", line 84, in
I do not find a way to directly use this script on input image in img2img. It is always triggering the img2img normal algorithm. If the script does not prevent that, how to do the same task of the huggingface API in WEBUI?