Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
10K<n<100K
Language Creators:
found
Annotations Creators:
crowdsourced
Tags:
License:
system HF staff commited on
Commit
1b501b6
1 Parent(s): ce564fb

Update files from the datasets library (from 1.7.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.7.0

Files changed (2) hide show
  1. README.md +4 -3
  2. cifar10.py +1 -1
README.md CHANGED
@@ -15,6 +15,7 @@ task_categories:
15
  - other
16
  task_ids:
17
  - other-other-image-classification
 
18
  ---
19
 
20
  # Dataset Card for CIFAR-10
@@ -22,12 +23,12 @@ task_ids:
22
  ## Table of Contents
23
  - [Dataset Description](#dataset-description)
24
  - [Dataset Summary](#dataset-summary)
25
- - [Supported Tasks](#supported-tasks-and-leaderboards)
26
  - [Languages](#languages)
27
  - [Dataset Structure](#dataset-structure)
28
  - [Data Instances](#data-instances)
29
- - [Data Fields](#data-instances)
30
- - [Data Splits](#data-instances)
31
  - [Dataset Creation](#dataset-creation)
32
  - [Curation Rationale](#curation-rationale)
33
  - [Source Data](#source-data)
 
15
  - other
16
  task_ids:
17
  - other-other-image-classification
18
+ paperswithcode_id: cifar-10
19
  ---
20
 
21
  # Dataset Card for CIFAR-10
 
23
  ## Table of Contents
24
  - [Dataset Description](#dataset-description)
25
  - [Dataset Summary](#dataset-summary)
26
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
27
  - [Languages](#languages)
28
  - [Dataset Structure](#dataset-structure)
29
  - [Data Instances](#data-instances)
30
+ - [Data Fields](#data-fields)
31
+ - [Data Splits](#data-splits)
32
  - [Dataset Creation](#dataset-creation)
33
  - [Curation Rationale](#curation-rationale)
34
  - [Source Data](#source-data)
cifar10.py CHANGED
@@ -113,7 +113,7 @@ class Cifar10(datasets.GeneratorBasedBuilder):
113
 
114
  img_reshaped = np.transpose(np.reshape(images[idx], (3, 32, 32)), (1, 2, 0))
115
 
116
- yield idx, {
117
  "img": img_reshaped,
118
  "label": labels[idx],
119
  }
 
113
 
114
  img_reshaped = np.transpose(np.reshape(images[idx], (3, 32, 32)), (1, 2, 0))
115
 
116
+ yield f"{batch}_{idx}", {
117
  "img": img_reshaped,
118
  "label": labels[idx],
119
  }