Nodes/Sage Utils/Load Dataset From Folder
ComfyUI Node

Load Dataset From Folder

Loads images and paired captions from a folder; applies optional prefix/suffix.

By arcum42·Created 2 years ago·Updated 24 days ago· 32
Load Dataset From Folder
    • images
    • filenames
    • captions
    dataset_path
    prefix
    suffix
    separator
    CategorySage Utils/train

    Inputs (4)

    NameTypeDefaultDescription
    dataset_pathSTRINGPath to the folder containing image files and optional caption text files.
    prefixoptSTRINGOptional text prefix to prepend to each caption.
    suffixoptSTRINGOptional text suffix to append to each caption.
    separatoroptSTRING Separator used when concatenating prefix/suffix with caption text.

    Outputs (3)

    NameTypeDescription
    imagesIMAGEOutput value for images.
    filenamesSTRINGOutput value for filenames.
    captionsSTRINGOutput value for captions.