Data resize does not respect aspect ratio in some cases
未关闭
bug
good first issue
- 主要语言
- Python
- 星标
- 84
- 派生
- 29
- PR 合并指标
- 30 天内没有已合并 PR
描述
There is a small bug on data resizing and normalization. In ``data.py`, ``prepare_data`` function, it turns out that the resizing may clip the image to 256 px in when resizing the image. If this happens and the reduce factor is applied, the aspect ratio is not respected. This should be solved, as some datasets may suffer from this non-voluntary distortion.
贡献指南
评估
这个 Issue 还没有评估数据。