Skip to content

Commit

Permalink
Minor update to cryonuseg dataset (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
anwai98 authored Nov 20, 2024
1 parent 8850d5e commit b18b9bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/datasets/histopathology/check_cryonuseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def check_cryonuseg():
path=os.path.join(ROOT, "cryonuseg"),
patch_shape=(1, 512, 512),
batch_size=1,
rater="b3",
rater="b1",
download=True,
)
check_loader(loader, 8, rgb=True, instance_labels=True)
Expand Down
2 changes: 1 addition & 1 deletion torch_em/data/datasets/histopathology/cryonuseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def get_cryonuseg_paths(
raise ValueError(f"'{rater_choice}' is not a valid rater choice.")

# Point to the instance labels folder
label_dir += r"label masks"
label_dir += r"label masks modify"

label_paths = natsorted(glob(os.path.join(path, label_dir, "*.tif")))
raw_paths = natsorted(glob(os.path.join(path, r"tissue images", "*.tif")))
Expand Down

0 comments on commit b18b9bf

Please sign in to comment.