Visit ComfyUI Online for ready-to-use ComfyUI environment
Streamline dataset configuration for AI model training with structured input and versatile settings for image-based datasets.
The FL_KohyaSSDatasetConfig
node is designed to streamline the configuration of datasets for training AI models, particularly in the context of image-based datasets. This node allows you to specify various parameters related to your dataset, such as image files, captions, and resolution settings, ensuring that your dataset is prepared correctly for training. By providing a structured way to input these parameters, the node helps in organizing and managing your dataset efficiently, which is crucial for achieving high-quality training results. The node also supports optional conditioning images and various configuration settings that can be tailored to your specific needs, making it a versatile tool for AI artists looking to optimize their training workflows.
This parameter specifies the workspace configuration required for the dataset. It is essential for setting up the environment where the dataset will be processed.
This parameter accepts image files that will be used in the dataset. The images are a crucial part of the training data and should be of high quality to ensure effective training.
This parameter takes a string input for captions associated with the images. Captions provide context and additional information about the images, which can be useful for training models that require textual descriptions.
This parameter allows you to enable or disable the bucketing feature. The default value is "enable". Bucketing helps in organizing images into different categories based on certain criteria, which can improve the efficiency of the training process.
This parameter sets the resolution for the images in the dataset. The default value is 1024. Higher resolutions can provide more detailed images but may require more computational resources.
This parameter specifies the number of times each image should be repeated in the dataset. The default value is 1, with a minimum value of 1. Repeating images can help in balancing the dataset and improving training results.
This parameter allows you to specify the file extension for caption files. The default value is ".caption". You can choose between ".caption" and ".txt" based on your preference.
This parameter sets the batch size for processing the images. The default value is 1, with a minimum value of 1. A larger batch size can speed up the training process but may require more memory.
This parameter allows you to enable or disable the force clear feature. The default value is "disable". Enabling this feature will clear existing data before processing new data, ensuring a clean workspace.
This parameter allows you to enable or disable the force clear only images feature. The default value is "disable". Enabling this feature will clear only the images, leaving other data intact.
This parameter specifies the format of the images in the dataset. The default value is "jpg". You can choose between "png", "jpg", and "webp" based on your requirements.
This parameter allows you to specify the file extension for the dataset configuration file. The default value is ".json". You can choose between ".toml" and ".json" based on your preference.
This optional parameter accepts additional images that can be used for conditioning the dataset. These images can provide extra context or information that can be useful for training.
This output parameter provides the directory path where the processed images are stored. This path is essential for accessing the images during the training process and ensures that all images are organized in a single location.
enable_bucket
feature to organize your images into categories, which can help in managing large datasets more efficiently.resolution
parameter based on your computational resources. Higher resolutions provide more detail but require more processing power.num_repeats
parameter to balance your dataset, especially if you have a limited number of images.image_format
and dataset_config_extension
based on your workflow and compatibility with other tools.image_format
parameter is set to one of the supported formats: "png", "jpg", or "webp".resolution
parameter to a value that is within the acceptable range, typically between 256 and 4096.batch_size
parameter to a value that your system can handle, or upgrade your hardware to support larger batch sizes.captions
parameter is filled with appropriate text descriptions for each image.dataset_config_extension
parameter to either ".toml" or ".json".© Copyright 2024 RunComfy. All Rights Reserved.