Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -37,7 +37,6 @@ Each row has exactly four columns:
|
|
| 37 |
| `keypoints_xy` | `float32[21][2]` | Estimated 21-point hand keypoints in source-image pixel coordinates. |
|
| 38 |
| `keypoint_scores` | `float32[21]` | Confidence score for each keypoint. |
|
| 39 |
|
| 40 |
-
No source indices, labels, local file paths, or provenance columns are stored in the dataset rows.
|
| 41 |
|
| 42 |
## Keypoint order
|
| 43 |
|
|
@@ -94,44 +93,6 @@ The RTMPose-M Hand5 model is trained on a mixture of hand datasets including COC
|
|
| 94 |
|
| 95 |
Reference: Jiang et al., **RTMPose: Real-Time Multi-Person Pose Estimation based on MMPose**, arXiv:2303.07399.
|
| 96 |
|
| 97 |
-
## Re-create the dataset
|
| 98 |
-
|
| 99 |
-
Install OpenMMLab dependencies in an environment with PyTorch and CUDA support:
|
| 100 |
-
|
| 101 |
-
```bash
|
| 102 |
-
pip install "setuptools>=70,<81" openmim
|
| 103 |
-
mim install mmengine
|
| 104 |
-
mim install "mmcv>=2.0.1,<2.2.0"
|
| 105 |
-
mim install "mmdet>=3.1.0"
|
| 106 |
-
mim install "mmpose>=1.1.0"
|
| 107 |
-
```
|
| 108 |
-
|
| 109 |
-
Generate the annotations:
|
| 110 |
-
|
| 111 |
-
```bash
|
| 112 |
-
python scripts/create_11k_hands_keypoints_hf.py \
|
| 113 |
-
--source-repo ryushinn/11k-Hands \
|
| 114 |
-
--splits train \
|
| 115 |
-
--chunk-size 1000 \
|
| 116 |
-
--det-batch-size 16 \
|
| 117 |
-
--device cuda:0 \
|
| 118 |
-
--output-dir data/hf_datasets/11k_hands_rtmpose_hand21_keypoints \
|
| 119 |
-
--work-dir data/hf_datasets/11k_hands_rtmpose_hand21_keypoints_chunks
|
| 120 |
-
```
|
| 121 |
-
|
| 122 |
-
The script is chunked and resumable. If interrupted, rerun the same command and completed chunks will be reused.
|
| 123 |
-
|
| 124 |
-
Upload the generated dataset without uploading any metadata JSON:
|
| 125 |
-
|
| 126 |
-
```bash
|
| 127 |
-
python - <<'PY'
|
| 128 |
-
from datasets import load_from_disk
|
| 129 |
-
|
| 130 |
-
ds = load_from_disk("data/hf_datasets/11k_hands_rtmpose_hand21_keypoints")
|
| 131 |
-
ds.push_to_hub("ryushinn/11k-Hands-BBox-Keypoint", max_shard_size="500MB")
|
| 132 |
-
PY
|
| 133 |
-
```
|
| 134 |
-
|
| 135 |
## Usage
|
| 136 |
|
| 137 |
```python
|
|
|
|
| 37 |
| `keypoints_xy` | `float32[21][2]` | Estimated 21-point hand keypoints in source-image pixel coordinates. |
|
| 38 |
| `keypoint_scores` | `float32[21]` | Confidence score for each keypoint. |
|
| 39 |
|
|
|
|
| 40 |
|
| 41 |
## Keypoint order
|
| 42 |
|
|
|
|
| 93 |
|
| 94 |
Reference: Jiang et al., **RTMPose: Real-Time Multi-Person Pose Estimation based on MMPose**, arXiv:2303.07399.
|
| 95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
## Usage
|
| 97 |
|
| 98 |
```python
|