Skip to content

Commit

Permalink
Reporoduce the problem #1387
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiltsov-max committed Apr 9, 2020
1 parent e84f482 commit e913541
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datumaro/tests/test_coco_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,9 @@ def __iter__(self):
annotations=[
# Solitary keypoints
Points([1, 2, 0, 2, 4, 1], label=5, id=3),

# Some other solitary annotations (bug #1387)
Polygon([0, 0, 4, 0, 4, 4], label=3, id=4),
]),

DatasetItem(id=3, subset='val',
Expand Down

0 comments on commit e913541

Please sign in to comment.