Skip to content

Commit

Permalink
bugfix: batch_size parameter for DataModules remaining (Lightning-Uni…
Browse files Browse the repository at this point in the history
…verse#344)

* bugfix: batch_size for DataModules remaining

* Update sklearn datamodule tests

* Fix default_transforms. Keep internal for every data module

* fix typo on binary_mnist_datamodule

thanks @akihironitta

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
  • Loading branch information
2 people authored and Christoph Clement committed Dec 17, 2020
1 parent f058a3f commit 141a7d3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pl_bolts/datamodules/kitti_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ def __init__(
self.pin_memory = pin_memory
self.drop_last = drop_last

self.default_transforms = transforms.Compose([
transforms.ToTensor(),
transforms.Normalize(mean=[0.35675976, 0.37380189, 0.3764753],
std=[0.32064945, 0.32098866, 0.32325324])
])

# split into train, val, test
kitti_dataset = KittiDataset(self.data_dir, transform=self._default_transforms())

Expand Down

0 comments on commit 141a7d3

Please sign in to comment.