Skip to content

Commit

Permalink
try use COPY-FROM to avoid ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored Jul 4, 2022
1 parent 44480de commit a37c3d0
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions docs/api/paddle/vision/transforms/Compose_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,5 @@ Compose
代码示例
:::::::::

.. code-block:: python

from paddle.vision.datasets import Flowers
from paddle.vision.transforms import Compose, ColorJitter, Resize
transform = Compose([ColorJitter(), Resize(size=608)])
flowers = Flowers(mode='test', transform=transform)
for i in range(10):
sample = flowers[i]
print(sample[0].size, sample[1])
COPY-FROM: paddle.vision.transforms.Compose

0 comments on commit a37c3d0

Please sign in to comment.