refactor: rename featur
Browse files
silicone-masks-biometric-attacks.py
CHANGED
@@ -36,7 +36,7 @@ class SiliconeMasksBiometricAttacks(datasets.GeneratorBasedBuilder):
|
|
36 |
{
|
37 |
"id": datasets.Value("int32"),
|
38 |
"name": datasets.Value("string"),
|
39 |
-
"
|
40 |
"label": datasets.ClassLabel(
|
41 |
num_classes=len(_LABELS),
|
42 |
names=_LABELS,
|
@@ -69,6 +69,6 @@ class SiliconeMasksBiometricAttacks(datasets.GeneratorBasedBuilder):
|
|
69 |
yield idx, {
|
70 |
"id": idx,
|
71 |
"name": video_path.split("/")[-1],
|
72 |
-
"
|
73 |
"label": label,
|
74 |
}
|
|
|
36 |
{
|
37 |
"id": datasets.Value("int32"),
|
38 |
"name": datasets.Value("string"),
|
39 |
+
"video_path": datasets.Value("string"),
|
40 |
"label": datasets.ClassLabel(
|
41 |
num_classes=len(_LABELS),
|
42 |
names=_LABELS,
|
|
|
69 |
yield idx, {
|
70 |
"id": idx,
|
71 |
"name": video_path.split("/")[-1],
|
72 |
+
"video_path": video_path,
|
73 |
"label": label,
|
74 |
}
|