ComfyUI > Nodes > ComfyUI > Load Image Dataset from Folder

ComfyUI Node: Load Image Dataset from Folder

Class Name

LoadImageDataSetFromFolder

Category
dataset
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

Install this extension via the ComfyUI Manager by searching for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Load Image Dataset from Folder Description

Efficiently loads image datasets from specified folder for AI artists, automating file identification and loading process.

Load Image Dataset from Folder:

The LoadImageDataSetFromFolder node is designed to streamline the process of loading image datasets from a specified folder, making it an essential tool for AI artists who work with large collections of images. This node simplifies the task of gathering images by automatically identifying and loading files with common image extensions such as .png, .jpg, .jpeg, and .webp. By leveraging this node, you can efficiently manage and process image datasets without manually sorting through files, thus saving time and reducing the potential for errors. The node's primary goal is to facilitate the seamless integration of image datasets into your workflow, enabling you to focus on creative tasks rather than technical details.

Load Image Dataset from Folder Input Parameters:

folder

The folder parameter specifies the directory from which images will be loaded. It allows you to select a folder from a list of available subfolders within the input directory. This parameter is crucial as it determines the source of the images that will be processed by the node. There are no minimum or maximum values for this parameter, but it must be a valid folder path within the designated input directory. The selection of the correct folder ensures that the desired images are loaded for further processing.

Load Image Dataset from Folder Output Parameters:

images

The images output parameter provides a list of images that have been successfully loaded from the specified folder. This output is essential as it serves as the input for subsequent nodes in your workflow, allowing you to perform various image processing tasks. The list of images is generated by filtering files in the selected folder based on their extensions, ensuring that only valid image files are included. This output enables you to efficiently manage and utilize image datasets in your creative projects.

Load Image Dataset from Folder Usage Tips:

  • Ensure that the folder you select contains only the images you wish to process, as the node will load all valid image files within the specified directory.
  • Organize your image datasets into separate subfolders within the input directory to make it easier to select and load specific collections of images.

Load Image Dataset from Folder Common Errors and Solutions:

"No such file or directory"

  • Explanation: This error occurs when the specified folder path does not exist or is incorrect.
  • Solution: Verify that the folder path is correct and that the folder exists within the input directory. Ensure that you have selected the correct folder from the available options.

"Unsupported file format"

  • Explanation: This error is triggered when the folder contains files with extensions that are not supported by the node.
  • Solution: Ensure that the folder contains only images with supported extensions such as .png, .jpg, .jpeg, or .webp. Remove or relocate any unsupported files from the folder.

Load Image Dataset from Folder Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Load Image Dataset from Folder