Update image-upoload.py
Browse files- image-upoload.py +2 -2
image-upoload.py
CHANGED
@@ -36,8 +36,8 @@ class ImageSet(datasets.GeneratorBasedBuilder):
|
|
36 |
|
37 |
def _split_generators(self, dl_manager):
|
38 |
path=dl_manager.download(_URL)
|
39 |
-
|
40 |
-
|
41 |
datasets.SplitGenerator(
|
42 |
name=datasets.Split.TRAIN,
|
43 |
gen_kwargs={
|
|
|
36 |
|
37 |
def _split_generators(self, dl_manager):
|
38 |
path=dl_manager.download(_URL)
|
39 |
+
image_iters=dl_manager.iter_archive(path)
|
40 |
+
return [
|
41 |
datasets.SplitGenerator(
|
42 |
name=datasets.Split.TRAIN,
|
43 |
gen_kwargs={
|