Update random_crop_data.py (#7496)

update split_regions
pull/7872/head
GrowStrong 2022-10-11 11:48:26 +08:00 committed by GitHub
parent e4a03137a1
commit b744fea356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ def split_regions(axis):
region = axis[min_axis:i]
min_axis = i
regions.append(region)
regions.append(axis[min_axis:]) # 添加的一行
return regions