transformers
3b09d3f0 - fix: center_crop occasionally outputs off-by-one dimension matrix (#30934)

Commit
1 year ago
fix: center_crop occasionally outputs off-by-one dimension matrix (#30934) If required padding for a crop larger than input image is odd-numbered, the padding would be rounded down instead of rounded up, causing the output dimension to be one smaller than it should be.
Author
Parents
Loading