Bugfix - same output for PIL and tensor when centercrop size is greater than imgsize (#3333)
* Renamed original method to test center crop
* Added test method, docs and added padding when imgsize < cropsize.
* BugFix - keep odd_crop_size odd
* Do not crop when image size after padding matches crop size; updated test.
Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
Showing
Please register or sign in to comment