Update Image-demo.py
Browse files- Image-demo.py +1 -1
Image-demo.py
CHANGED
@@ -42,7 +42,7 @@ class ImageSet(datasets.GeneratorBasedBuilder):
|
|
42 |
def _split_generators(self, dl_manager):
|
43 |
images_archive = dl_manager.download(_REPO_URL)
|
44 |
image_iters = dl_manager.iter_archive(images_archive)
|
45 |
-
filepath = dl_manager.
|
46 |
# caption_iters = dl_manager.iter_archive(caption_archive)
|
47 |
return [
|
48 |
datasets.SplitGenerator(
|
|
|
42 |
def _split_generators(self, dl_manager):
|
43 |
images_archive = dl_manager.download(_REPO_URL)
|
44 |
image_iters = dl_manager.iter_archive(images_archive)
|
45 |
+
filepath = dl_manager.download_and_extract(_CAPTION_URL)
|
46 |
# caption_iters = dl_manager.iter_archive(caption_archive)
|
47 |
return [
|
48 |
datasets.SplitGenerator(
|