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: add appropriate error message when validating padding argument. #8959

Merged
merged 5 commits into from
Mar 26, 2025

Conversation

GdoongMathew
Copy link
Contributor

@GdoongMathew GdoongMathew commented Mar 8, 2025

fix #8891

cc @vfdev-5

Copy link

pytorch-bot bot commented Mar 8, 2025

🔗 Helpful Links

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

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

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

@GdoongMathew
Copy link
Contributor Author

A friendly ping to @NicolasHug for a review ~

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 @GdoongMathew

@NicolasHug NicolasHug merged commit 997348d into pytorch:main Mar 26, 2025
1 check passed
@GdoongMathew GdoongMathew deleted the fix/padding-err-msg branch March 27, 2025 01:12
NicolasHug added a commit to NicolasHug/vision that referenced this pull request Mar 27, 2025
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.

Setting a list of float type values to padding argument of RandomCrop() gets the indirect error message
3 participants