Nodes/creative-code/Gradient Saliency Visualizer
ComfyUI Node

Gradient Saliency Visualizer

A ComfyUI node in creative-code/explainability with 10 inputs and 2 outputs.

By cvlases·Created 6 months ago·Updated 2 months ago· 0
Gradient Saliency Visualizer
  • image
  • saliency_output
  • original_resized
model_namevgg16
methodIntegrated Gradients
output_modeheatmap_overlay
class_index-1
smoothgrad_samples25
smoothgrad_noise0.15
ig_steps50
input_size224
use_smoothgradfalse
Categorycreative-code/explainability

Inputs (10)

NameTypeDefaultDescription
imageIMAGE
model_nameCOMBOvgg167 options: vgg16, vgg19, resnet50, resnet101, inception_v3, mobilenet_v3_large, +1
methodCOMBOIntegrated Gradients6 options: Vanilla Gradients, SmoothGrad, Integrated Gradients, Blur IG, Guided IG, XRAI
output_modeCOMBOheatmap_overlay4 options: heatmap_overlay, grayscale_mask, diverging_mask, overlay_and_mask
class_indexINT-1-1–999
smoothgrad_samplesINT255–100
smoothgrad_noiseFLOAT0.150.01–0.5
ig_stepsINT5010–300
input_sizeINT224224–512Use 299 for InceptionV3
use_smoothgradoptBOOLEANfalse

Outputs (2)

NameTypeDescription
saliency_outputIMAGE
original_resizedIMAGE