Suzie1 / ComfyUI_Comfyroll_CustomNodes

Custom nodes for SDXL and SD1.5 including Multi-ControlNet, LoRA, Aspect Ratio, Process Switches, and many more nodes.
https://civitai.com/models/183551/comfyui-comfyroll-custom-nodes
525 stars 68 forks source link

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

Open stephantual opened 6 months ago

stephantual commented 6 months ago

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 :)

Suzie1 commented 6 months ago

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 commented 6 months ago

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

stephantual commented 6 months ago

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

stephantual commented 6 months ago

@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.