[Fix] fix pca params

own
Yizhou Chen 3 years ago committed by GitHub
parent ca1051e5eb
commit 15514d6b47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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):

Loading…
Cancel
Save