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

[Bug]: 1.447以后得版本,api调用重绘功能失效,不报错。但是图片出来的很随机,像没有识别到上传的图片和蒙版 #3062

Open
1 task done
zelangchen opened this issue Oct 14, 2024 · 0 comments

Comments

@zelangchen
Copy link

Is there an existing issue for this?

  • 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:选择模型,上传图片,涂抹图片
1728898766995
2:然后提交请求,接口参数如下
1728898958825
但是得到的结果是很随机的图片

What should have happened?

我认为应该得到yizhang一张没有耳机线的猫
1728896409270878

Commit where the problem happens

webui: 秋叶
controlnet:
Revision: cbc7ef3
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

1728899257824

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

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

1 participant