lora: keep parsed network data through pipeline

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-09-13 16:31:16 +02:00
parent a3b8a7e353
commit 489cbf8048
9 changed files with 72 additions and 26 deletions
+2 -2
View File
@@ -102,8 +102,8 @@ class HEDdetector:
if scribble:
detected_map = nms(detected_map, 127, 3.0)
detected_map = cv2.GaussianBlur(detected_map, (0, 0), 3.0)
detected_map[detected_map > 4] = 255
detected_map[detected_map < 255] = 0
detected_map[detected_map > 4] = 255 # pylint: disable=unsupported-assignment-operation
detected_map[detected_map < 255] = 0 # pylint: disable=unsupported-assignment-operation
if opts.control_move_processor:
self.model.to('cpu')
if output_type == "pil":