A utility node for InvokeAI 6 designed for LoRA dataset creation. It takes a master collection of strings (formatted as WidthxHeight|Path) and breaks them into three synchronized collections: Widths (Int), Heights (Int), and Paths/Prompts (String). This allows for automated batch processing of images with varying aspect ratios without manual configuration for each shot.
- Create a folder called
splitor something else in your invokeainodesfolder. Place the files in there. Make sure to restart your invoke. - Create a collection of strings. Enter your values such as 512x512|D:\Documents\myprompts.txt
- Connect to iterator
- Connect to Split Dataset String
- Connect the output of width/height to where you need it. Connect File Path to
Prompts from file