Astridkraft commited on
Commit
dd22a40
·
verified ·
1 Parent(s): 9c09208

Update controlnet_module.py

Browse files
Files changed (1) hide show
  1. controlnet_module.py +0 -4
controlnet_module.py CHANGED
@@ -824,10 +824,6 @@ class ControlNetProcessor:
824
  print(" 🔄 SAM wird auf aufbereitetem Ausschnitt ausgeführt")
825
  print(f" 📊 SAM-Eingabegröße: {image.size}")
826
 
827
-
828
- # Variablen für späteres Zurücktransformieren setzen
829
- needs_transform_back = True
830
- transform_offset = (crop_x1, crop_y1)
831
 
832
  else: #use_crop_strategy=False (Bild <=512)
833
  print("🎯 SCHRITT 2: VERWENDE ORIGINALBILD UND ORIGINAL-BBOX FÜR SAM")
 
824
  print(" 🔄 SAM wird auf aufbereitetem Ausschnitt ausgeführt")
825
  print(f" 📊 SAM-Eingabegröße: {image.size}")
826
 
 
 
 
 
827
 
828
  else: #use_crop_strategy=False (Bild <=512)
829
  print("🎯 SCHRITT 2: VERWENDE ORIGINALBILD UND ORIGINAL-BBOX FÜR SAM")