ComfyUI  >  Nodes  >  ComfyUI-TrainTools-MZ >  MinusZone - ImagesCopyWorkspace

ComfyUI Node: MinusZone - ImagesCopyWorkspace

Class Name

MZ_ImagesCopyWorkspace

Category
MinusZone - TrainTools/kohya_ss
Author
MinusZoneAI (Account age: 95 days)
Extension
ComfyUI-TrainTools-MZ
Latest Updated
7/9/2024
Github Stars
0.0K

How to Install ComfyUI-TrainTools-MZ

Install this extension via the ComfyUI Manager by searching for  ComfyUI-TrainTools-MZ
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-TrainTools-MZ 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

MinusZone - ImagesCopyWorkspace Description

Automate image copying and organization within workspace for AI artists, part of MinusZone TrainTools suite.

MinusZone - ImagesCopyWorkspace:

The MZ_ImagesCopyWorkspace node is designed to facilitate the copying and organization of images within a specified workspace. This node is particularly useful for AI artists who need to manage large collections of images for training or other purposes. By automating the process of copying images to a designated workspace, it helps streamline workflows and ensures that all necessary images are readily available in one location. This node is part of the MinusZone TrainTools suite, which aims to provide efficient tools for managing and preparing datasets for AI training. The primary goal of this node is to simplify the image management process, making it easier for you to focus on creative tasks rather than manual file handling.

MinusZone - ImagesCopyWorkspace Input Parameters:

workspace_name

This parameter specifies the name of the workspace where the images will be copied. It is a required string input, and the workspace name must be unique and non-empty. If the workspace name is not provided or is an empty string, the node will raise an exception. The workspace name helps in organizing and distinguishing different sets of images for various projects or training sessions.

images

This parameter accepts a list of images in tensor format that need to be copied to the specified workspace. The images are converted to PIL format for processing. This input is optional, and if not provided, the node assumes that the images are already present in the workspace. The images parameter allows you to specify the exact set of images to be managed within the workspace.

resolution

This parameter defines the resolution to which the images will be resized before being copied to the workspace. It is an optional integer input with a default value of 1024. Adjusting the resolution can help in standardizing the image sizes for training purposes, ensuring consistency across the dataset.

force_clear

This parameter is a boolean flag that determines whether the existing images in the workspace should be cleared before copying the new set of images. It accepts values "enable" or "disable", with "disable" being the default. Enabling this option ensures that the workspace is clean and only contains the new set of images, which can be useful for avoiding conflicts or duplicates.

same_caption_generate

This parameter is a boolean flag that, when enabled, generates the same caption for all images in the workspace. It accepts values "enable" or "disable", with "disable" being the default. This can be useful for quickly annotating a large set of images with a common caption, saving time on manual captioning.

same_caption

This parameter specifies the caption text to be used when the same_caption_generate flag is enabled. It is a required string input if same_caption_generate is enabled. The caption text is applied to all images in the workspace, providing a uniform annotation for the dataset.

MinusZone - ImagesCopyWorkspace Output Parameters:

workspace_dir

This output parameter provides the directory path of the workspace where the images have been copied. It is a string output that indicates the location of the organized images, allowing you to easily access and manage the workspace for further processing or training.

MinusZone - ImagesCopyWorkspace Usage Tips:

  • Ensure that the workspace_name is unique and descriptive to avoid confusion with other workspaces.
  • Use the resolution parameter to standardize image sizes, which can improve the consistency and quality of your training datasets.
  • Enable the force_clear option if you want to start with a clean workspace, especially when dealing with new sets of images.
  • Utilize the same_caption_generate and same_caption parameters to quickly annotate large sets of images with a common caption, saving time on manual annotation.

MinusZone - ImagesCopyWorkspace Common Errors and Solutions:

lora名称不能为空(lora_name is required)

  • Explanation: This error occurs when the workspace_name parameter is not provided or is an empty string.
  • Solution: Ensure that you provide a valid, non-empty string for the workspace_name parameter.

未检测到传入图片默认已有训练数据,将直接跳过数据准备步骤...

  • Explanation: This message indicates that no images were provided in the images parameter, and the node assumes that the images are already present in the workspace.
  • Solution: If you intended to copy new images, make sure to provide a list of images in the images parameter.

训练名称不能为空(workspace_name is required)

  • Explanation: This error occurs when the workspace_name parameter is not provided or is an empty string.
  • Solution: Ensure that you provide a valid, non-empty string for the workspace_name parameter.

MinusZone - ImagesCopyWorkspace Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-TrainTools-MZ
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.