Skip to content

Commit

Permalink
Change datamodules' default values
Browse files Browse the repository at this point in the history
  • Loading branch information
akihironitta committed Aug 12, 2021
1 parent 4eebe3f commit c6adbae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pl_bolts/datamodules/binary_emnist_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ def __init__(
data_dir: Optional[str] = None,
split: str = 'mnist',
val_split: Union[int, float] = 0.2,
num_workers: int = 16,
num_workers: int = 0,
normalize: bool = False,
batch_size: int = 32,
seed: int = 42,
shuffle: bool = False,
pin_memory: bool = False,
shuffle: bool = True,
pin_memory: bool = True,
drop_last: bool = False,
strict_val_split: bool = False,
*args: Any,
Expand Down
6 changes: 3 additions & 3 deletions pl_bolts/datamodules/emnist_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ def __init__(
data_dir: Optional[str] = None,
split: str = 'mnist',
val_split: Union[int, float] = 0.2,
num_workers: int = 16,
num_workers: int = 0,
normalize: bool = False,
batch_size: int = 32,
seed: int = 42,
shuffle: bool = False,
pin_memory: bool = False,
shuffle: bool = True,
pin_memory: bool = True,
drop_last: bool = False,
strict_val_split: bool = False,
*args: Any,
Expand Down

0 comments on commit c6adbae

Please sign in to comment.