ComfyUI  >  Nodes  >  ComfyUI WD 1.4 Tagger >  WD14 Tagger 🐍

ComfyUI Node: WD14 Tagger 🐍

Class Name

WD14Tagger|pysssss

Category
image
Author
pythongosssss (Account age: 552 days)
Extension
ComfyUI WD 1.4 Tagger
Latest Updated
8/14/2024
Github Stars
0.5K

How to Install ComfyUI WD 1.4 Tagger

Install this extension via the ComfyUI Manager by searching for  ComfyUI WD 1.4 Tagger
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI WD 1.4 Tagger 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

WD14 Tagger 🐍 Description

Automated image tagging using ONNX models for efficient categorization and metadata enhancement.

WD14 Tagger 🐍| WD14 Tagger 🐍:

The WD14Tagger| WD14 Tagger 🐍 node, also known as "WD14 Tagger 🐍", is designed to automatically generate descriptive tags for images using a pre-trained model. This node leverages ONNX models to analyze the content of an image and produce relevant tags that can be used for categorization, search optimization, or enhancing metadata. The primary benefit of this node is its ability to streamline the process of tagging images, saving you time and ensuring consistency in tag generation. By utilizing advanced machine learning techniques, the WD14Tagger| WD14 Tagger 🐍 node can accurately identify various elements within an image, making it an invaluable tool for AI artists and content creators who need to manage large collections of visual data.

WD14 Tagger 🐍| WD14 Tagger 🐍 Input Parameters:

image

The image parameter expects an image input that you want to tag. This is the primary input for the node, and the quality and content of the image will directly impact the accuracy and relevance of the generated tags.

model

The model parameter allows you to select the pre-trained model to be used for tagging. The available options are the models installed in your system, with the default being wd-v1-4-moat-tagger-v2. This parameter ensures that you can choose the most suitable model for your specific tagging needs.

threshold

The threshold parameter is a float value that determines the minimum confidence level required for a general tag to be included in the output. The default value is 0.35, with a range from 0.0 to 1.0. Adjusting this value can help you control the sensitivity of the tagger, with higher values resulting in fewer but more confident tags.

character_threshold

The character_threshold parameter is a float value that sets the minimum confidence level for character-specific tags. The default value is 0.85, with a range from 0.0 to 1.0. This parameter is particularly useful for tagging images with recognizable characters, ensuring that only highly confident character tags are included.

replace_underscore

The replace_underscore parameter is a boolean that determines whether underscores in tags should be replaced with spaces. The default value is False. This can be useful for improving the readability of tags, especially when they are displayed to end-users.

trailing_comma

The trailing_comma parameter is a boolean that specifies whether to include a trailing comma in the generated tags. The default value is False. This can be useful for formatting purposes, particularly if the tags are to be used in a list or CSV format.

exclude_tags

The exclude_tags parameter is a string that allows you to specify tags that should be excluded from the output. The default value is an empty string. This can be useful for filtering out irrelevant or unwanted tags, ensuring that the output is more focused and relevant to your needs.

WD14 Tagger 🐍| WD14 Tagger 🐍 Output Parameters:

STRING

The output of the WD14Tagger| WD14 Tagger 🐍 node is a string containing the generated tags. These tags are derived from the analysis of the input image and are formatted according to the specified parameters. The output string can be used for various purposes, such as metadata enhancement, search optimization, or categorization of images.

WD14 Tagger 🐍| WD14 Tagger 🐍 Usage Tips:

  • To achieve the best results, ensure that the input image is of high quality and clearly depicts the elements you want to tag.
  • Experiment with different models to find the one that best suits your specific tagging needs.
  • Adjust the threshold and character_threshold parameters to control the sensitivity of the tagger and filter out less confident tags.
  • Use the exclude_tags parameter to remove any tags that are not relevant to your use case, ensuring a more focused output.

WD14 Tagger 🐍| WD14 Tagger 🐍 Common Errors and Solutions:

404 Not Found

  • Explanation: This error occurs when the specified image file cannot be found.
  • Solution: Ensure that the filename parameter is correct and that the file exists in the specified directory.

400 Bad Request

  • Explanation: This error occurs when the type parameter is not one of the allowed values (output, input, temp).
  • Solution: Verify that the type parameter is set to one of the allowed values.

403 Forbidden

  • Explanation: This error occurs when the image path is outside the allowed directory.
  • Solution: Ensure that the image file is located within the specified directory and that the path is correctly constructed.

Model Not Found

  • Explanation: This error occurs when the specified model is not found in the installed models.
  • Solution: Verify that the model name is correct and that the model is installed. If necessary, download the model using the appropriate method.

Invalid Image Format

  • Explanation: This error occurs when the input image is not in a supported format.
  • Solution: Ensure that the input image is in a supported format such as JPEG or PNG.

WD14 Tagger 🐍 Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI WD 1.4 Tagger
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.