Datasets:
Update flickr30k-fa.py
Browse files- flickr30k-fa.py +1 -0
flickr30k-fa.py
CHANGED
@@ -53,6 +53,7 @@ class Flickr30kFa(datasets.GeneratorBasedBuilder):
|
|
53 |
test_path = dl_manager.download_and_extract(_DOWNLOAD_URLS["test"])
|
54 |
archive_path = dl_manager.download(_DOWNLOAD_URLS["data"])
|
55 |
images_dir = dl_manager.extract(archive_path) if not dl_manager.is_streaming else ""
|
|
|
56 |
|
57 |
return [
|
58 |
datasets.SplitGenerator(
|
|
|
53 |
test_path = dl_manager.download_and_extract(_DOWNLOAD_URLS["test"])
|
54 |
archive_path = dl_manager.download(_DOWNLOAD_URLS["data"])
|
55 |
images_dir = dl_manager.extract(archive_path) if not dl_manager.is_streaming else ""
|
56 |
+
images_dir = os.path.join(images_dir, ZIP_IMAGES_DIR)
|
57 |
|
58 |
return [
|
59 |
datasets.SplitGenerator(
|