Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor update to cryonuseg dataset #419

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
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
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
Loading