Mr.Li 2370a5513e
Bugfix: update dataloaders.py to fix "resize to 0" (#10558)
* fix bug "resize to 0"

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Use math.ceil() for resize to enforce min floor of 1 pixel

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
2022-12-22 14:55:09 +01:00
..
2022-12-15 13:56:42 +01:00
2022-11-15 16:27:07 +01:00
2022-12-01 08:39:24 -08:00