Sign In

Lora/Dataset Creator - V2

257
Lora/Dataset Creator - V2

EDIT: V2 is out! now with a video to show you around

This is a robust dataset creator for creating models and loras!

Iv built it as cleanly as I could, including the ability to toggle on "Save images" and "Save Captions"

The caption feature is experimental. I suggest only toggling these on when you are ready and happy with your images to export. Simply toggle on the settings and queue the workflow again. With all settings being fixed, it should skip all the rendering and go right to saving the files.

All files are saved in the output folder in Comfy to a "LoraData" folder. Inside that folder, you will see P1-25 folders with all your images and text files.

please note that as it stands, the workflow only saves 4 Txt files, even if you have a batch of less than 4. I have not found a way to make the amount of text files saved variable. If anyone has suggestions please message me here or on Discord about it and I can make revisions and upload a V2!

Discord: Machinedelusions

This tool is really fun for exploring a bunch of styles/subjects all at the same time!
Iv attached Global sampler settings in the bottom left, as well as global high-res fix settings. The workflow also includes an IP adapter and 3 loras, if you choose to use them.

Machinedelusions.com

257

Comments

PookieNumnums's Avatar

FIRST. Thanks MD! Love ya Buddy. This gonna help the community like mad.

flisbonwlove's Avatar

Nice work Fillip! πŸ‘πŸ™Œ

midjourney_man's Avatar

EPIC

impactframes's Avatar

this looks amazing :) thanks

ROOOOO-BUUUUSTTTT

Hmm, after installing the missing Comfy nodes, it marks the SET-nodes as red for me.
I'm talking about the ones that are between the initial prompt concatenate and the Show Text, as well as the GET-nodes plugged into the CLIP Text Encode (Prompt), in the KSampler.

Any suggestion?

Show more
Ndemar33's Avatar

I am seeing the same issue.

@mnemic Did you update everything? A lot of times, that means one of the dependencies is installed but not updated.

@cmdicely850 Yes, I took an update of everything now to be sure. It's still reporting:
When loading the graph, the following node types were not found:
GetNode
SetNode

Nodes that have failed to load will show as red on the graph.

Do you know in which pack the nodes are supposed to be?

Show more

@mnemic They are in β€œEfficiency Nodes for ComfyUI Version 2.0+”. I’ve had instances where I had to uninstall and reinstall this (update didn’t solve it) for some reason to deal with it not finding those nodes. Not sure why.

I need directions bro. This part is left out and I need to try your lora. I have images but no captions and I assumed this made captions or no????

I loaded this up and I see stuff about a cat, a man a woman but my lora I want to make is just a face so I need help.

machinedelusions's Avatar

@KINGLIFER i'll make a youtube vid with a tut soon!

Hello everyone< looking for a bit of advice because i must be missing someting on here. Heres the question...... So all my LoRas have the create and users can obviously use them,, But what i cant work out is why i spend 20 to 30 minutes uploading my safetensor files for checkpoints and they always say download, rather than having the create button... How do I get that create button to show so as people can use them like the other checkpoints on here?

When you upload the model, on the first page, there's a section called "Commercial Use". In there you have to check the 3rd row: "Use on Civitai generation service". This will allow the model to be used to create with here at Civit. Note that this setting also includes the "Sell generated image", as it essentially allows everything above as well.

just done that for 3 checkpoints but still showing as download not create. Maybe it takes a while to register the change. I'll keep an eye on them . Thank you

Hi MD, looks interesting, but what is it (just a JSON workflow?) and where's the link to where it can be downloaded? - Thanks! (I see someone on youtube asking the same thing)

machinedelusions's Avatar

hmm civit must have bugged, its fixed and uploaded now! thanks

I see the json file under attachments now - thanks.

Cosmic_Crafter's Avatar

I am getting a import failure for Allor when trying to use this workflow any idea how to fix this I can't figure out what is wrong.

fogbuoy239's Avatar

good!!!!!!!

HauntedValkyrie's Avatar

This is crazy good!

Awesome - where can I download this tool ? (newbie not ashamed here)

Cosmic_Crafter's Avatar

click the attachment button

CanisDirusPrime's Avatar

Just downloaded V2 and having an issue. The Positive and Negative prompts aren't connected to the Loader and the workflow will not run. Connected the String from the top right of the workflow (not sure if it's supposed to be or not) but have no idea how to connect all the negatives up. I'm sure you've got a single place for them all, but i can't find it.

Any help would be greatly appreciated!

Show more
machinedelusions's Avatar

add me on discord and send me some screen shots

machinedelusions

Cosmic_Crafter's Avatar

did you get a fix for the no prompt error

Ndemar33's Avatar

Is there a resolve for this ? I am seeing the same issue

@mnemic I also had the red SetNode & GetNode that I fixed by installing KJNodes for ComfyUI.
@thatCreepyGuy Allor import failed for me because of "fatal: detected dubious ownership", fixed by adding safe.directory in Git.
@CanisDirusPrime For the missing Positive & Negative prompts, I just added an empty string node and connected it to efficiency loader.

Thanks for sharing @machinedelusions !

Show more
astr010's Avatar

"I also had the red SetNode & GetNode that I fixed by installing KJNodes for ComfyUI. " this is what fixed it for me
For the missing positive and negative prompts I converted them it from input to widget and then left them blank

AI_After_Dark's Avatar

Amazing thanks for sharing. A couple of nodes are outdated though. Efficent Loader needs a prompt box connected to pos and negative prompt. I needed to switch the IpAdapter to the new one and somehow the lora stacker just went red without an error. so i replaced it with the exact same lora stacker from efficency nodes and voila it works now. https://www.dropbox.com/scl/fi/aljvm8tjoud6iccjk0i06/2024-07-01-02-44-29.png?rlkey=bx1nyc0888xzezd5nk9pnpz9s&dl=0