-
Notifications
You must be signed in to change notification settings - Fork 18
[BUG]Generated too many png and out file when use controlnet #97
Description
What happened:
too many png and out file generated when use controlnet,The expectation is to produce 1 picture
To Reproduce
use this prompt
{
"prompt": "(masterpiece, best quality), 1girl, flower, solo, dress, holding, sky, cloud, hat, outdoors, bangs, bouquet, rose, expressionless, blush, pink hair, flower field, red flower, pink eyes, white dress, looking at viewer, midium hair, holding flower, small breasts, red rose, holding bouquet, sun hat, white headwear, depth of field",
"negative_prompt": "EasyNegativeV2, nude, disfigured, blurry",
"steps": 20,
"n_iter": 1,
"seed": -1,
"width": 512,
"height": 640,
"sampler_index":"DPM++ 2M Karras",
"alwayson_scripts": {
"task": "text-to-image",
"sd_model_checkpoint": "majicmixRealistic_v6.safetensors",
"id_task": "888",
"uid": "123",
"save_dir": "outputs",
"controlnet":{
"args":[
{
"image_link":"https://dgitkh42tyfmp.cloudfront.net/pose2.png",
"enabled": true,
"module": "openpose",
"model": "control_v11p_sd15_openpose",
"weight": 1,
"control_mode":0,
"processor_res":512
}
]
}
}
}
2024-03-07 03:19:20 INFO [modules.shared_state] Ending job scripts_txt2img (1.36 seconds)
Total progress: 100%|██████████| 16/16 [00:01<00:00, 15.32it/s]
API 2024-03-07 03:19:20.370976 200 http/1.1 POST /sdapi/v1/txt2img 127.0.0.1 1.8122
2024-03-07 03:19:42 INFO [modules.shared_state] Starting job scripts_txt2img
2024-03-07 03:19:42,752 - ControlNet - INFO - unit_separate = False, style_align = False
2024-03-07 03:19:42,946 - ControlNet - INFO - Loading model: control_v11p_sd15_openpose [cab727d4]
2024-03-07 03:19:47,070 - ControlNet - INFO - Loaded state_dict from [/tmp/models/controlnet/control_v11p_sd15_openpose.pth]
2024-03-07 03:19:47,070 - ControlNet - INFO - controlnet_default_config
2024-03-07 03:19:49,384 - ControlNet - INFO - ControlNet model control_v11p_sd15_openpose cab727d4 loaded.
2024-03-07 03:19:49,439 - ControlNet - INFO - Using preprocessor: openpose
2024-03-07 03:19:49,440 - ControlNet - INFO - preprocessor resolution = 512
Downloading: "https://huggingface.co/lllyasviel/Annotators/resolve/main/body_pose_model.pth" to /opt/ml/code/extensions/sd-webui-controlnet/annotator/downloads/openpose/body_pose_model.pth
100%|██████████| 200M/200M [00:00<00:00, 387MB/s]
Downloading: "https://huggingface.co/lllyasviel/Annotators/resolve/main/hand_pose_model.pth" to /opt/ml/code/extensions/sd-webui-controlnet/annotator/downloads/openpose/hand_pose_model.pth
100%|██████████| 141M/141M [00:00<00:00, 237MB/s]
Downloading: "https://huggingface.co/lllyasviel/Annotators/resolve/main/facenet.pth" to /opt/ml/code/extensions/sd-webui-controlnet/annotator/downloads/openpose/facenet.pth
100%|██████████| 147M/147M [00:00<00:00, 243MB/s]
2024-03-07 03:19:53,299 - ControlNet - INFO - ControlNet Hooked - Time = 10.551228046417236
2024-03-07 03:19:56 INFO [modules.shared_state] Ending job scripts_txt2img (14.02 seconds)
Total progress: 100%|██████████| 20/20 [00:03<00:00, 6.65it/s]
API 2024-03-07 03:19:56.985535 200 http/1.1 POST /sdapi/v1/txt2img 127.0.0.1 14.2427
API 2024-03-07 03:20:01.584428 200 http/1.1 GET /sdapi/v1/options 127.0.0.1 0.0034
2024-03-07 03:20:12 INFO [modules.shared_state] Starting job scripts_txt2img
2024-03-07 03:20:12,810 - ControlNet - INFO - unit_separate = False, style_align = False
2024-03-07 03:20:12,878 - ControlNet - INFO - Loading model from cache: control_v11p_sd15_openpose
2024-03-07 03:20:12,908 - ControlNet - INFO - Using preprocessor: openpose
2024-03-07 03:20:12,908 - ControlNet - INFO - preprocessor resolution = 512
2024-03-07 03:20:12,927 - ControlNet - INFO - ControlNet Hooked - Time = 0.12034225463867188
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
use same prompt
Anything else we need to know?:
v1.0.0-rc.1
