Skip to content

Commit

Permalink
Update subdataset.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoadesScholar authored Nov 4, 2024
1 parent 8bb0d97 commit 6371af1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/cellmap_data/subdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ class CellMapSubset(Subset):
This subclasses PyTorch Subset to wrap a CellMapDataset or CellMapMultiDataset object under a common API, which can be used for dataloading. It maintains the same API as the Subset class. It retrieves raw and groundtruth data from a CellMapDataset or CellMapMultiDataset object.
"""

def __init__(
self,
dataset: CellMapDataset | CellMapMultiDataset,
indices: Sequence[int],
) -> None:
def __init__(self, dataset: CellMapDataset | CellMapMultiDataset, indices: Sequence[int], ) -> None:
"""
Args:
dataset: CellMapDataset | CellMapMultiDataset
Expand Down

0 comments on commit 6371af1

Please sign in to comment.