Update controlnet_module.py
Browse files- controlnet_module.py +1 -1
controlnet_module.py
CHANGED
|
@@ -555,7 +555,7 @@ class ControlNetProcessor:
|
|
| 555 |
print(f" ✅ SAM ist sicher (max_val={max_val:.3f} >= 0.6)")
|
| 556 |
|
| 557 |
|
| 558 |
-
|
| 559 |
|
| 560 |
print(f" 🐛 DEBUG THRESHOLD: max_val={max_val:.3f}, dynamic_threshold={dynamic_threshold:.3f}")
|
| 561 |
mask_array = (mask_np > dynamic_threshold).astype(np.uint8) * 255
|
|
|
|
| 555 |
print(f" ✅ SAM ist sicher (max_val={max_val:.3f} >= 0.6)")
|
| 556 |
|
| 557 |
|
| 558 |
+
|
| 559 |
|
| 560 |
print(f" 🐛 DEBUG THRESHOLD: max_val={max_val:.3f}, dynamic_threshold={dynamic_threshold:.3f}")
|
| 561 |
mask_array = (mask_np > dynamic_threshold).astype(np.uint8) * 255
|