Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui-kaloscope > Kaloscope Feature Comparison

ComfyUI Node: Kaloscope Feature Comparison

Class Name

KaloscopeFeatureComparison

Category
Kaloscope
Author
spawner1145 (Account age: 777days)
Extension
comfyui-kaloscope
Latest Updated
2026-10-09
Github Stars
0.11K

How to Install comfyui-kaloscope

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

Run ComfyUI Online

Kaloscope Feature Comparison Description

Facilitates image feature comparison using machine learning for similarity analysis and categorization.

Kaloscope Feature Comparison:

The KaloscopeFeatureComparison node is designed to facilitate the comparison of image features against predefined groups using a machine learning model. Its primary purpose is to determine the similarity between the features of a given image and those of specified groups, which can be particularly useful in tasks such as image classification, clustering, or similarity analysis. By leveraging a model's ability to extract and compare features, this node provides insights into which group an image most closely resembles, based on the calculated similarities. This functionality is crucial for AI artists who wish to analyze and categorize images based on learned features, enabling more informed artistic decisions and explorations.

Kaloscope Feature Comparison Input Parameters:

image

The image parameter represents the input image whose features are to be compared against the groups. It is crucial for the node's execution as it serves as the basis for feature extraction and comparison. The image should be in a format compatible with the model's transformation process, typically a tensor. There are no explicit minimum or maximum values, but the image should be preprocessed to fit the model's input requirements.

model

The model parameter is a bundle containing the machine learning model, transformation function, and device information. It is essential for extracting features from the input image and performing the comparison. The model should be pre-trained and capable of returning feature vectors. This parameter does not have a default value and must be provided for the node to function.

group_1, group_2, group_3

These parameters represent the feature groups against which the input image's features will be compared. Each group should be a tensor containing feature vectors that the model can process. These groups are optional, but at least one must be provided for the comparison to occur. The absence of groups will result in an error, as the node requires them to calculate similarities.

Kaloscope Feature Comparison Output Parameters:

json_output

The json_output parameter is a JSON string containing the results of the feature comparison. It includes the index of the group with the highest similarity to the input image, the similarity score, and a list of all calculated similarities. This output is crucial for understanding which group the image most closely aligns with and provides a quantitative measure of similarity, aiding in decision-making and analysis.

Kaloscope Feature Comparison Usage Tips:

  • Ensure that the input image is preprocessed correctly to match the model's expected input format, as this will significantly impact the accuracy of the feature extraction and comparison.
  • When selecting groups for comparison, use feature vectors that are representative of the categories or classes you are interested in analyzing. This will improve the relevance and accuracy of the similarity results.
  • Utilize a well-trained model that is appropriate for the type of images and features you are working with, as the model's ability to extract meaningful features is critical to the node's performance.

Kaloscope Feature Comparison Common Errors and Solutions:

"No groups provided"

  • Explanation: This error occurs when none of the group parameters (group_1, group_2, group_3) are provided, making it impossible for the node to perform a comparison.
  • Solution: Ensure that at least one group is provided as input. Each group should contain feature vectors that the model can compare against the input image's features.

"Cosine similarity requires nonzero vectors"

  • Explanation: This error indicates that one or more feature vectors have zero magnitude, which prevents the calculation of cosine similarity.
  • Solution: Verify that all feature vectors, including those in the input image and groups, are non-zero. This may involve checking the preprocessing steps or ensuring that the model outputs valid feature vectors.

Kaloscope Feature Comparison Related Nodes

Go back to the extension to check out more related nodes.
comfyui-kaloscope
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Kaloscope Feature Comparison