Datasets:
ArXiv:
DOI:
License:
Commit
·
c4aabc3
1
Parent(s):
5de3fcb
Update VGGFace2.py
Browse files- VGGFace2.py +3 -3
VGGFace2.py
CHANGED
|
@@ -79,7 +79,8 @@ class VGGFace2(datasets.GeneratorBasedBuilder):
|
|
| 79 |
def _info(self):
|
| 80 |
features = {
|
| 81 |
"file": datasets.Image(),
|
| 82 |
-
"
|
|
|
|
| 83 |
"identity": datasets.Value("string"),
|
| 84 |
"male": datasets.Value("binary"),
|
| 85 |
"black_hair": datasets.Value("string"),
|
|
@@ -95,8 +96,7 @@ class VGGFace2(datasets.GeneratorBasedBuilder):
|
|
| 95 |
|
| 96 |
return datasets.DatasetInfo(
|
| 97 |
description=_DESCRIPTION,
|
| 98 |
-
|
| 99 |
-
supervised_keys=datasets.info.SupervisedKeysData("file", "speaker_id"),
|
| 100 |
features=datasets.Features(features),
|
| 101 |
citation=_CITATION,
|
| 102 |
)
|
|
|
|
| 79 |
def _info(self):
|
| 80 |
features = {
|
| 81 |
"file": datasets.Image(),
|
| 82 |
+
"image_id": datasets.Value("string"),
|
| 83 |
+
"class_id": datasets.Value("string"),
|
| 84 |
"identity": datasets.Value("string"),
|
| 85 |
"male": datasets.Value("binary"),
|
| 86 |
"black_hair": datasets.Value("string"),
|
|
|
|
| 96 |
|
| 97 |
return datasets.DatasetInfo(
|
| 98 |
description=_DESCRIPTION,
|
| 99 |
+
supervised_keys=datasets.info.SupervisedKeysData("file", "class_id"),
|
|
|
|
| 100 |
features=datasets.Features(features),
|
| 101 |
citation=_CITATION,
|
| 102 |
)
|