Update SkyScenes.py
Browse files- SkyScenes.py +1 -1
SkyScenes.py
CHANGED
@@ -98,6 +98,6 @@ class SKYSCENES(datasets.GeneratorBasedBuilder):
|
|
98 |
# if file_path.startswith(_IMAGES_DIR):
|
99 |
# if file_path[len(_IMAGES_DIR) : -len(".jpg")] in files_to_keep:
|
100 |
# label = file_path.split("/")[2]
|
101 |
-
yield
|
102 |
"image": {"path": filepath, "bytes": image_bytes},
|
103 |
}
|
|
|
98 |
# if file_path.startswith(_IMAGES_DIR):
|
99 |
# if file_path[len(_IMAGES_DIR) : -len(".jpg")] in files_to_keep:
|
100 |
# label = file_path.split("/")[2]
|
101 |
+
yield filepath, {
|
102 |
"image": {"path": filepath, "bytes": image_bytes},
|
103 |
}
|