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
•
6995e9f
1
Parent(s):
23d78a5
wip
Browse files
fashion_mnist_label_drift.py
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
"""IMDb movie revies dataset mixed with Trip Advisor Hotel Reviews to simulate drift accross time."""
|
17 |
|
18 |
|
19 |
-
import
|
20 |
import os
|
21 |
import pandas as pd
|
22 |
import datasets
|
@@ -129,9 +129,8 @@ class FashionMNISTLabelDrift(datasets.GeneratorBasedBuilder):
|
|
129 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
|
130 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
131 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
132 |
-
print("EXTRACTED PATHS=",extracted_paths)
|
133 |
extracted_paths = dl_manager.download_and_extract(_URLS)
|
134 |
-
print(extracted_paths)
|
135 |
return [
|
136 |
datasets.SplitGenerator(
|
137 |
name=datasets.Split("training"),
|
|
|
16 |
"""IMDb movie revies dataset mixed with Trip Advisor Hotel Reviews to simulate drift accross time."""
|
17 |
|
18 |
|
19 |
+
import pickle
|
20 |
import os
|
21 |
import pandas as pd
|
22 |
import datasets
|
|
|
129 |
# dl_manager is a datasets.download.DownloadManager that can be used to download and extract URLS
|
130 |
# It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
|
131 |
# By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
|
|
|
132 |
extracted_paths = dl_manager.download_and_extract(_URLS)
|
133 |
+
print("EXTRACTED PATHS=",extracted_paths)
|
134 |
return [
|
135 |
datasets.SplitGenerator(
|
136 |
name=datasets.Split("training"),
|