ComfyUI  >  Nodes  >  KJNodes for ComfyUI >  AppendInstanceDiffusionTracking

ComfyUI Node: AppendInstanceDiffusionTracking

Class Name

AppendInstanceDiffusionTracking

Category
KJNodes/InstanceDiffusion
Author
kijai (Account age: 2192 days)
Extension
KJNodes for ComfyUI
Latest Updated
6/25/2024
Github Stars
0.3K

How to Install KJNodes for ComfyUI

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

AppendInstanceDiffusionTracking Description

Merge and manage tracking data efficiently in InstanceDiffusion workflow, handling overlapping class names and prompts seamlessly.

AppendInstanceDiffusionTracking:

The AppendInstanceDiffusionTracking node is designed to enhance your InstanceDiffusion workflow by allowing you to merge and manage tracking data efficiently. This node takes two sets of tracking data and combines them, ensuring that any overlapping class names are merged without conflicts. Additionally, it concatenates two prompt strings to create a unified prompt. This functionality is particularly useful for AI artists who need to manage complex tracking data and prompts in their InstanceDiffusion projects, providing a streamlined way to handle multiple sources of tracking information and prompts.

AppendInstanceDiffusionTracking Input Parameters:

tracking_1

This parameter represents the first set of tracking data that you want to merge. It is a required input and must be of the type TRACKING. The tracking data typically includes class names and associated class IDs that are used in InstanceDiffusion.

tracking_2

This parameter represents the second set of tracking data to be merged with the first. It is also a required input and must be of the type TRACKING. Similar to tracking_1, this data includes class names and class IDs.

prompt_1

This optional parameter is a string that represents the first part of the prompt. It has a default value of an empty string ("") and is forced to be input if used. This prompt is concatenated with prompt_2 to form a unified prompt string.

prompt_2

This optional parameter is a string that represents the second part of the prompt. Like prompt_1, it has a default value of an empty string ("") and is forced to be input if used. This prompt is concatenated with prompt_1 to form a unified prompt string.

AppendInstanceDiffusionTracking Output Parameters:

tracking

The tracking output is the combined tracking data from tracking_1 and tracking_2. It merges the class names and class IDs from both inputs, ensuring that any overlapping class names are merged without conflicts. This output is of the type TRACKING.

prompt

The prompt output is a concatenated string formed by combining prompt_1 and prompt_2. This unified prompt string can be used in your InstanceDiffusion projects to provide a comprehensive description or instruction. This output is of the type STRING.

AppendInstanceDiffusionTracking Usage Tips:

  • Ensure that both tracking_1 and tracking_2 contain valid and non-conflicting class names and class IDs to avoid any merging issues.
  • Use the prompt_1 and prompt_2 parameters to create detailed and comprehensive prompts by combining multiple strings.
  • Utilize this node to manage and merge tracking data from different sources, making it easier to handle complex InstanceDiffusion projects.

AppendInstanceDiffusionTracking Common Errors and Solutions:

"KeyError: 'class_name'"

  • Explanation: This error occurs when there is a conflict in class names between tracking_1 and tracking_2 that cannot be resolved.
  • Solution: Ensure that the class names in tracking_1 and tracking_2 are unique or can be merged without conflicts.

"TypeError: 'NoneType' object is not iterable"

  • Explanation: This error occurs when one of the tracking inputs is not provided or is None.
  • Solution: Make sure that both tracking_1 and tracking_2 are provided and contain valid tracking data.

"ValueError: Invalid prompt format"

  • Explanation: This error occurs when the prompt strings are not in the expected format.
  • Solution: Ensure that prompt_1 and prompt_2 are valid strings and follow the expected format for prompts in InstanceDiffusion.

AppendInstanceDiffusionTracking Related Nodes

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