Visit ComfyUI Online for ready-to-use ComfyUI environment
Create customized attention maps for AI art projects by specifying model layers for focus, enhancing art quality and relevance.
The CustomRefMapSD1
node is designed to help you create a customized attention map for your AI art projects. This node allows you to specify which parts of the model's input, middle, and output layers should be included in the attention map. By enabling or disabling specific layers, you can fine-tune the model's focus, potentially enhancing the quality and relevance of the generated art. This node is particularly useful for those who want more control over the model's attention mechanism, enabling more precise and targeted artistic outputs.
This parameter is a boolean that determines whether the first input layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the second input layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the third input layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the fourth input layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the fifth input layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the sixth input layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the middle layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the first output layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the second output layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the third output layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the fourth output layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the fifth output layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the sixth output layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the seventh output layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the eighth output layer is included in the attention map. The default value is True
.
This parameter is a boolean that determines whether the ninth output layer is included in the attention map. The default value is True
.
The output parameter is an attention map that consists of a set of tuples. Each tuple indicates a specific layer (input, middle, or output) and its index that has been included in the attention map. This map is used to guide the model's attention mechanism, helping it focus on the specified layers during the generation process.
False
.reference/custom
category to create a more customized and refined attention mechanism.KeyError: 'input_X'
KeyError: 'middle_X'
KeyError: 'output_X'
TypeError: 'NoneType' object is not iterable
© Copyright 2024 RunComfy. All Rights Reserved.