arxyzan commited on
Commit
5c084cc
1 Parent(s): 4b206ea

Update flickr30k-fa.py

Browse files
Files changed (1) hide show
  1. 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(