Skip to content

Commit

Permalink
fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Cathy0908 committed Aug 17, 2023
1 parent a1593dc commit 7f10a83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_core/evaluation/test_coco_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,10 @@ def testExportSegmentsToCOCO(self):
for i, detection_mask in enumerate(detection_masks):
detection_masks[i] = detection_mask[:, :, :, None]

detection_scores = [np.array([.8], np.float32), np.array([.7], np.float32)]
detection_scores = [
np.array([.8], np.float32),
np.array([.7], np.float32)
]
detection_classes = [np.array([1], np.int32), np.array([1], np.int32)]

categories = [{
Expand Down

0 comments on commit 7f10a83

Please sign in to comment.