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`
pull/604/head
GT-Zhang 2021-02-05 13:28:29 +08:00 committed by GitHub
parent e16b79530c
commit 841e1872c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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