From 7a5501d186d23cac3932e541c27c6e36b0c30164 Mon Sep 17 00:00:00 2001 From: Kaipeng Deng Date: Sat, 12 Oct 2019 17:01:20 +0800 Subject: [PATCH] fix typo in operators.py. test=develop (#3527) --- ppdet/data/transform/operators.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ppdet/data/transform/operators.py b/ppdet/data/transform/operators.py index 62e38588d..cd4ef4e8a 100644 --- a/ppdet/data/transform/operators.py +++ b/ppdet/data/transform/operators.py @@ -475,7 +475,7 @@ class ExpandImage(BaseOperator): """ Expand the image and modify bounding box. Operators: - 1. Scale the image weight and height. + 1. Scale the image width and height. 2. Construct new images with new height and width. 3. Fill the new image with the mean. 4. Put original imge into new image. @@ -550,7 +550,7 @@ class CropImage(BaseOperator): """ Crop the image and modify bounding box. Operators: - 1. Scale the image weight and height. + 1. Scale the image width and height. 2. Crop the image according to a radom sample. 3. Rescale the bounding box. 4. Determine if the new bbox is satisfied in the new image. @@ -646,7 +646,7 @@ class CropImageWithDataAchorSampling(BaseOperator): """ Crop the image and modify bounding box. Operators: - 1. Scale the image weight and height. + 1. Scale the image width and height. 2. Crop the image according to a radom sample. 3. Rescale the bounding box. 4. Determine if the new bbox is satisfied in the new image. -- GitLab