Skip to content
Snippets Groups Projects
Commit 6fde7ea1 authored by s184364's avatar s184364
Browse files

set default pin_memory to false.

parent 41be9bdb
Branches
No related tags found
1 merge request!23Implementation of Deep Learning unit tests, as well as paths to the 2d data for windows users in the UNet jupyter notebook.
This commit is part of merge request !23. Comments created here will be created in the context of that merge request.
......@@ -174,7 +174,7 @@ def prepare_datasets(path: str, val_fraction: float, model, augmentation):
return train_set, val_set, test_set
def prepare_dataloaders(train_set, val_set, test_set, batch_size, shuffle_train = True, num_workers = 8, pin_memory = True):
def prepare_dataloaders(train_set, val_set, test_set, batch_size, shuffle_train = True, num_workers = 8, pin_memory = False):
"""
Prepares the dataloaders for model training.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment