Nodes/ComfyUI_Wan2_1_lora_trainer/Musubi Dataset Config (Wan)
ComfyUI Node

Musubi Dataset Config (Wan)

A ComfyUI node in musubi-tuner/wan/config with 13 inputs and 2 outputs.

By jaimitoes·Created about a year ago·Updated 12 months ago· 61
Musubi Dataset Config (Wan)
    • dataset_toml_path
    • trigger_out
    output_filename_prefixmusubi_dataset_config
    general_resolution_width512
    general_resolution_height512
    general_caption_extension.txt
    general_batch_size1
    general_enable_buckettrue
    general_bucket_no_upscalefalse
    dataset1_image_directoryimage_text_path
    dataset1_cache_directorycache_path
    dataset1_num_repeats1
    dataset1_override_resolutionfalse
    dataset1_resolution_width512
    dataset1_resolution_height512
    Categorymusubi-tuner/wan/config

    Inputs (13)

    NameTypeDefaultDescription
    output_filename_prefixSTRINGmusubi_dataset_configGenerates the training dataset with the specified settings, this will set the training resolution. Override is needed to swap the 512 default res.
    general_resolution_widthINT512The general width for training images. This is the base resolution for your dataset, especially when buckets are disabled or for initial scaling.
    general_resolution_heightINT512The general height for training images. This is the base resolution for your dataset, especially when buckets are disabled or for initial scaling.
    general_caption_extensionSTRING.txtThe file extension for your caption (description) files (e.g., '.txt'). These files contain the text describing each image in your dataset.
    general_batch_sizeINT1The number of images processed simultaneously by the model during training. A higher batch size can speed up training but requires more VRAM.
    general_enable_bucketBOOLEANtrueIf enabled, images will be grouped into 'buckets' (different resolutions with similar aspect ratios) to optimize VRAM usage and prevent image distortion during training. Recommended to keep enabled.
    general_bucket_no_upscaleBOOLEANfalseIf 'Enable Bucket' is active and this is true, images will only be downscaled to fit a bucket's resolution, never upscaled. This can prevent blurry images but might make small images too small.
    dataset1_image_directorySTRINGimage_text_pathIf 'Enable Bucket' is active and this is true, images will only be downscaled to fit a bucket's resolution, never upscaled. This can prevent blurry images but might make small images too small.
    dataset1_cache_directorySTRINGcache_pathThe path to the directory containing the images for this specific dataset. Each image should have a corresponding caption file in the same directory.
    dataset1_num_repeatsINT1The path to the directory where cached versions of the processed dataset (e.g., VAE latents, text embeddings) will be stored. Speeds up subsequent training runs.
    dataset1_override_resolutionBOOLEANfalseIf enabled, this dataset will use its own specific resolution (`dataset1_resolution_width/height`) instead of the `general_resolution_width/height`.
    dataset1_resolution_widthINT512The specific width for images in this dataset if 'Override Resolution' is enabled. Otherwise, the general resolution will be used.
    dataset1_resolution_heightINT512The specific height for images in this dataset if 'Override Resolution' is enabled. Otherwise, the general resolution will be used.

    Outputs (2)

    NameTypeDescription
    dataset_toml_pathSTRING
    trigger_out*