Upload CelebA_bbox_and_facepoints.py
Browse files
CelebA_bbox_and_facepoints.py
CHANGED
@@ -81,7 +81,7 @@ class CelebA(datasets.GeneratorBasedBuilder):
|
|
81 |
gen_kwargs={
|
82 |
"split": "test",
|
83 |
"data_dir": data_dir["test"],
|
84 |
-
"partition_type":
|
85 |
"eval_partition_file": data_dir["eval_partition_file"],
|
86 |
"bbox_file": data_dir["bbox_file"],
|
87 |
"landmarks_file": data_dir["landmarks_file"]
|
@@ -92,7 +92,7 @@ class CelebA(datasets.GeneratorBasedBuilder):
|
|
92 |
gen_kwargs={
|
93 |
"split": "val",
|
94 |
"data_dir": data_dir["validation"],
|
95 |
-
"partition_type":
|
96 |
"eval_partition_file": data_dir["eval_partition_file"],
|
97 |
"bbox_file": data_dir["bbox_file"],
|
98 |
"landmarks_file": data_dir["landmarks_file"]
|
|
|
81 |
gen_kwargs={
|
82 |
"split": "test",
|
83 |
"data_dir": data_dir["test"],
|
84 |
+
"partition_type": 2,
|
85 |
"eval_partition_file": data_dir["eval_partition_file"],
|
86 |
"bbox_file": data_dir["bbox_file"],
|
87 |
"landmarks_file": data_dir["landmarks_file"]
|
|
|
92 |
gen_kwargs={
|
93 |
"split": "val",
|
94 |
"data_dir": data_dir["validation"],
|
95 |
+
"partition_type": 1,
|
96 |
"eval_partition_file": data_dir["eval_partition_file"],
|
97 |
"bbox_file": data_dir["bbox_file"],
|
98 |
"landmarks_file": data_dir["landmarks_file"]
|