rvalerio commited on
Commit
c9732a6
1 Parent(s): a4907cc

commit files to HF hub

Browse files
Files changed (1) hide show
  1. windtunnel.py +1 -2
windtunnel.py CHANGED
@@ -26,8 +26,7 @@ class WindtunnelDataset(datasets.GeneratorBasedBuilder):
26
 
27
  def _split_generators(self, dl_manager):
28
  """Define the splits for the dataset."""
29
- metadata_path = os.path.join(self.config.data_dir, "metadata.json")
30
- with open(metadata_path, "r") as f:
31
  metadata = json.load(f)
32
 
33
  # Split the dataset into train, validation, and test
 
26
 
27
  def _split_generators(self, dl_manager):
28
  """Define the splits for the dataset."""
29
+ with open("metadata.json", "r") as f:
 
30
  metadata = json.load(f)
31
 
32
  # Split the dataset into train, validation, and test