未验证 提交 73c2a787 编写于 作者: J JiaQi Xu 提交者: GitHub

Update ssd_training.py

上级 559d0725
......@@ -126,7 +126,7 @@ class Generator(object):
# resize image
new_ar = w/h * rand(1-jitter,1+jitter)/rand(1-jitter,1+jitter)
scale = rand(.5, 1)
scale = rand(.25, 2)
if new_ar < 1:
nh = int(scale*h)
nw = int(nh*new_ar)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册