cleanup
Browse files
ANAKIN.py
CHANGED
@@ -46,17 +46,6 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
46 |
|
47 |
VERSION = datasets.Version("1.0.0")
|
48 |
|
49 |
-
# This is an example of a dataset with multiple configurations.
|
50 |
-
# If you don't want/need to define several sub-sets in your dataset,
|
51 |
-
# just remove the BUILDER_CONFIG_CLASS and the BUILDER_CONFIGS attributes.
|
52 |
-
|
53 |
-
# If you need to make complex sub-parts in the datasets with configurable options
|
54 |
-
# You can create your own builder configuration class to store attribute, inheriting from datasets.BuilderConfig
|
55 |
-
# BUILDER_CONFIG_CLASS = MyBuilderConfig
|
56 |
-
|
57 |
-
# You will be able to load one or the other configurations in the following list with
|
58 |
-
# data = datasets.load_dataset('my_dataset', 'first_domain')
|
59 |
-
# data = datasets.load_dataset('my_dataset', 'second_domain')
|
60 |
BUILDER_CONFIGS = [
|
61 |
datasets.BuilderConfig(
|
62 |
name="all",
|
@@ -195,7 +184,6 @@ class Anakin(datasets.GeneratorBasedBuilder):
|
|
195 |
}
|
196 |
for idx in split_ids[split]
|
197 |
]
|
198 |
-
print(data_urls)
|
199 |
data_dir[split] = dl_manager.download(data_urls)
|
200 |
mask_dir[split] = {
|
201 |
idx: dl_manager.iter_archive(
|
|
|
46 |
|
47 |
VERSION = datasets.Version("1.0.0")
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
BUILDER_CONFIGS = [
|
50 |
datasets.BuilderConfig(
|
51 |
name="all",
|
|
|
184 |
}
|
185 |
for idx in split_ids[split]
|
186 |
]
|
|
|
187 |
data_dir[split] = dl_manager.download(data_urls)
|
188 |
mask_dir[split] = {
|
189 |
idx: dl_manager.iter_archive(
|