Update controlnet_module.py
Browse files- controlnet_module.py +1 -1
controlnet_module.py
CHANGED
|
@@ -595,7 +595,7 @@ class ControlNetProcessor:
|
|
| 595 |
# Für jeweils einen anderen Dilate-Wert für Inpaint und Composition
|
| 596 |
clean_mask = mask_array.copy()
|
| 597 |
|
| 598 |
-
# 1. FÜR INPAINT: 5×5 Dilate auf clean_mask auf 3x3 herunter da Rahmen bei 512x512
|
| 599 |
inpaint_binary_mask = cv2.dilate(clean_mask, np.ones((3,3), np.uint8), 1)
|
| 600 |
|
| 601 |
print(f"🔳 [FOCUS] Inpainting-Maske gespeichert: {np.unique(inpaint_binary_mask)}")
|
|
|
|
| 595 |
# Für jeweils einen anderen Dilate-Wert für Inpaint und Composition
|
| 596 |
clean_mask = mask_array.copy()
|
| 597 |
|
| 598 |
+
# 1. FÜR INPAINT: 5×5 Dilate auf clean_mask auf 3x3 herunter da Rahmen von SAM-Maske bei 512x512 zu sehen
|
| 599 |
inpaint_binary_mask = cv2.dilate(clean_mask, np.ones((3,3), np.uint8), 1)
|
| 600 |
|
| 601 |
print(f"🔳 [FOCUS] Inpainting-Maske gespeichert: {np.unique(inpaint_binary_mask)}")
|