Noise merging: the log says how far apart the two answers were at each merged step
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VmbxSsiiz8wmt226dtbFXe
This commit is contained in:
@@ -132,6 +132,10 @@ def install(patcher, values, key):
|
||||
if split_b is None:
|
||||
return out
|
||||
video_b, rebuild_b = split_b
|
||||
diff = float((video_a - video_b).norm() / video_a.norm().clamp(min=1e-8))
|
||||
log.info("FunUI Noise merging",
|
||||
f"step {where[0] + 1}: second answer differs from the first by {diff:.1%}, "
|
||||
f"merged at {strength:.2f}")
|
||||
if b_first:
|
||||
return rebuild_a(merge(video_a, video_b, strength).to(video_a.dtype))
|
||||
return rebuild_b(merge(video_b, video_a, strength).to(video_b.dtype))
|
||||
|
||||
Reference in New Issue
Block a user