ComfyUI Node
Load Dataset From Folder
Loads images and paired captions from a folder; applies optional prefix/suffix.
Load Dataset From Folder
- images
- filenames
- captions
◄dataset_path—►
◄prefix►
◄suffix►
◄separator ►
CategorySage Utils/train
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| dataset_path | STRING | Path to the folder containing image files and optional caption text files. | |
| prefixopt | STRING | Optional text prefix to prepend to each caption. | |
| suffixopt | STRING | Optional text suffix to append to each caption. | |
| separatoropt | STRING | Separator used when concatenating prefix/suffix with caption text. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | Output value for images. |
| filenames | STRING | Output value for filenames. |
| captions | STRING | Output value for captions. |