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

fix loop where ann_count would not count the annotations in the last sample #1015

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArkanEmre
Copy link

@ArkanEmre ArkanEmre commented Dec 7, 2023

This MR fixes the while loop in ann_count. The problem was that if there is only one sample in the scene, the loop condition is never met. Moreover, the loop condition will always be False before the annotations in the last sample of the scene are added to the count.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant