Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COCO: when saving, don't drop standalone skeletons that have group IDs #15

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

SpecLad
Copy link

@SpecLad SpecLad commented Oct 14, 2022

Summary

Previously, the find_instance_anns calls would exhaust the group iterator, thus even if the condition was true, the following code would find no skeletons.

How to test

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2022 CVAT.ai Corporation
#
# SPDX-License-Identifier: MIT

Previously, the `find_instance_anns` calls would exhaust the `group`
iterator, thus even if the condition was true, the following code would find
no skeletons.
@SpecLad SpecLad marked this pull request as ready for review October 14, 2022 08:47
@SpecLad SpecLad merged commit 77a7968 into cvat-ai:develop Oct 14, 2022
@SpecLad SpecLad deleted the solitary-skellies branch October 14, 2022 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants