sd-webui-controlnet
sd-webui-controlnet copied to clipboard
[Bug]: 1.447以后得版本,api调用重绘功能失效,不报错。但是图片出来的很随机,像没有识别到上传的图片和蒙版
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits of both this extension and the webui
What happened?
1.447以后得版本,使用api调用inpaint_only,不生效
Steps to reproduce the problem
1:选择模型,上传图片,涂抹图片
2:然后提交请求,接口参数如下
但是得到的结果是很随机的图片
What should have happened?
我认为应该得到yizhang一张没有耳机线的猫
Commit where the problem happens
webui: 秋叶 controlnet: Revision: cbc7ef334c82f254b9521498941e0f1dc421711b Author: Chenlei Hu [email protected] Date: 2024/5/20 2:36:29 Message: 📝 Update to version v1.1.449 (#2908)
What browsers do you use to access the UI ?
No response
Command Line Arguments
No
List of enabled extensions
Console logs
Python 3.10.11 | packaged by conda-forge | (main, May 10 2023, 18:51:25) [MSC v.1934 64 bit (AMD64)]
Version: v1.10.0
Commit hash: c19d04436496ab29ddca4758a792831ae41b31de
Installing sd-webui-controlnet requirement: changing opencv-python version from 4.10.0.84 to 4.8.0
CUDA 12.1
Launching Web UI with arguments: --theme light --xformers --xformers-flash-attention --api --autolaunch --server-name 0.0.0.0 --enable-insecure-extension-access --cors-allow-origins http://192.168.10.2:5678/,http://192.168.10.2:5678,http://192.168.10.6:5678/,http://192.168.10.6:5678,http://192.168.10.5:5678/,http://192.168.10.5:5678,192.168.10.2:5678,192.168.10.6:5678,192.168.10.5:5678 --skip-python-version-check
Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
Total VRAM 12288 MB, total RAM 32453 MB
xformers version: 0.0.26.post1
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
VAE dtype: torch.bfloat16
Fooocus V2 Expansion: Vocab with 642 words.
Fooocus Expansion engine loaded for cuda:0, use_fp16 = True.
ControlNet preprocessor location: G:\sd-webui-aki-v4.4\sd-webui-aki-v4.4\extensions\sd-webui-controlnet\annotator\downloads
2024-10-14 18:07:09,264 - ControlNet - INFO - ControlNet v1.1.449
sd-webui-prompt-all-in-one background API service started successfully.
18:07:10 - ReActor - STATUS - Running v0.7.0-b7 on Device: CUDA
Loading weights [33e58e8668] from G:\sd-webui-aki-v4.4\sd-webui-aki-v4.4\models\Stable-diffusion\JuggernautXL_XI.safetensors
2024-10-14 18:07:12,348 - ControlNet - INFO - ControlNet UI callback registered.
Creating model from config: G:\sd-webui-aki-v4.4\sd-webui-aki-v4.4\repositories\generative-models\configs\inference\sd_xl_base.yaml
Running on local URL: http://0.0.0.0:7860
To create a public link, set `share=True` in `launch()`.
Startup time: 42.3s (prepare environment: 20.7s, import torch: 5.5s, import gradio: 1.1s, setup paths: 1.6s, initialize shared: 0.3s, other imports: 0.8s, load scripts: 5.4s, create ui: 1.1s, gradio launch: 4.6s, add APIs: 0.8s, app_started_callback: 0.2s).
Applying attention optimization: xformers... done.
Model loaded in 14.9s (load weights from disk: 1.4s, create model: 1.4s, apply weights to model: 10.6s, apply half(): 0.6s, move model to device: 0.2s, load textual inversion embeddings: 0.2s, calculate empty prompt: 0.4s).
---------------------------更换模型 dreamshaper_8.safetensors
Additional information
No response
我也遇到类似这样的问题,api调用时,蒙板图没输出,最终效果是按prompt出的,没有受controlnet的canny等模型控制。 你这个问题后来解决了吗?