[Bug] RandomCrop returns padded image when p=0
See original GitHub issue🐛 Bug
RandomCrop
returns the padded image when p=0, Probably RandomCrop3D
is also affected.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
RandomCrop — Torchvision main documentation - PyTorch
pad_if_needed (boolean) – It will pad the image if smaller than the desired size to avoid raising an exception. Since cropping is done...
Read more >Why is RandomCrop with size 84 and padding 8 returning an ...
The padding is applied to the input image or tensor before applying the random crop. Ultimately, the output image has a spatial size...
Read more >Random cropping in data augmentation · Issue #230 - GitHub
So I random crop the image to 256x256 for training because of GPU ... before resizing and padding but sometimes I encounter the...
Read more >oxford.py · master · IntelligentTEAM / AAAI2019-SIFCN(Accepted ...
make random crop from the input image. 119. :param im: 120. :param polys: 121. :param tags: 122. :param crop_background: 123. :param max_tries: 124....
Read more >Release 1.8.0
Fix bug where multi-image Estimator eval summaries were not displayed ... Estimator now supports Dataset : input_fn can return a Dataset instead of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hasn’t been fixed yet.
is this still relevant ?