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 error when image mixup hyperparam is non-zero for instance segmentation training on u7 #1928

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

Conversation

fsana-cpr
Copy link

Currently, if mixup is non-zero, an error is thrown in cases where there is an image with no labels. The following is the trace:

image-2023-11-27-14-30-33-066

Most current issues #795, laitathei/YOLOv7-Pytorch-Segmentation#4 suggest to set mixup to 0.0 to fix it.

This is a more permanent fix.

@fsana-cpr
Copy link
Author

@WongKinYiu @AlexeyAB pinging for review :)

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.

1 participant