Skip to content

[RFC]A potential solution to address the issue #9394 by by enlarging grid to (H+1, W+1) - seeking feedback#9403

Open
zy1git wants to merge 2 commits intopytorch:mainfrom
zy1git:elastic-bound-error
Open

[RFC]A potential solution to address the issue #9394 by by enlarging grid to (H+1, W+1) - seeking feedback#9403
zy1git wants to merge 2 commits intopytorch:mainfrom
zy1git:elastic-bound-error

Conversation

@zy1git
Copy link
Contributor

@zy1git zy1git commented Feb 25, 2026

Address this issue #9394 by enlarging grid to (H+1, W+1).

@pytorch-bot
Copy link

pytorch-bot bot commented Feb 25, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9403

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 2 Unrelated Failures

As of commit 73067ed with merge base 4967c64 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the cla signed label Feb 25, 2026
Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for trying this, Can you share visual outputs and compare with the alternative of claming to H-1, W-1?
I think it might help figuring out what should be the most correct approach

@zy1git
Copy link
Contributor Author

zy1git commented Feb 26, 2026

@NicolasHug I prepared a script and get the visual outputs but I feel that the visual outputs are quite similar because the difference is around 1-2 pixels which our human eyes cannot tell. However, I can print the bbox values and you will notice the difference.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants