Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions viscy/data/gpu_aug.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,10 @@ class CachedOmeZarrDataModule(GPUTransformDataModule, SelectWell):
Skip caching for this dataset, by default False
include_wells : list[str], optional
List of well names to include in the dataset, by default None (all)
include_wells : list[str], optional
List of well names to include in the dataset, by default None (all)
exclude_fovs : list[str], optional
List of fovs names to exclude from the dataset, by default None (none)
prefetch_factor : int | None, optional
Number of batches loaded in advance by each worker.
"""

def __init__(
Expand All @@ -222,6 +224,7 @@ def __init__(
skip_cache: bool = False,
include_wells: list[str] | None = None,
exclude_fovs: list[str] | None = None,
prefetch_factor: int | None = None,
):
super().__init__()
self.data_path = data_path
Expand All @@ -237,6 +240,7 @@ def __init__(
self.skip_cache = skip_cache
self._include_wells = include_wells
self._exclude_fovs = exclude_fovs
self.prefetch_factor = prefetch_factor

@property
def train_cpu_transforms(self) -> Compose:
Expand Down