From 5468de0944401da3e9182e5f19c474b738f6e82e Mon Sep 17 00:00:00 2001 From: LielinJiang <50691816+LielinJiang@users.noreply.github.com> Date: Sun, 25 Apr 2021 17:19:46 +0800 Subject: [PATCH] fix compose example code, testt=document_fix (#32522) --- python/paddle/vision/transforms/transforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/vision/transforms/transforms.py b/python/paddle/vision/transforms/transforms.py index 7d3d5f525c2..921e78cace6 100644 --- a/python/paddle/vision/transforms/transforms.py +++ b/python/paddle/vision/transforms/transforms.py @@ -104,7 +104,7 @@ class Compose(object): for i in range(10): sample = flowers[i] - print(sample[0].shape, sample[1]) + print(sample[0].size, sample[1]) """ -- GitLab