Nodes/ComfyUI-ModelDumpster/Model Diff Viewer (Heatmap)
ComfyUI Node

Model Diff Viewer (Heatmap)

2つのSDXLモデルのUNetをキー単位で比較し、ブロック×要素(タブでサブ要素まで)の違いの大きさをヒートマップ表示。metric: relative_l2=‖A-B‖/max‖‖ / cosine=1-cos類似度。heatmap_jsonをDiff→Recipeノードに繋ぐと自動マージできる。

By galigali-san·Created about a month ago·Updated about a month ago· 1
Model Diff Viewer (Heatmap)
  • model1
  • model2
  • report
  • heatmap_json
metric
Categoryadvanced/model_analysis

Inputs (3)

NameTypeDefaultDescription
model1MODEL
model2MODEL
metricCOMBO2 options: relative_l2, cosine

Outputs (2)

NameTypeDescription
reportSTRING
heatmap_jsonSTRING