Datasets:
Update IBDColEpi.py
Browse files- IBDColEpi.py +2 -2
IBDColEpi.py
CHANGED
@@ -47,7 +47,7 @@ _LICENSE = "MIT"
|
|
47 |
base_path = "https://huggingface.co/datasets/andreped/IBDColEpi/resolve/main/"
|
48 |
_URLS = {"part_0" + str(x): base_path + "WSI_part_0" + str(x) + ".zip" for x in range(1, 10)}
|
49 |
_URLS["part_10"] = base_path + "WSI_part_10.zip"
|
50 |
-
_URLS["
|
51 |
|
52 |
class IBDColEpi(datasets.GeneratorBasedBuilder):
|
53 |
"""140 HE and 111 CD3-stained colon biopsies of active and inactivate inflammatory bowel disease with epithelium annotated."""
|
@@ -73,7 +73,7 @@ class IBDColEpi(datasets.GeneratorBasedBuilder):
|
|
73 |
] + [
|
74 |
datasets.BuilderConfig(name="part_10", version=datasets.Version("1.0.0"), description="This include part 10/10 of the WSIs in the dataset.") \
|
75 |
] + [
|
76 |
-
datasets.BuilderConfig(name="
|
77 |
]
|
78 |
|
79 |
DEFAULT_CONFIG_NAME = "part_01" # It's not mandatory to have a default configuration. Just use one if it make sense.
|
|
|
47 |
base_path = "https://huggingface.co/datasets/andreped/IBDColEpi/resolve/main/"
|
48 |
_URLS = {"part_0" + str(x): base_path + "WSI_part_0" + str(x) + ".zip" for x in range(1, 10)}
|
49 |
_URLS["part_10"] = base_path + "WSI_part_10.zip"
|
50 |
+
_URLS["annotations"] = base_path + "TIFF-annotations.zip"
|
51 |
|
52 |
class IBDColEpi(datasets.GeneratorBasedBuilder):
|
53 |
"""140 HE and 111 CD3-stained colon biopsies of active and inactivate inflammatory bowel disease with epithelium annotated."""
|
|
|
73 |
] + [
|
74 |
datasets.BuilderConfig(name="part_10", version=datasets.Version("1.0.0"), description="This include part 10/10 of the WSIs in the dataset.") \
|
75 |
] + [
|
76 |
+
datasets.BuilderConfig(name="annotations", version=datasets.Version("1.0.0"), description="This include all annotations stored as binary pyramidal, tiled TIFFs."),
|
77 |
]
|
78 |
|
79 |
DEFAULT_CONFIG_NAME = "part_01" # It's not mandatory to have a default configuration. Just use one if it make sense.
|