Nodes/comfyui-piq/ContentScore
ComfyUI Node

ContentScore

A ComfyUI node in piq with 7 inputs and 1 output.

By Laurent2916·Created about a year ago·Updated about a year ago· 0
ContentScore
  • image_a
  • image_b
  • content_loss
feature_extractor
replace_poolingfalse
distance
reduction
normalize_featuresfalse
Categorypiq

Inputs (7)

NameTypeDefaultDescription
image_aIMAGEInput image
image_bIMAGEReference image
feature_extractorCOMBONeural network for feature extraction
replace_poolingBOOLEANfalseReplace max pooling with average pooling
distanceCOMBODistance metric
reductionCOMBOReduction method
normalize_featuresBOOLEANfalseWhether to normalize extracted features

Outputs (1)

NameTypeDescription
content_lossFLOATContent Loss Based on Deep Features