apal commited on
Commit
9c3d9b9
1 Parent(s): 388463b

Update SkyScenes.py

Browse files
Files changed (1) hide show
  1. SkyScenes.py +2 -2
SkyScenes.py CHANGED
@@ -100,9 +100,9 @@ class SKYSCENES(datasets.GeneratorBasedBuilder):
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)
106
  # if file_path.startswith(_IMAGES_DIR):
107
  # if file_path[len(_IMAGES_DIR) : -len(".jpg")] in files_to_keep:
108
  # label = file_path.split("/")[2]
 
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)
106
  # if file_path.startswith(_IMAGES_DIR):
107
  # if file_path[len(_IMAGES_DIR) : -len(".jpg")] in files_to_keep:
108
  # label = file_path.split("/")[2]