Astridkraft commited on
Commit
0902eb1
·
verified ·
1 Parent(s): ffc2cf7

Update controlnet_module.py

Browse files
Files changed (1) hide show
  1. controlnet_module.py +3 -0
controlnet_module.py CHANGED
@@ -142,6 +142,9 @@ class ControlNetProcessor:
142
  print("🌳 MODUS: ENVIRONMENT_CHANGE")
143
  print("-" * 60)
144
 
 
 
 
145
  # Der Prozessor von SAM erwartet ein NumPy-Array kein PIL
146
  image_np = np.array(image.convert("RGB"))
147
 
 
142
  print("🌳 MODUS: ENVIRONMENT_CHANGE")
143
  print("-" * 60)
144
 
145
+ working_mask = mask_array.copy() # Person = Weiß, Hintergrund = Schwarz
146
+ print(f"working_mask shape: {working_mask.shape}")
147
+
148
  # Der Prozessor von SAM erwartet ein NumPy-Array kein PIL
149
  image_np = np.array(image.convert("RGB"))
150