You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While converting a KSampler control that specifies a fixed seed value, this extension's code always creates:
seed=random.randint(1, 2**64)
... regardless of the provided seed value and the "fixed" specifier in the "control_after_generate" field.
This issue comes up while creating a series of images that use a "ConditioningAverage" control to morph between two text descriptions. If the original seed value is manually entered instead of random.randint(1, 2**64), the code works as expected.
The text was updated successfully, but these errors were encountered:
Unfortunately, this was likely originally implemented to conform to the most common usage of KSampler to generate different images. In my fork, I added a way to pass values as command-like args in the exported .py file, but there isn't currently a good way to set a seed.
The best way I can think of would be to create a set seed would be to use a Primitive node that is not the vanilla ComfyUI primitive (which is simplified in the export to a value), set it to the value you want, and connect it to the seed for KSampler.
Here's what I mean:
This uses the Primitive Integer from Crystools and the SaveAsScript fork.
While converting a KSampler control that specifies a fixed seed value, this extension's code always creates:
seed=random.randint(1, 2**64)
... regardless of the provided seed value and the "fixed" specifier in the "control_after_generate" field.
This issue comes up while creating a series of images that use a "ConditioningAverage" control to morph between two text descriptions. If the original seed value is manually entered instead of
random.randint(1, 2**64)
, the code works as expected.The text was updated successfully, but these errors were encountered: