Skip to content

Data resize does not respect aspect ratio in some cases #22

@antoniorv6

Description

@antoniorv6

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions