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

Updated RandomErasing code and tests to support batch of tensors (#2702) #2721

Merged

Conversation

vfdev-5
Copy link
Collaborator

@vfdev-5 vfdev-5 commented Sep 28, 2020

Fixes #2702

Description:

  • Updated code and tests to support batch of tensors, e.g. input of shape (B, C, H, W).

- Updated code and tests to support batch of tensors, e.g. input of shape (B, C, H, W).
@codecov
Copy link

codecov bot commented Sep 28, 2020

Codecov Report

Merging #2721 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2721   +/-   ##
=======================================
  Coverage   72.87%   72.87%           
=======================================
  Files          95       95           
  Lines        8237     8237           
  Branches     1285     1285           
=======================================
  Hits         6003     6003           
  Misses       1839     1839           
  Partials      395      395           
Impacted Files Coverage Δ
torchvision/transforms/functional.py 82.13% <100.00%> (ø)
torchvision/transforms/transforms.py 80.89% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 898802f...ea8eb06. Read the comment docs.

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Thanks!

@fmassa fmassa merged commit b618923 into pytorch:master Sep 30, 2020
bryant1410 pushed a commit to bryant1410/vision-1 that referenced this pull request Nov 22, 2020
- Updated code and tests to support batch of tensors, e.g. input of shape (B, C, H, W).
vfdev-5 added a commit to Quansight/vision that referenced this pull request Dec 4, 2020
- Updated code and tests to support batch of tensors, e.g. input of shape (B, C, H, W).
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.

RandomErasing to support batch of tensors
2 participants