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

utils.py第113行是不是有误 #4

Open
zezisme opened this issue Aug 24, 2020 · 1 comment
Open

utils.py第113行是不是有误 #4

zezisme opened this issue Aug 24, 2020 · 1 comment

Comments

@zezisme
Copy link

zezisme commented Aug 24, 2020

第113行:place_y = [0,int(hmin_offset_y),int(wmin_offset_y),0],这里是不是有误,w应该改成h。masaic处理依次粘贴图片代码中体现的是按左上,左下,右下,右上顺序,这里的第三个数据应该是右下角图片的纵坐标,应该是int(h*min_offset_y)。

@bubbliiiing
Copy link
Owner

你说的是有些道理,不过一般h, w = input_shape是个正方形,所以h和w相等。因此效果是一样的,你说的应该是对的,我去看了看

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