From a43b60f99f317367f03d09931b88080b5fe640c4 Mon Sep 17 00:00:00 2001 From: Amir Lashkari Date: Thu, 23 Apr 2020 13:57:52 -0400 Subject: [PATCH] Fixed not in list error --- mindspore/dataset/transforms/vision/py_transforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/dataset/transforms/vision/py_transforms.py b/mindspore/dataset/transforms/vision/py_transforms.py index 51bea80b2..77957bff4 100644 --- a/mindspore/dataset/transforms/vision/py_transforms.py +++ b/mindspore/dataset/transforms/vision/py_transforms.py @@ -1485,4 +1485,4 @@ class UniformAugment: Returns: img (PIL Image), Transformed image. """ - return util.uniform_augment(img, self.transforms, self.num_ops) + return util.uniform_augment(img, self.transforms.copy(), self.num_ops) -- GitLab