ComfyUI_Comfyroll_CustomNodes icon indicating copy to clipboard operation
ComfyUI_Comfyroll_CustomNodes copied to clipboard

Can't generate text on Grid (because I don't know how), what are 'triggers'?

Open stephantual opened this issue 1 year ago • 4 comments

Hello! I'm following this tutorial (3rd part) which covers comfyroll XY indices. It works (kinda) but even the youtuber coudn't get it to write to the image.

More importantly, while i respect his work to introduce us to comfyroll, I find his workflow confusing -- what are 'triggers' (it's not in the documentation) and the index he set as a primitive increments all the way to infinity unless you reset it each time to '1' .

Here's why I'm trying to do: WITHOUT saving to disk, just print out sequential previews of 9 images with increasing CFG (or any other parms). In other words, i don't need a xy axis just yet (that's for later :)) - just need the X axis and the images printed to screen in preview.

Thank you for any help, because without documentation it's really hard to figure out how this all works :)

stephantual avatar Dec 28 '23 22:12 stephantual

Hello, there is documentation on CivitAI. It will be added to the Wiki soon. https://civitai.com/models/159165/comfyui-xy-grid-demos-xy-anything

The triggers are used to force execution of the nodes in the right sequence. The last image is missing because the XYGrid is generated before the last image is saved from the sampler.

I have an updated workflow that I will add to the repo that corrects the problem. I'll push it and send you a link soon. Suzie

Suzie1 avatar Dec 29 '23 18:12 Suzie1

You can download the revised workflow from here. https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/workflows/XY%20Grid/CR%20XY%20Revised%20FreeU%20Demo.json

Suzie1 avatar Dec 29 '23 18:12 Suzie1

Thank you that's very kind of you! back to it then!

stephantual avatar Dec 29 '23 20:12 stephantual

@Suzie1 I'm sorry to ask 'n00b' questions, but let's say I want to show a graph where on the X axis I have a random seed , and the Y axis I have the CFG (to keep things VERY simple). This way i can see how my model of choice with other settings of choice behave on various images at various CFGs.

Problem: if i try to use "CR INTERPOLATE" , the X expect to increment things in a 'stepwise' fashion, so I have to use "CR XY LIST", which leads me to another dead end: how do i give it a repeatable list of randomly generated seeds? Evidently "CR SEED" is what i can use but how do i make it concatenate randomly generated seed at runtime before the whole batch stuff happens? Or am i doing it complely wrong?

PS: I'm trying to use exclusive comfyroll in my workflow to reduce my dependence on nodes that are so 'opininated' they force me to use their own loaders. Your solution seems the most elegant to date!

Thank you.

stephantual avatar Dec 29 '23 22:12 stephantual