From 841e1872c1124c933c8732c56373e3e9bdd55a76 Mon Sep 17 00:00:00 2001 From: GT-Zhang <46156734+GT-ZhangAcer@users.noreply.github.com> Date: Fri, 5 Feb 2021 13:28:29 +0800 Subject: [PATCH] Fix a spelling error in the "5.2 Cutmix" document (#601) Fix a spelling error in the "5.2 Cutmix" document. `rom ppcls.data.imaug import DecodeImage` to `from ppcls.data.imaug import DecodeImage` --- .../zh_CN/advanced_tutorials/image_augmentation/ImageAugment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh_CN/advanced_tutorials/image_augmentation/ImageAugment.md b/docs/zh_CN/advanced_tutorials/image_augmentation/ImageAugment.md index f42eb47b..69172628 100644 --- a/docs/zh_CN/advanced_tutorials/image_augmentation/ImageAugment.md +++ b/docs/zh_CN/advanced_tutorials/image_augmentation/ImageAugment.md @@ -383,7 +383,7 @@ new_batch = mixup_op(batch) 与 `Mixup` 直接对两幅图进行相加不一样,`Cutmix` 是从一幅图中随机裁剪出一个 `ROI`,然后覆盖当前图像中对应的区域,代码实现如下所示: ```python -rom ppcls.data.imaug import DecodeImage +from ppcls.data.imaug import DecodeImage from ppcls.data.imaug import ResizeImage from ppcls.data.imaug import ToCHWImage from ppcls.data.imaug import transform -- GitLab