ppp121386 commited on
Commit
0d8875b
·
1 Parent(s): 8c3a11d

Update Image-demo.py

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