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

Question about crop size #111

Open
KKaiYH opened this issue Mar 28, 2024 · 2 comments
Open

Question about crop size #111

KKaiYH opened this issue Mar 28, 2024 · 2 comments

Comments

@KKaiYH
Copy link

KKaiYH commented Mar 28, 2024

Hello, author:
If I want to use Crop size 512, in evaluate function, col += int(grid * 2 / 3) and row += int(grid * 2 / 3) in sliding_window, this 2/3 will cause code error because of non-integer division, how much will the author suggest to set?
image

@79zzz
Copy link

79zzz commented Apr 3, 2024

或许设置原始的321就不错呢

@LiheYoung
Copy link
Owner

Hi, could you please detail the code error? Why would int(grid * 2 / 3) cause the error when grid is set as 512?

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

3 participants