apal commited on
Commit
bb11c60
·
1 Parent(s): 9c3d9b9

Update SkyScenes.py

Browse files
Files changed (1) hide show
  1. SkyScenes.py +2 -2
SkyScenes.py CHANGED
@@ -98,8 +98,8 @@ class SKYSCENES(datasets.GeneratorBasedBuilder):
98
 
99
  def _generate_examples(self, images, metadata_path):
100
  """Generate images and labels for splits."""
101
- with open(metadata_path, encoding="utf-8") as f:
102
- files_to_keep = set(f.read().split("\n"))
103
  # print('KEEP',files_to_keep)
104
  for file_path, file_obj in images:
105
  # print('FILE',file_path)
 
98
 
99
  def _generate_examples(self, images, metadata_path):
100
  """Generate images and labels for splits."""
101
+ # with open(metadata_path, encoding="utf-8") as f:
102
+ # files_to_keep = set(f.read().split("\n"))
103
  # print('KEEP',files_to_keep)
104
  for file_path, file_obj in images:
105
  # print('FILE',file_path)