Datasets:

Modalities:
Geospatial
Languages:
English
DOI:
Libraries:
License:
cmalbrec commited on
Commit
0ed8292
·
verified ·
1 Parent(s): 2bfacda
Files changed (1) hide show
  1. 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 [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"filepath": self.config.data_files["train"]})]
 
 
 
 
 
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
  """