Browse Source

[Fix] fix pca params

Yizhou Chen 3 years ago
parent
commit
15514d6b47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      paddlers/transforms/operators.py

+ 1 - 1
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):