Skip to content

Commit

Permalink
fixed lits
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaenzig committed Nov 28, 2024
1 parent 17f86be commit 55a5d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eva/vision/data/datasets/segmentation/lits.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def validate(self) -> None:
_validators.check_dataset_integrity(
self,
length=self._expected_dataset_lengths.get(self._split, 0),
n_classes=2,
first_and_last_labels=("liver", "tumor"),
n_classes=3,
first_and_last_labels=("background", "tumor"),
)

@override
Expand Down

0 comments on commit 55a5d20

Please sign in to comment.