> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-matt-router-pricing-pika-and-guard.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LoadImageDataSetFromFolder - ComfyUI Built-in Node Documentation

> 此节点从 ComfyUI 主输入目录中选定的子文件夹加载多张图像，并以列表形式返回。

此节点从 ComfyUI 主输入目录中选定的子文件夹加载多张图像，并以列表形式返回。它会扫描所选文件夹中 PNG、JPG、JPEG 或 WEBP 格式的图像文件，因此非常适合用于批处理或准备图像数据集。

## 输入

| 参数 | 描述 | 数据类型 | 必填 | 范围 |
| - | - | - | - | - |
| `文件夹` | 要从中加载图像的文件夹。可选项为 ComfyUI 主输入目录中存在的子文件夹。 | COMBO | 是 | 有多个可用选项 |

注意：所选文件夹必须是 ComfyUI 主输入目录的子文件夹；任何解析到该目录之外的值（例如使用 `..`、绝对路径、盘符或符号链接）都会被拒绝。仅加载扩展名为 .png、.jpg、.jpeg 或 .webp 的文件，且扩展名检查不区分大小写。加载的图像会被转换为 RGB，并缩放到 0-1 范围。如果所选文件夹中不包含有效的图像文件，该节点会报错。此节点被标记为实验性功能。

## 输出

| 输出名 | 描述 | 数据类型 |
| - | - | - |
| `images` | 已加载图像的列表。该节点会加载所选文件夹中所有有效的图像文件（PNG、JPG、JPEG、WEBP）。 | IMAGE |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/LoadImageDataSetFromFolder/zh.md)

***

**Source fingerprint (SHA-256):** `cdee4e372890c126dd5f09654a7dd4103bba97a7901b6f5df8e02f29c4064ed2`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.