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
pred_xyxy[:, :2] = pred[:, 2]/float(S) - 0.5 * pred[:, 2:4] pred_xyxy[:, 2:4] = pred[:, 2]/float(S) + 0.5 * pred[:, 2:4]
should be changed to pred_xyxy[:, :2] = pred[:, :2]/float(S) - 0.5 * pred[:, 2:4] pred_xyxy[:, 2:4] = pred[:, :2]/float(S) + 0.5 * pred[:, 2:4]
and also for target_xyxy
The text was updated successfully, but these errors were encountered:
Merge pull request #2 from nuka137/fix-issue-1
09ff522
Fix #1
Thank you for reporting. This has been solved in PR #2 by nuka137.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
pred_xyxy[:, :2] = pred[:, 2]/float(S) - 0.5 * pred[:, 2:4]
pred_xyxy[:, 2:4] = pred[:, 2]/float(S) + 0.5 * pred[:, 2:4]
should be changed to
pred_xyxy[:, :2] = pred[:, :2]/float(S) - 0.5 * pred[:, 2:4]
pred_xyxy[:, 2:4] = pred[:, :2]/float(S) + 0.5 * pred[:, 2:4]
and also for target_xyxy
The text was updated successfully, but these errors were encountered: