Nodes/WAS Node Suite v3/Dataset Update
ComfyUI Node Runs on cloud

Dataset Update

Put edited captions or pictures back into a dataset, such as captions from Text Replace Words or pictures from a resize, and hand on the updated copy. The dataset wired in is left as it was, so other nodes reading it are unaffected.

By WASasquatch·Created 4 years ago·Updated 3 days ago· 1,900
Dataset Update
  • dataset
  • captions
  • images
  • names
  • dataset
  • changed
CategoryWAS Suite/Dataset

Inputs (4)

NameTypeDefaultDescription
datasetWAS_DATASETThe dataset to update, such as from Load Dataset.
captionsoptSTRING,ARRAYNew captions, one per picture in the dataset's order, or one per name when names is wired. A blank caption leaves its picture uncaptioned.
imagesoptIMAGENew pictures, one per picture in the dataset's order, or one per name.
namesoptSTRING,ARRAYThe names the captions and images belong to, such as Dataset to Lists' names after a filter. Unwired, they pair by position.

Outputs (2)

NameTypeDescription
datasetWAS_DATASETThe updated copy of the dataset.
changedINTHow many pictures took a new caption or a new picture. 0 = nothing changed.