UniMatch icon indicating copy to clipboard operation
UniMatch copied to clipboard

Question about crop size

Open KKaiYH opened this issue 11 months ago • 2 comments

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

KKaiYH avatar Mar 28 '24 09:03 KKaiYH

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

79zzz avatar Apr 03 '24 08:04 79zzz

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

LiheYoung avatar May 27 '24 08:05 LiheYoung