Repository navigation
DOC FIX remove RandomErasing does not support PIL Images - #9431
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9431
Note: Links to docs will display an error until the docs builds have been completed. ❌ 9 New Failures, 6 Unrelated FailuresAs of commit 90b1453 with merge base 6d85459 ( NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
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. |
|
Hi @turbotimon! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at [email protected]. Thanks! |
|
@turbotimon Thanks for your contribution! |
|
Hey @zy1git! You merged this PR, but no labels were added. |
|
|
||
| class RandomErasing(torch.nn.Module): | ||
| """Randomly selects a rectangle region in a torch.Tensor image and erases its pixels. | ||
| This transform does not support PIL Image. |
There was a problem hiding this comment.
@zy1git this is the v1 docs, not v2. Please update v2 instead. Maybe v1 needs to be updated as well, but it's worth confirming first.
There was a problem hiding this comment.
Thanks a lot for pointing this out.
I investigated the v1 and it does not support PIL Image.
I have created this PR to fix this accordingly: #9440
…)" This reverts commit 6f131f1.
remove RandomErasing "does not support PIL Images" because it does
closes #9415