Astridkraft commited on
Commit
41b20d0
·
verified ·
1 Parent(s): 1e6ef05

Update controlnet_module.py

Browse files
Files changed (1) hide show
  1. controlnet_module.py +2 -2
controlnet_module.py CHANGED
@@ -1082,7 +1082,7 @@ class ControlNetProcessor:
1082
  # POSTPROCESSING
1083
  # ============================================================
1084
 
1085
- print("👤 GESICHTS-SPEZIFISCHES POSTPROCESSING")
1086
 
1087
  # 1. Größte zusammenhängende Komponente finden
1088
  labeled_array, num_features = ndimage.label(mask_array)
@@ -1112,7 +1112,7 @@ class ControlNetProcessor:
1112
  print(" • MORPH_OPEN (5x5) - Rauschen entfernen")
1113
 
1114
  # ============================================================
1115
- # Maske und Rohmaske auf 512x512 skalieren wegen UI
1116
  # ============================================================
1117
  print("🔄 MASKE IMMER ZURÜCK AUF 512x512 TRANSFORMIEREN")
1118
 
 
1082
  # POSTPROCESSING
1083
  # ============================================================
1084
 
1085
+ print("👤 POSTPROCESSING AUF CROP-GRÖSSE")
1086
 
1087
  # 1. Größte zusammenhängende Komponente finden
1088
  labeled_array, num_features = ndimage.label(mask_array)
 
1112
  print(" • MORPH_OPEN (5x5) - Rauschen entfernen")
1113
 
1114
  # ============================================================
1115
+ # Maske und Rohmaske auf Originalgröße transformieren
1116
  # ============================================================
1117
  print("🔄 MASKE IMMER ZURÜCK AUF 512x512 TRANSFORMIEREN")
1118