From 15514d6b4779f6d58f5ee70d94b8b82fdad85e1c Mon Sep 17 00:00:00 2001 From: Yizhou Chen Date: Sun, 17 Apr 2022 20:05:12 +0800 Subject: [PATCH] [Fix] fix pca params --- paddlers/transforms/operators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddlers/transforms/operators.py b/paddlers/transforms/operators.py index f1d71e7..e37b8f5 100644 --- a/paddlers/transforms/operators.py +++ b/paddlers/transforms/operators.py @@ -1438,7 +1438,7 @@ class DimReducing(Transform): self.whiten = whiten def apply_im(self, image): - image = pca(image, self.gamma) + image = pca(image, self.dim, self.whiten) return image def apply(self, sample):