Files
Ethanfel 22fd24b29e Re-enable reasoning for accurate verdicts (no-think rubber-stamped 'match')
Disabling thinking made reasoning models mark everything 'match' even when ref/gen
clearly differ. Added an enable_thinking toggle (default ON) threaded through the
generation path; the prompt now allows reasoning then asks for the result, and
verdict_rule explicitly warns against lazy 'match'. _parse_json now scans for the
JSON object AFTER the reasoning prose (last balanced object with 'axes'), and the
markdown fallback already reads reasoned per-axis output. Default max_new_tokens
2048->3072 so verdicts don't get cut off.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 10:56:47 +02:00

82 lines
2.3 KiB
JSON

{
"4": {
"class_type": "CheckpointLoaderSimple",
"inputs": { "ckpt_name": "waiIllustriousSDXL_v160.safetensors" },
"_meta": { "title": "Load Checkpoint (swap for your T2I)" }
},
"10": {
"class_type": "CalibratorPromptReceptor",
"inputs": {
"prompt": "a photo of a woman, casual outfit, indoors",
"negative": "blurry, deformed, lowres, extra limbs",
"seed": 12345,
"source_file": ""
},
"_meta": { "title": "SxCP External Prompt (Receptor)" }
},
"6": {
"class_type": "CLIPTextEncode",
"inputs": { "text": ["10", 0], "clip": ["4", 1] },
"_meta": { "title": "Positive (from receptor)" }
},
"7": {
"class_type": "CLIPTextEncode",
"inputs": { "text": ["10", 1], "clip": ["4", 1] },
"_meta": { "title": "Negative (from receptor)" }
},
"5": {
"class_type": "EmptyLatentImage",
"inputs": { "width": 1024, "height": 1024, "batch_size": 1 },
"_meta": { "title": "Empty Latent" }
},
"3": {
"class_type": "KSampler",
"inputs": {
"model": ["4", 0],
"positive": ["6", 0],
"negative": ["7", 0],
"latent_image": ["5", 0],
"seed": ["10", 2],
"steps": 28,
"cfg": 5.5,
"sampler_name": "euler",
"scheduler": "normal",
"denoise": 1.0
},
"_meta": { "title": "KSampler (seed from receptor)" }
},
"8": {
"class_type": "VAEDecode",
"inputs": { "samples": ["3", 0], "vae": ["4", 2] },
"_meta": { "title": "VAE Decode" }
},
"9": {
"class_type": "SaveImage",
"inputs": { "images": ["8", 0], "filename_prefix": "calibrator/gen" },
"_meta": { "title": "Save Generated" }
},
"11": {
"class_type": "LoadImage",
"inputs": { "image": "reference.png" },
"_meta": { "title": "Reference Image (put in ComfyUI/input/)" }
},
"12": {
"class_type": "QwenVLImageJudge",
"inputs": {
"reference_image": ["11", 0],
"generated_image": ["8", 0],
"model_path": "/media/p5/qwen3vl_4b_abliterated_comfy_convert/hf_bf16",
"precision": "bf16",
"profile": "general",
"max_new_tokens": 3072,
"temperature": 0.0,
"swap_eval": true,
"keep_loaded": true,
"auto_download": true,
"report_dir": "/media/p5/Comfyui/output/calibrator",
"run_tag": ""
},
"_meta": { "title": "Qwen3-VL Image Judge (Calibrator)" }
}
}