Update RDD_2020.py
Browse files- RDD_2020.py +2 -2
RDD_2020.py
CHANGED
@@ -74,7 +74,7 @@ class RDD2020_Dataset(datasets.GeneratorBasedBuilder):
|
|
74 |
citation=_CITATION,
|
75 |
)
|
76 |
|
77 |
-
|
78 |
"""This method downloads/extracts the data and defines the splits."""
|
79 |
data_dir = dl_manager.download_and_extract(_URLS["dataset"])
|
80 |
|
@@ -105,7 +105,7 @@ class RDD2020_Dataset(datasets.GeneratorBasedBuilder):
|
|
105 |
),
|
106 |
]
|
107 |
|
108 |
-
|
109 |
|
110 |
def _generate_examples(self, images_dir, annotations_dir, split):
|
111 |
"""Yields examples as (key, example) tuples."""
|
|
|
74 |
citation=_CITATION,
|
75 |
)
|
76 |
|
77 |
+
def _split_generators(self, dl_manager):
|
78 |
"""This method downloads/extracts the data and defines the splits."""
|
79 |
data_dir = dl_manager.download_and_extract(_URLS["dataset"])
|
80 |
|
|
|
105 |
),
|
106 |
]
|
107 |
|
108 |
+
|
109 |
|
110 |
def _generate_examples(self, images_dir, annotations_dir, split):
|
111 |
"""Yields examples as (key, example) tuples."""
|