mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 14:37:15 +08:00
fix
This commit is contained in:
parent
708e102d65
commit
61a875f0b2
@ -28,8 +28,8 @@ class Mahiro:
|
||||
sim = F.cosine_similarity(normu, normm).mean()
|
||||
simsc = 2 * (sim+1)
|
||||
wm = (simsc*cfg + (4-simsc)*leap) / 4
|
||||
return wm
|
||||
m.set_model_sampler_post_cfg_function(mahiro_normd)
|
||||
return args['input'] - wm
|
||||
m.set_model_sampler_cfg_function(mahiro_normd)
|
||||
return (m, )
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user