From b744fea356d3a889cafec7086836cbfae019cc02 Mon Sep 17 00:00:00 2001 From: GrowStrong <53987162+HailinZZZ@users.noreply.github.com> Date: Tue, 11 Oct 2022 11:48:26 +0800 Subject: [PATCH] Update random_crop_data.py (#7496) update split_regions --- ppocr/data/imaug/random_crop_data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ppocr/data/imaug/random_crop_data.py b/ppocr/data/imaug/random_crop_data.py index 64aa110d..d634ac6f 100644 --- a/ppocr/data/imaug/random_crop_data.py +++ b/ppocr/data/imaug/random_crop_data.py @@ -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 -- GitLab