未验证 提交 b744fea3 编写于 作者: G GrowStrong 提交者: GitHub

Update random_crop_data.py (#7496)

update split_regions
上级 e4a03137
...@@ -52,6 +52,7 @@ def split_regions(axis): ...@@ -52,6 +52,7 @@ def split_regions(axis):
region = axis[min_axis:i] region = axis[min_axis:i]
min_axis = i min_axis = i
regions.append(region) regions.append(region)
regions.append(axis[min_axis:]) # 添加的一行
return regions return regions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册