Datasets:
bug fix
Browse files- ssl4eo_eu_forest.py +6 -1
ssl4eo_eu_forest.py
CHANGED
|
@@ -62,7 +62,12 @@ note = {This work was carried under the EvoLand project, cf. https://www.evo-lan
|
|
| 62 |
Define dataset splits - single "training" split for now.
|
| 63 |
"""
|
| 64 |
# Streaming mode doesn't download files
|
| 65 |
-
return [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
def _generate_examples(self, filepath):
|
| 68 |
"""
|
|
|
|
| 62 |
Define dataset splits - single "training" split for now.
|
| 63 |
"""
|
| 64 |
# Streaming mode doesn't download files
|
| 65 |
+
return [
|
| 66 |
+
datasets.SplitGenerator(
|
| 67 |
+
name=datasets.Split.TRAIN,
|
| 68 |
+
gen_kwargs={"filepath": dl_manager.iter_files(["meta.jsonl"]}
|
| 69 |
+
)
|
| 70 |
+
]
|
| 71 |
|
| 72 |
def _generate_examples(self, filepath):
|
| 73 |
"""
|