File tree Expand file tree Collapse file tree 3 files changed +1
-45
lines changed
src/superannotate/lib/core/usecases Expand file tree Collapse file tree 3 files changed +1
-45
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ def execute(self):
544544 fill_color = * class_color_map [annotation ["className" ]], 255
545545 for part in annotation ["parts" ]:
546546 part_color = * self .generate_color (part ["color" ]), 255
547- temp_mask = np .alltrue (annotation_mask == part_color , axis = 2 )
547+ temp_mask = np .all (annotation_mask == part_color , axis = 2 )
548548 empty_image_arr [temp_mask ] = fill_color
549549
550550 images = [
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ def test_delete_annotations(self):
4747 "name" : "example_image_1.jpg" ,
4848 "height" : None ,
4949 "width" : None ,
50- "isPredicted" : False ,
5150 "status" : "NotStarted" ,
5251 "pinned" : False ,
5352 "annotatorEmail" : None ,
@@ -77,7 +76,6 @@ def test_delete_annotations_by_name(self):
7776 "name" : "example_image_1.jpg" ,
7877 "height" : None ,
7978 "width" : None ,
80- "isPredicted" : False ,
8179 "status" : "NotStarted" ,
8280 "pinned" : False ,
8381 "annotatorEmail" : None ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments