fixing script
Browse files- testman-dataset.py +0 -5
testman-dataset.py
CHANGED
@@ -38,16 +38,11 @@ class ImageSet(datasets.GeneratorBasedBuilder):
|
|
38 |
images_archive = dl_manager.download(f"{_REPO}/resolve/main/images.tar.gz")
|
39 |
image_iters = dl_manager.iter_archive(images_archive)
|
40 |
|
41 |
-
texts_archive = dl_manager.download(f"{_REPO}/resolve/main/texts.tar.gz")
|
42 |
-
text_iters = dl_manager.iter_archive(texts_archive)
|
43 |
-
|
44 |
-
|
45 |
return [
|
46 |
datasets.SplitGenerator(
|
47 |
name=datasets.Split.TRAIN,
|
48 |
gen_kwargs={
|
49 |
"images": image_iters,
|
50 |
-
"texts": text_iters
|
51 |
}
|
52 |
),
|
53 |
]
|
|
|
38 |
images_archive = dl_manager.download(f"{_REPO}/resolve/main/images.tar.gz")
|
39 |
image_iters = dl_manager.iter_archive(images_archive)
|
40 |
|
|
|
|
|
|
|
|
|
41 |
return [
|
42 |
datasets.SplitGenerator(
|
43 |
name=datasets.Split.TRAIN,
|
44 |
gen_kwargs={
|
45 |
"images": image_iters,
|
|
|
46 |
}
|
47 |
),
|
48 |
]
|