mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-15 07:44:30 +08:00
Update nodes.py
This commit is contained in:
parent
5aeeed35f6
commit
5970b59de1
4
nodes.py
4
nodes.py
@ -1335,9 +1335,7 @@ class BatchCropFromMask:
|
|||||||
bounding_boxes = []
|
bounding_boxes = []
|
||||||
cropped_images = []
|
cropped_images = []
|
||||||
|
|
||||||
# Initialize max_bbox_size for the first frame
|
self.max_bbox_size = 0
|
||||||
if not hasattr(self, 'max_bbox_size'):
|
|
||||||
self.max_bbox_size = 0
|
|
||||||
|
|
||||||
# First, calculate the maximum bounding box size across all masks
|
# First, calculate the maximum bounding box size across all masks
|
||||||
curr_max_bbox_size = 0
|
curr_max_bbox_size = 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user