Datasets:
refactor: images load
Browse files- README.md +2 -2
- facial_keypoint_detection.py +1 -1
README.md
CHANGED
|
@@ -19,10 +19,10 @@ dataset_info:
|
|
| 19 |
dtype: string
|
| 20 |
splits:
|
| 21 |
- name: train
|
| 22 |
-
num_bytes:
|
| 23 |
num_examples: 15
|
| 24 |
download_size: 129578665
|
| 25 |
-
dataset_size:
|
| 26 |
---
|
| 27 |
# Facial Keypoints
|
| 28 |
The dataset is designed for computer vision and machine learning tasks involving the identification and analysis of key points on a human face. It consists of images of human faces, each accompanied by key point annotations in XML format.
|
|
|
|
| 19 |
dtype: string
|
| 20 |
splits:
|
| 21 |
- name: train
|
| 22 |
+
num_bytes: 520855405
|
| 23 |
num_examples: 15
|
| 24 |
download_size: 129578665
|
| 25 |
+
dataset_size: 520855405
|
| 26 |
---
|
| 27 |
# Facial Keypoints
|
| 28 |
The dataset is designed for computer vision and machine learning tasks involving the identification and analysis of key points on a human face. It consists of images of human faces, each accompanied by key point annotations in XML format.
|
facial_keypoint_detection.py
CHANGED
|
@@ -83,7 +83,7 @@ def load_image_file(file, mode='RGB'):
|
|
| 83 |
|
| 84 |
img = img.convert(mode)
|
| 85 |
|
| 86 |
-
return
|
| 87 |
|
| 88 |
|
| 89 |
class FacialKeypointDetection(datasets.GeneratorBasedBuilder):
|
|
|
|
| 83 |
|
| 84 |
img = img.convert(mode)
|
| 85 |
|
| 86 |
+
return img
|
| 87 |
|
| 88 |
|
| 89 |
class FacialKeypointDetection(datasets.GeneratorBasedBuilder):
|