Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/superannotate/lib/core/usecases/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ def execute(self):
fill_color = *class_color_map[annotation["className"]], 255
for part in annotation["parts"]:
part_color = *self.generate_color(part["color"]), 255
temp_mask = np.alltrue(annotation_mask == part_color, axis=2)
temp_mask = np.all(annotation_mask == part_color, axis=2)
empty_image_arr[temp_mask] = fill_color

images = [
Expand Down
2 changes: 0 additions & 2 deletions tests/integration/annotations/test_annotation_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def test_delete_annotations(self):
"name": "example_image_1.jpg",
"height": None,
"width": None,
"isPredicted": False,
"status": "NotStarted",
"pinned": False,
"annotatorEmail": None,
Expand Down Expand Up @@ -77,7 +76,6 @@ def test_delete_annotations_by_name(self):
"name": "example_image_1.jpg",
"height": None,
"width": None,
"isPredicted": False,
"status": "NotStarted",
"pinned": False,
"annotatorEmail": None,
Expand Down
42 changes: 0 additions & 42 deletions tests/integration/test_ml_funcs.py

This file was deleted.