Skip to content

Only the last image is output when processing a list of images with a Replicate NODE #2

Open
@ShamanicArts

Description

@ShamanicArts

Only the last image is output when processing a list of images with A Replicate node

Description:
When sending a list of images to the Replicate model for processing, all images are correctly processed according to the logs and the Replicate backend. However, only the last image in the list is output to the subsequent nodes (e.g., VHS Combine node and Save Image node), while the previous images are not passed along as expected.

Steps to Reproduce
Set up nodes:

Use the Replicate model node (e.g., philz1337x/clarity-upscaler) to process a list of images.
Connect the output of the Replicate model node to both the VHS Combine node and the Save Image node.
Execute the batch:

Provide a list of images to the Replicate model node for processing.
Execute the nodes.
Expected behavior:

All processed images from the list should be output to the VHS Combine node.
All processed images should be individually saved by the Save Image node.
Actual behavior:

Only the last image in the list is output to the VHS Combine node and saved by the Save Image node. Previous images are not passed along or saved.

Possible Cause
The issue might be related to how the output from the Replicate model node is being handled or passed to subsequent nodes. It seems that only the final image in the processed list is being output, while the previous images are discarded.
Steps Taken to Resolve
Retried with smaller batches and confirmed that the issue persists.
Ensured that all nodes are correctly connected and configured.
Suggested Solution
Investigate and ensure that the node handling logic can correctly pass all images in the list to subsequent nodes rather than only the last image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions