wyxu commited on
Commit
aa1b484
1 Parent(s): 089b95f

Update dataset_copied.py

Browse files
Files changed (1) hide show
  1. 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://huggingface.co/datasets/wyxu/dataset_copied/resolve/main/cifar-10-python.tar.gz"
43
 
44
  _NAMES = [
45
  "airplane",
@@ -76,13 +76,13 @@ class dataset_copied(datasets.GeneratorBasedBuilder):
76
  }
77
  ),
78
  supervised_keys=("img", "label"),
79
- homepage="https://huggingface.co/datasets/wyxu/dataset_copied",
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_and_extract(_DATA_URL)
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(