Pārlūkot izejas kodu

[Fix] fix pca params

Yizhou Chen 3 gadi atpakaļ
vecāks
revīzija
15514d6b47
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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):