Datasets:
Update dataset_copied.py
Browse files- dataset_copied.py +3 -3
dataset_copied.py
CHANGED
@@ -39,7 +39,7 @@ The CIFAR-10 dataset consists of 60000 32x32 colour images in 10 classes, with 6
|
|
39 |
per class. There are 50000 training images and 10000 test images.
|
40 |
"""
|
41 |
|
42 |
-
_DATA_URL = "https://
|
43 |
|
44 |
_NAMES = [
|
45 |
"airplane",
|
@@ -76,13 +76,13 @@ class dataset_copied(datasets.GeneratorBasedBuilder):
|
|
76 |
}
|
77 |
),
|
78 |
supervised_keys=("img", "label"),
|
79 |
-
homepage="https://
|
80 |
citation=_CITATION,
|
81 |
task_templates=ImageClassification(image_column="img", label_column="label"),
|
82 |
)
|
83 |
|
84 |
def _split_generators(self, dl_manager):
|
85 |
-
archive = dl_manager.
|
86 |
|
87 |
return [
|
88 |
datasets.SplitGenerator(
|
|
|
39 |
per class. There are 50000 training images and 10000 test images.
|
40 |
"""
|
41 |
|
42 |
+
_DATA_URL = "https://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz"
|
43 |
|
44 |
_NAMES = [
|
45 |
"airplane",
|
|
|
76 |
}
|
77 |
),
|
78 |
supervised_keys=("img", "label"),
|
79 |
+
homepage="https://www.cs.toronto.edu/~kriz/cifar.html",
|
80 |
citation=_CITATION,
|
81 |
task_templates=ImageClassification(image_column="img", label_column="label"),
|
82 |
)
|
83 |
|
84 |
def _split_generators(self, dl_manager):
|
85 |
+
archive = dl_manager.download(_DATA_URL)
|
86 |
|
87 |
return [
|
88 |
datasets.SplitGenerator(
|