Skip to content

Commit

Permalink
update ct dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
nnaakkaaii committed Jun 16, 2024
1 parent 93b433e commit 75079f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hrdae/dataloaders/datasets/ct.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(
self.in_memory = in_memory

def __len__(self) -> int:
return len(self.data)
return len(self.paths)

def __getitem__(self, index: int) -> dict[str, Tensor]:
if len(self.data) > 0:
Expand Down

0 comments on commit 75079f8

Please sign in to comment.