Comfy-Org / Comfy-Org/ComfyUI

When using the "Batch Count" buttons, all images are saved with the metadata for the first image

Open
#1,388 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

To understand and reproduce:
Let us look first at the case where it works correctly:
Use the attached (extremely basic) workflow and press the queue button five times.
You get 5 images.
Drag any of the 5 images back into ComfyUI and press queue.
Result: the image is reproduced, as expected.

Now the scenario where it fails:
Instead of pressing "queue" 5 times, check "Extra Options", set batch size to 5, then click "Queue" once.
Again, you get 5 images.
Reset batch size to 1.
Drag any of the 5 images back into ComfyUI and press queue.
Result: the first of the five images is reproduced, no matter which of the five you dragged in.
In other words: images 2,3,4 and 5 cannot be reproduced.
![ComfyUI_00001_](https://github.com/comfyanonymous/ComfyUI/assets/123109169/747cd2a9-29cf-4f80-ac32-6d23580a3429)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.