We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am wondering what happens if there are no detections in a frame. In that case I will be calling the update function with the following:
dets_all = {'dets': [], 'info': []}
It throws an error because it is trying to extract info from an empty list: dets = dets[:, self.reorder]
dets = dets[:, self.reorder]
How should empty detection be handled?
The text was updated successfully, but these errors were encountered:
That should never happen, as its only reading the detections from the text file, so if there are no detections in a frame, it wont just never read it.
Sorry, something went wrong.
It is weird that, on my side, my code can handle the empty list when executing dets = dets[:, self.reorder].
Could you please provide the detailed error message so that I can help.
No branches or pull requests
I am wondering what happens if there are no detections in a frame. In that case I will be calling the update function with the following:
It throws an error because it is trying to extract info from an empty list:
dets = dets[:, self.reorder]
How should empty detection be handled?
The text was updated successfully, but these errors were encountered: