rctn / sparsecoding

Reference sparse coding implementations for efficient learning and inference.
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

implement torchvision data transform #23

Open ligeralde opened 2 years ago

cshewmake2 commented 2 years ago

TODO revisit whitening object to be compatible with torch.transforms composition. Currently the whitener init function takes data as an argument. In the future, we should consider removing this from the init, instead of including only arguments to be passed which are parameters of the whitening. The mean and other member variables will instead be computed and initialized after object init.

@ligeralde @alvinzz