Nodes/WAS Node Suite v3/Dataset to Lists
ComfyUI Node Runs on cloud

Dataset to Lists

Open a dataset into lists of its pictures, captions and names, in the same order, so any image or text node can work on them. Dataset Update puts the results back into the dataset.

By WASasquatch·Created 4 years ago·Updated 3 days ago· 1,900
Dataset to Lists
  • dataset
  • images
  • captions
  • names
  • caption_list
  • name_list
  • count
◄picturestrue►
CategoryWAS Suite/Dataset

Inputs (2)

NameTypeDefaultDescription
datasetWAS_DATASETThe dataset to open, such as from Load Dataset.
picturesBOOLEANtrue`on` = decode every picture onto the images output; `off` = captions and names only, and images stops the nodes it feeds.

Outputs (6)

NameTypeDescription
imagesIMAGEOne picture per entry, so a node wired here runs once per picture.
captionsSTRINGOne caption per picture, empty where a picture has none.
namesSTRINGEach picture's name below its folder without extension, such as `set_b/cat`, for Dataset Update's names or Save Text File's filenames.
caption_listARRAYThe captions on one wire, as a LIST.
name_listARRAYThe names on one wire, as a LIST.
countINTHow many pictures the dataset holds.