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

a hidden bug about image_size #21

Open
ShuaiLYU opened this issue Jul 1, 2022 · 1 comment
Open

a hidden bug about image_size #21

ShuaiLYU opened this issue Jul 1, 2022 · 1 comment

Comments

@ShuaiLYU
Copy link

ShuaiLYU commented Jul 1, 2022

Dear Runinho,

I found that you use " h = img.size[0] w = img.size[1]" in the cutpaste.py. I think it should be " w = img.size[0]
h = img.size[1]" here. the reason the bug haven't been triggered is that the images used in this dataet have same width and height.

Amending the bug is appreciated.

Thanks and Best Regards.

@Runinho
Copy link
Owner

Runinho commented Jul 3, 2022

Hi,

Can you create a pull request with the changes you propose?

Thanks,
Runinho

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

2 participants