The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix FeatherMask
Jairo Correa87097a11c32a
diff --git a/comfy_extras/nodes_mask.py b/comfy_extras/nodes_mask.pyindex 9b0b289c1..3cc4cfd76 100644--- a/comfy_extras/nodes_mask.py+++ b/comfy_extras/nodes_mask.py@@ -282,10 +282,10 @@ class FeatherMask:def feather(self, mask, left, top, right, bottom):output = mask.reshape((-1, mask.shape[-2], mask.shape[-1])).clone()- left = min(left, output.shape[1])- right = min(right, output.shape[1])- top = min(top, output.shape[0])- bottom = min(bottom, output.shape[0])+ left = min(left, output.shape[-1])+ right = min(right, output.shape[-1])+ top = min(top, output.shape[-2])+ bottom = min(bottom, output.shape[-2])for x in range(left):feather_rate = (x + 1.0) / left