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

Image sender/receiver not working with multiple IDs #815

Open
GalaxyTimeMachine opened this issue Nov 15, 2024 · 2 comments
Open

Image sender/receiver not working with multiple IDs #815

GalaxyTimeMachine opened this issue Nov 15, 2024 · 2 comments

Comments

@GalaxyTimeMachine
Copy link

I have a workflow that worked fine using a single send/receive pair (ID0), but when I added a second pair (ID1) then the behaviour seems to be broken and the incorrect images are sent. It's hard to explain, but ID1 seems to use the image created from the previous run of the workflow.
It seems to go wrong at this point in the image below, where ID0 is showing the correct image, but it's passing the image from the last run into the node. You can see the output doesn't match the input faces.
image

The one on the left here is the newly created image, and the one on the right was from the previous run.
image

@GalaxyTimeMachine
Copy link
Author

This is definitely a problem between the input and output of the receive node. You can see that the correct image has been passed to the receiver, but the output (input b, on the left in the comparer) is still showing the previous image.
image

@GalaxyTimeMachine
Copy link
Author

I think I found out what is happening. Instead of creating the initial image first, the image receiver is loading the image it already has, from the last wf run, into the facedetailer before the first ksampler has done anything. Then the ksampler creates the initial image, passes that to the receiver, but the facedetailer has already run, so ignores the new image.
Basically, the load image behaviour of the receiver is being acted on before ksampler.

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