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: func filter_matches issue, IndexError #60

Closed
wants to merge 3 commits into from
Closed

fix: func filter_matches issue, IndexError #60

wants to merge 3 commits into from

Conversation

CaptXiong
Copy link

when I input an image full of white or other pure colors, the scores tensor will have a dim less than 3, so the function filter_matches will have this IndexError error: max(): Expected reduction dim 0 to have non-zero size.

@sarlinpe
Copy link
Member

I think that PR #92 is a better fix.

@Phil26AT
Copy link
Collaborator

Merged PR #92, closing this one.

@Phil26AT Phil26AT closed this Jan 24, 2024
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.

3 participants