Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loss of information: upscaling after downscaling in get_item #11

Open
remtav opened this issue Feb 6, 2020 · 0 comments
Open

Loss of information: upscaling after downscaling in get_item #11

remtav opened this issue Feb 6, 2020 · 0 comments

Comments

@remtav
Copy link

remtav commented Feb 6, 2020

scale = np.random.uniform(low=0.7, high=2.0)

In get_item, you resize image to 50% of original dimensions. Then, you randomly scale downscaled image to 70-200%. In the case of upsamplig to 200%, information about original image has been lost. Wouldn't it be best to work with original image if upscaling by factor of <100% ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant