Datasets:
Tasks:
Image Classification
Sub-tasks:
multi-class-classification
Languages:
English
Multilinguality:
monolingual
Size Categories:
10K<n<100K
Language Creators:
expert-generated
Annotations Creators:
expert-generated
Source Datasets:
extended|imdb
License:
Francisco Castillo
commited on
Commit
•
ba0e087
1
Parent(s):
6995e9f
wip
Browse files
fashion_mnist_label_drift.py
CHANGED
@@ -167,9 +167,9 @@ class FashionMNISTLabelDrift(datasets.GeneratorBasedBuilder):
|
|
167 |
images=data['image']
|
168 |
labels=data['label']
|
169 |
for idx, _ in enumerate(images):
|
170 |
-
if
|
171 |
continue
|
172 |
-
yield
|
173 |
"prediction_ts":prediction_ts[idx],
|
174 |
"label":labels[idx],
|
175 |
"image":images[idx]
|
|
|
167 |
images=data['image']
|
168 |
labels=data['label']
|
169 |
for idx, _ in enumerate(images):
|
170 |
+
if idx==0:
|
171 |
continue
|
172 |
+
yield idx, {
|
173 |
"prediction_ts":prediction_ts[idx],
|
174 |
"label":labels[idx],
|
175 |
"image":images[idx]
|