antoniorv6 / antoniorv6/SMT

Data resize does not respect aspect ratio in some cases

未关闭
#22 0 条评论 0 个 reaction 已指派 1 人 已被 @antoniorv6 认领 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。