diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_21319.png b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_21319.png new file mode 100644 index 0000000000000000000000000000000000000000..887d927fd75678f3a8efd78a3c1c87e7b1bbfbb9 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_21319.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7c1c463cc812f6a3afd9993a810d4926af709e784f169636d60d9e3182c910e +size 161578 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23073.png b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23073.png new file mode 100644 index 0000000000000000000000000000000000000000..7747c74bdfcd0cdd2128cc85b16899173866ca17 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23073.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0ae0b10a0de9f2335f2c0661656692a61fc3b4e0803d386af7fc18a7d47146d +size 132647 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23469.png b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23469.png new file mode 100644 index 0000000000000000000000000000000000000000..291f66ab4cd4bdea2320492a9a869e6da7c9c84b --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_23469.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:35456121f4ac945636696b68fd1db1312ad0f504eeadad7a71838106a8382193 +size 132244 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_28259.png b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_28259.png new file mode 100644 index 0000000000000000000000000000000000000000..e6b7605ebb09185b3cbdbba52a02133a08db8cc0 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_28259.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63e59211ced7d09165af5956ea9f47b184bbb5b8d563c0b59e0cfda972c14599 +size 146659 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_39758.png b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_39758.png new file mode 100644 index 0000000000000000000000000000000000000000..7520fe31ff05d6f0719ab5db73807b411a21994d --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_39758.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0268a8c42bc37585fb4d903afc57a7c1334f1cdc908157daad4defa73163a7ce +size 167688 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_40491.png b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_40491.png new file mode 100644 index 0000000000000000000000000000000000000000..6c21ca9230a1fc2851e22d18d6aa55735076c9d9 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_40491.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b91b2e33454f5c6525b00303569887b38aa1dac022323042bd6232a0440e9a24 +size 177554 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_41179.png b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_41179.png new file mode 100644 index 0000000000000000000000000000000000000000..5732218edc2ce3a1fc5fee9e4707f634a55cce5b --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/full_random/training_41179.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c63f33e1dbc19d89028d70c2251c13a480af86fe41588f8b77a04a4a898bd91a +size 171662 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/index.html b/RHD/shared-v1.1/doc/history-v1.0/validation/index.html new file mode 100644 index 0000000000000000000000000000000000000000..ab1836ad256a6ceac378949efffff78ca9714c8d --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/index.html @@ -0,0 +1 @@ +RHD 小规模人工核验

RHD:24 张 raw→share 转换核验

训练与评估各12张,包含可见性极端和随机样本。独立图片不是视频序列。用户已确认试点通过,即将进行全量处理;全量随机抽查另行确认后才上传。

从左至右:RGB、左右手分割、原生2D关键点、3D点经相机投影、米制z深度可视化。红=左手,蓝=右手;2D空心点表示源标注不可见,仍保留坐标。深度图逐图拉伸对比度,颜色不能跨图直接比较米数。

检查双手身份、关键点顺序与UV/XYZ对应、分割边缘和深度轮廓。MANO、物体等源未提供的组件缺省。

training/07689

Source visible joints: 1/42. Depth display range: 0.034–5.000 m.

training/29103

Source visible joints: 1/42. Depth display range: 0.040–5.000 m.

training/41256

Source visible joints: 42/42. Depth display range: 0.566–5.000 m.

training/41257

Source visible joints: 42/42. Depth display range: 0.570–5.000 m.

training/20189

Source visible joints: 31/42. Depth display range: 0.471–5.000 m.

training/10098

Source visible joints: 42/42. Depth display range: 0.357–5.000 m.

training/40491

Source visible joints: 21/42. Depth display range: 0.642–5.000 m.

training/03306

Source visible joints: 40/42. Depth display range: 0.336–5.000 m.

training/39758

Source visible joints: 21/42. Depth display range: 0.335–5.000 m.

training/28259

Source visible joints: 24/42. Depth display range: 0.521–5.000 m.

training/23073

Source visible joints: 42/42. Depth display range: 0.549–5.000 m.

training/41179

Source visible joints: 31/42. Depth display range: 0.464–5.000 m.

evaluation/02677

Source visible joints: 5/42. Depth display range: 0.075–5.000 m.

evaluation/00919

Source visible joints: 8/42. Depth display range: 0.204–5.000 m.

evaluation/02725

Source visible joints: 42/42. Depth display range: 0.513–5.000 m.

evaluation/02726

Source visible joints: 42/42. Depth display range: 0.462–5.000 m.

evaluation/02248

Source visible joints: 24/42. Depth display range: 0.499–5.000 m.

evaluation/02415

Source visible joints: 29/42. Depth display range: 0.444–5.000 m.

evaluation/01513

Source visible joints: 36/42. Depth display range: 0.412–5.000 m.

evaluation/00511

Source visible joints: 34/42. Depth display range: 0.577–5.000 m.

evaluation/00400

Source visible joints: 20/42. Depth display range: 0.373–5.000 m.

evaluation/00891

Source visible joints: 41/42. Depth display range: 0.611–5.000 m.

evaluation/00779

Source visible joints: 21/42. Depth display range: 0.528–5.000 m.

evaluation/00190

Source visible joints: 21/42. Depth display range: 0.252–5.000 m.

\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_03306.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_03306.png new file mode 100644 index 0000000000000000000000000000000000000000..cc6456bb7e7031927ba0e947daaacf90c7b5eee4 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_03306.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e266fdd7f0507875c3ddaaff3d85d01458794840bcca33b48392ef4d5f51ed84 +size 151058 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_07689.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_07689.png new file mode 100644 index 0000000000000000000000000000000000000000..b4dc1ba9b8015939a12864ea8d656a5808dd3a5f --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_07689.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ead60ce93fe00a80cc85079a7bf5488d2d92189b05a5df3799d71db4b915b988 +size 114059 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_10098.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_10098.png new file mode 100644 index 0000000000000000000000000000000000000000..25892518c28d630f79d6b680732640fb54048793 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_10098.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6823ef76180300a5b98d316f7850b86f7f76fe0805cda938025a2dd507d3d74d +size 141280 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_20189.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_20189.png new file mode 100644 index 0000000000000000000000000000000000000000..ab13e2a0f328474e0d8cf176128f008f177171ad --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_20189.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d7a23c157f9b8c21c3880e8d2eb4956f02834bd95063a473cac64a0102dd4c9 +size 145431 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_23073.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_23073.png new file mode 100644 index 0000000000000000000000000000000000000000..7747c74bdfcd0cdd2128cc85b16899173866ca17 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_23073.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0ae0b10a0de9f2335f2c0661656692a61fc3b4e0803d386af7fc18a7d47146d +size 132647 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_28259.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_28259.png new file mode 100644 index 0000000000000000000000000000000000000000..e6b7605ebb09185b3cbdbba52a02133a08db8cc0 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_28259.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63e59211ced7d09165af5956ea9f47b184bbb5b8d563c0b59e0cfda972c14599 +size 146659 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_29103.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_29103.png new file mode 100644 index 0000000000000000000000000000000000000000..65589e7f62a1430bc9c311bbfb4d91bf583b2311 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_29103.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6ad86d8f8dabc28aa9c3b29869dd9f97ed26400293f4b72a4a87c63d065049e +size 94118 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_39758.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_39758.png new file mode 100644 index 0000000000000000000000000000000000000000..7520fe31ff05d6f0719ab5db73807b411a21994d --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_39758.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0268a8c42bc37585fb4d903afc57a7c1334f1cdc908157daad4defa73163a7ce +size 167688 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_40491.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_40491.png new file mode 100644 index 0000000000000000000000000000000000000000..6c21ca9230a1fc2851e22d18d6aa55735076c9d9 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_40491.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b91b2e33454f5c6525b00303569887b38aa1dac022323042bd6232a0440e9a24 +size 177554 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_41179.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_41179.png new file mode 100644 index 0000000000000000000000000000000000000000..5732218edc2ce3a1fc5fee9e4707f634a55cce5b --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_41179.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c63f33e1dbc19d89028d70c2251c13a480af86fe41588f8b77a04a4a898bd91a +size 171662 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_41256.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_41256.png new file mode 100644 index 0000000000000000000000000000000000000000..43aabd2bc8d7f0bafb5fcb83a5f62b1115f37b13 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_41256.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:09387c4330c08db72bddd2c8f767f9ffaa345a34ca940681d53921680b13a9b0 +size 216379 diff --git a/RHD/shared-v1.1/doc/history-v1.0/validation/training_41257.png b/RHD/shared-v1.1/doc/history-v1.0/validation/training_41257.png new file mode 100644 index 0000000000000000000000000000000000000000..d611e9c88e25ef53681f535ffaa5c678048450b7 --- /dev/null +++ b/RHD/shared-v1.1/doc/history-v1.0/validation/training_41257.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:625bbb7bdf8d26ab2ead5552658cafc32f2c8a77deb50e3e5ce18e2298345e5d +size 166977 diff --git a/RHD/shared-v1.1/doc/schema.json b/RHD/shared-v1.1/doc/schema.json new file mode 100644 index 0000000000000000000000000000000000000000..087342ba7440c3b656e342d1b954bd90a5878af1 --- /dev/null +++ b/RHD/shared-v1.1/doc/schema.json @@ -0,0 +1,1590 @@ +{ + "schema_version": "hand-warehouse/1.1", + "validity_revision": "usable-annotation-2026-09-20", + "annotation_validity": { + "meaning": "annotation usable for supervision, not merely record presence", + "formula": "source_annotation_present AND numerical_checks_pass AND applicable_official_QA_pass AND NOT explicitly_reviewed_local_exclusion", + "without_official_qa": "omit QA term; declare source rules; do not fabricate QA", + "policy_field": "components..valid_policy", + "visibility_is_independent": true, + "invalid_float_value": "NaN", + "hot3d": "broadcast per-camera frame manual QA conservatively to hand/object labels and pose-derived visibility; retain RGB and source calibration; keep native QA in raw and review report", + "hot3d_visibility": "native visibility_ratio[%] already ranges from 0 to 1; do not divide by 100" + }, + "hand_slots": [ + "left", + "right" + ], + "view_metadata": { + "required_fields": [ + "schema_version", + "dataset_id", + "release_id", + "sequence_id", + "camera_id", + "sample_type", + "num_frames", + "hand_slots", + "sampling", + "camera", + "components", + "split", + "view_type" + ], + "view_type_values": [ + "ego", + "exo", + "unknown" + ], + "view_type_policy": "required per camera view; use ego or exo whenever the source data or capture setup establishes the viewpoint; use unknown only when no trustworthy source determines it; never omit or guess", + "schema_version": "hand-warehouse/1.1", + "release_id": "shared-v1.1" + }, + "keypoints": { + "mano21/v1": { + "count": 21, + "names": [ + "wrist", + "thumb_1", + "thumb_2", + "thumb_3", + "thumb_4", + "index_1", + "index_2", + "index_3", + "index_4", + "middle_1", + "middle_2", + "middle_3", + "middle_4", + "ring_1", + "ring_2", + "ring_3", + "ring_4", + "little_1", + "little_2", + "little_3", + "little_4" + ], + "source_index_map": null, + "note": "adapter maps official MANO joint and fingertip convention" + }, + "rhd21/v1": { + "count": 21, + "names": [ + "wrist", + "thumb_1", + "thumb_2", + "thumb_3", + "thumb_4", + "index_1", + "index_2", + "index_3", + "index_4", + "middle_1", + "middle_2", + "middle_3", + "middle_4", + "ring_1", + "ring_2", + "ring_3", + "ring_4", + "little_1", + "little_2", + "little_3", + "little_4" + ], + "source_index_map_per_hand": [ + 0, + 4, + 3, + 2, + 1, + 8, + 7, + 6, + 5, + 12, + 11, + 10, + 9, + 16, + 15, + 14, + 13, + 20, + 19, + 18, + 17 + ] + } + }, + "camera": { + "opencv_fisheye4": { + "K": [ + 3, + 3 + ], + "distortion": [ + "k1", + "k2", + "k3", + "k4" + ], + "projection": "theta=atan(r); theta_d=theta*(1+k1*theta^2+k2*theta^4+k3*theta^6+k4*theta^8); source ReInterHand" + }, + "pinhole": { + "K": [ + 3, + 3 + ] + }, + "fisheye624": { + "parameters": [ + "f", + "cx", + "cy", + "k0", + "k1", + "k2", + "k3", + "k4", + "k5", + "p0", + "p1", + "s0", + "s1", + "s2", + "s3" + ] + }, + "rational8": { + "K": [ + 3, + 3 + ], + "distortion": [ + "k1", + "k2", + "p1", + "p2", + "k3", + "k4", + "k5", + "k6" + ] + } + }, + "segmentation": { + "segment/uint16_labels/v1": { + "storage": "mask.mkv", + "dtype": "uint16", + "mapping": "instances.jsonl", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "reserved_codes": { + "0": "unassigned", + "65535": "ignore" + }, + "region_codes": [ + 1, + 65534 + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "segment/instance_polygons/v1": { + "storage": "polygons.jsonl", + "mapping": "instances.jsonl", + "frame_keys": [ + "frame_index", + "instances" + ], + "instance_keys": [ + "mask_value", + "polygons" + ], + "coordinate_unit": "pixel", + "overlap_allowed": true, + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref" + ], + "polygon_shape": [ + "N", + 2 + ], + "holes_supported": false + }, + "segment/foreground_intensity/v1": { + "storage": "mask.mkv", + "dtype": "uint16", + "value_range": [ + 0, + 255 + ], + "normalization_scale": 0.00392156862745098, + "axes": [ + "T", + "height", + "width" + ], + "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability", + "zero": "background", + "full_scale": "foreground", + "mapping": "foreground_category in component metadata", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "value_range", + "normalization_scale", + "foreground_category", + "entity_id", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + } + }, + "note": "Registry for hand-warehouse/1.1. Read CONTRACT.md and MIGRATION.md. This is a declarative registry, not a JSON Schema document or executable validator. Runtime readers/converters/validators still require adaptation.", + "components": { + "mano/axis_angle61/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 61 + ], + "valid_shape": [ + "T", + 2 + ], + "unit": "m", + "angle_unit": "rad", + "coordinate_frame": "camera", + "layout": { + "pose_axis_angle": [ + 0, + 48 + ], + "shape": [ + 48, + 58 + ], + "translation": [ + 58, + 61 + ] + }, + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "keypoints/uv/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 21, + 2 + ], + "valid_shape": [ + "T", + 2, + 21 + ], + "unit": "pixel", + "required_metadata": [ + "keypoint_schema", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "keypoints/xyz/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 21, + 3 + ], + "valid_shape": [ + "T", + 2, + 21 + ], + "unit": "m", + "required_metadata": [ + "keypoint_schema", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "depth/z_float32/v1": { + "storage": "mkv", + "dtype": "float32", + "shape": [ + "T", + "H", + "W" + ], + "valid_shape": [ + "T", + "H", + "W" + ], + "unit": "m", + "depth_type": "z", + "pixel_grid": "current_rgb", + "coordinate_frame": "current_rgb_camera", + "valid_storage": "mkv", + "allowed_storage_profiles": [ + "mkv/depth_float32_bits/v1" + ], + "allowed_valid_storage_profiles": [ + "mkv/bool_ffv1/v1" + ], + "required_metadata": [ + "storage", + "valid_storage", + "depth_origin" + ], + "depth_origin_values": [ + "measured", + "rendered", + "unknown" + ] + }, + "transform/se3/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4, + 4 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "convention", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object/rigid/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4, + 4 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "convention", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "camera/pinhole/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "camera/rational8/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage", + "distortion_ref", + "distortion_key", + "distortion_valid_ref", + "distortion_valid_key" + ] + }, + "camera/opencv_fisheye4/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage", + "distortion_ref", + "distortion_key", + "distortion_valid_ref", + "distortion_valid_key" + ] + }, + "camera/fisheye624/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 15 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "camera/distortion8/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 8 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "camera/fisheye4_distortion/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "object/joint_state/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "J" + ], + "valid_shape": [ + "T", + "J" + ], + "required_metadata": [ + "joint_order", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "unit_rule": "revolute radians; prismatic metres; mixed types declared per joint", + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object_keypoints/camera/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "K", + 3 + ], + "valid_shape": [ + "T", + "K" + ], + "unit": "m", + "coordinate_frame": "camera", + "required_metadata": [ + "keypoint_schema", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object/dimensions/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "dimensions_semantics", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "axis_order": [ + "length", + "width", + "height" + ], + "scale_rule": "do not apply to mesh without source-supported size/scale relation", + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object_keypoints/template/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "K", + 3 + ], + "valid_shape": [ + "K" + ], + "unit": "m", + "coordinate_frame": "object", + "static": true, + "required_metadata": [ + "keypoint_schema", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "mesh/obj/v1": { + "storage": "obj", + "unit": "m", + "static": true, + "valid_shape": [], + "dependencies": "MTL and textures retained under owning object" + }, + "rgb/uint8/v1": { + "storage": "mkv", + "dtype": "uint8", + "shape": [ + "T", + "H", + "W", + 3 + ], + "valid_shape": [ + "T" + ], + "color_order": "RGB", + "allowed_storage_profiles": [ + "mkv/mjpeg_copy/v1", + "mkv/source_copy/v1", + "mkv/h264_rgb_lossless/v1", + "mkv/ffv1_rgb/v1" + ], + "required_metadata": [ + "storage" + ] + }, + "contact/relations/v1": { + "storage": "jsonl", + "valid_shape": [ + "T" + ], + "frame_keys": [ + "frame_index", + "relations" + ], + "absence_semantics": "no record is not a negative contact annotation" + }, + "contact/vertex_region/v1": { + "storage": "pt", + "dtype": "bool", + "shape": [ + "T", + "V" + ], + "valid_shape": [ + "T", + "V" + ], + "required_metadata": [ + "source_geometry_ref", + "target_geometry_ref", + "topology_id", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "pilot_status": "defined_not_empirically_validated", + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "contact/vertex_distance/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "V" + ], + "valid_shape": [ + "T", + "V" + ], + "unit": "m", + "required_metadata": [ + "source_geometry_ref", + "target_geometry_ref", + "topology_id", + "distance_definition", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "pilot_status": "defined_not_empirically_validated", + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object/articulated/v1": { + "storage": "json", + "required_keys": [ + "parts", + "joints" + ], + "part_keys": [ + "part_id", + "parent_id", + "has_model", + "mesh_ref" + ], + "hierarchy_semantics": "declare mechanical articulation or semantic containment; containment alone does not imply joints", + "acyclic": true + }, + "segment/uint16_labels/v1": { + "storage": "mkv", + "dtype": "uint16", + "mapping": "instances.jsonl", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "reserved_codes": { + "0": "unassigned", + "65535": "ignore" + }, + "region_codes": [ + 1, + 65534 + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "segment/instance_polygons/v1": { + "storage": "jsonl", + "mapping": "instances.jsonl", + "frame_keys": [ + "frame_index", + "instances" + ], + "instance_keys": [ + "mask_value", + "polygons" + ], + "coordinate_unit": "pixel", + "overlap_allowed": true, + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref" + ], + "polygon_shape": [ + "N", + 2 + ], + "holes_supported": false + }, + "segment/foreground_intensity/v1": { + "storage": "mkv", + "dtype": "uint16", + "value_range": [ + 0, + 255 + ], + "normalization_scale": 0.00392156862745098, + "axes": [ + "T", + "height", + "width" + ], + "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability", + "zero": "background", + "full_scale": "foreground", + "mapping": "foreground_category in component metadata", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "value_range", + "normalization_scale", + "foreground_category", + "entity_id", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "object/vertex_part_ids/v1": { + "storage": "pt", + "tensor_container": "dict", + "dtype": "int64", + "shape": [ + "V" + ], + "valid_shape": [ + "V" + ], + "valid_dtype": "bool", + "static": true, + "unknown_value": -1, + "valid_rule": "data != -1; every valid integer resolves in part_id_mapping", + "required_metadata": [ + "mesh_ref", + "topology_id", + "part_id_mapping", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt" + } + }, + "storage_revision": "lossless-video-2026-09-18", + "sampling": { + "image": { + "single": { + "T": 1 + }, + "independent": { + "T": ">=2", + "required_frame_fields": [ + "sample_id", + "source_locator" + ], + "temporal_relationship": false + }, + "source_fps": null + }, + "video": { + "sampling_types": [ + "dense", + "sparse" + ] + } + }, + "storage_profiles": { + "mkv/mjpeg_copy/v1": { + "container": "matroska", + "codec": "mjpeg", + "method": "stream_copy_from_source_jpeg", + "logical_dtype": "uint8", + "decoded_pixel_format": "rgb24", + "validation": [ + "source_jpeg_packet_sha256_exact", + "all_packet_count_order_and_dimensions_exact", + "deterministic_decoded_rgb_sample_exact", + "pilot_and_final_selected_whole_sequences_decoded_rgb_exact" + ], + "validation_policy": { + "id": "jpeg-packets-all-rgb-sample16/v1", + "sample_count_per_view": 16, + "short_views": "all_frames_if_T_less_than_16", + "fixed_indices": "0,T-1,T//4,T//2,3*T//4, deduplicated", + "remaining_indices": "sample without replacement to min(T,16) using Python random.Random(seed)", + "seed": "first 8 bytes of SHA256(sequence_id/camera_id/20260920), big-endian integer", + "report": "policy, exact selected frame indices, seed, separate packet and pixel coverage", + "legacy_all_frame_pixel_proofs": "still accepted; preserve historical evidence" + } + }, + "mkv/source_copy/v1": { + "container": "matroska", + "codec": "source_codec_declared_in_metadata", + "method": "stream_copy_only", + "logical_dtype": "uint8", + "decoded_pixel_format": "rgb24", + "validation": [ + "no_reencoding", + "all_decoded_rgb_frames_exact", + "presentation_frame_order_exact" + ] + }, + "mkv/h264_rgb_lossless/v1": { + "container": "matroska", + "codec": "h264", + "encoder": "libx264rgb", + "crf": 0, + "decoded_pixel_format": "rgb24", + "logical_dtype": "uint8", + "gop": "declared_in_encoder_parameters", + "validation": [ + "all_decoded_rgb_frames_exact" + ], + "forbidden": [ + "lossy_rate_control", + "rgb_to_yuv420_subsampling" + ] + }, + "mkv/ffv1_rgb/v1": { + "container": "matroska", + "codec": "ffv1", + "decoded_pixel_format": "rgb24", + "logical_dtype": "uint8", + "validation": [ + "all_decoded_rgb_frames_exact" + ] + }, + "mkv/depth_float32_bits/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_format": "gray16le", + "logical_dtype": "float32", + "logical_shape": [ + "T", + "H", + "W" + ], + "encoded_shape": [ + "T", + "H", + "2*W" + ], + "packing": "IEEE754 little-endian float32 bits; low uint16 in first W columns, high uint16 in last W columns", + "decode": "reinterpret_float32(uint32(low) | (uint32(high) << 16))", + "validation": [ + "all_float32_bits_exact_including_nan" + ] + }, + "mkv/bool_ffv1/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_format": "gray", + "logical_dtype": "bool", + "stored_values": [ + 0, + 1 + ], + "validation": [ + "all_bool_values_exact" + ] + }, + "mkv/uint16_ffv1/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_formats": [ + "gray", + "gray16le" + ], + "logical_dtype": "uint16", + "gray_condition": "all values <=255; decode by exact uint8-to-uint16 promotion", + "validation": [ + "all_integer_values_exact" + ] + }, + "pt/tensor_bundle/v1": { + "container": "pytorch_pt", + "root_type": "dict", + "dictionary_key_type": "nonempty_string", + "allowed_value_types": [ + "dict", + "CPU torch.Tensor" + ], + "tensor_entry": { + "required_keys": [ + "data", + "valid" + ], + "additional_keys": false, + "data_type": "CPU torch.Tensor", + "valid_type": "CPU torch.Tensor", + "valid_dtype": "bool" + }, + "metadata_location": "metainfo.json; do not duplicate strings, paths or custom objects inside bundles", + "missing_entry": "omit entire entry; never fabricate absent modalities", + "load": { + "map_location": "cpu", + "weights_only": true + }, + "valid_shape_rule": "Use the specific component or attribute valid_shape; do not infer broadcasting or share validity across independent fields.", + "validation": [ + "registered layout and key resolution", + "CPU tensors only", + "schema dtype and shape", + "independent bool validity", + "frame alignment unchanged", + "invalid floating positions NaN", + "pure migration exact data bytes and validity equality" + ], + "not_applicable_to": [ + "media payloads", + "media standalone validity tensors", + "JSONL standalone validity tensors" + ] + } + }, + "video_metadata": { + "required": [ + "profile", + "codec", + "pixel_format", + "encoded_size", + "decoder", + "encoder_parameters", + "source_lossy" + ], + "source_lossy_values": [ + true, + false, + "unknown" + ], + "timebase_role": "index_only", + "lossless_reference": "source compressed packets or fixed-decoder source pixels; depth uses normalized standard float32 bits", + "selection": "choose smaller complete candidate only after exact roundtrip validation" + }, + "tensor_storage_revision": "tensor-bundle-2026-10-09", + "release_layout": { + "directory": "shared-v1.1", + "release_id": "shared-v1.1", + "migration": "Upgrade each dataset in place under shared-v1.0 during maintenance, validate completely, then rename to shared-v1.1; do not retain duplicate published trees. See MIGRATION.md." + }, + "tensor_attributes": { + "visibility": { + "storage_profile": "pt/tensor_bundle/v1", + "allowed_dtypes": [ + "bool", + "float32" + ], + "visibility_types": [ + "boolean", + "ratio" + ], + "ratio_range": [ + 0, + 1 + ], + "scopes": { + "whole_hand": { + "shape": [ + "T", + 2 + ], + "valid_shape": [ + "T", + 2 + ] + }, + "hand_keypoint": { + "shape": [ + "T", + 2, + "K" + ], + "valid_shape": [ + "T", + 2, + "K" + ] + }, + "object": { + "shape": [ + "T" + ], + "valid_shape": [ + "T" + ] + } + }, + "required_metadata": [ + "data_ref", + "data_key", + "axes", + "dtype", + "visibility_type", + "meaning", + "valid_ref", + "valid_key", + "valid_axes", + "storage", + "valid_storage", + "provenance", + "source_locator" + ], + "valid_dtype": "bool", + "unknown": "valid=false; ratio data NaN; boolean data is not interpretable without valid", + "all_known": "explicit all-true bool tensor; do not infer from pose validity", + "note": "No source visibility means omit. Expand explicitly declared all-known scalar validity during migration without changing semantics." + } + }, + "tensor_bundles": { + "camera": { + "path": "camera/camera.pt", + "entries": { + "intrinsic": { + "schema_ids": [ + "camera/pinhole/v1", + "camera/rational8/v1", + "camera/opencv_fisheye4/v1", + "camera/fisheye624/v1" + ] + }, + "extrinsic": { + "schema_ids": [ + "transform/se3/v1" + ] + }, + "distortion": { + "schema_ids": [ + "camera/distortion8/v1", + "camera/fisheye4_distortion/v1" + ] + } + } + }, + "mano": { + "path": "annotation/mano/mano.pt", + "entries": { + "motion": { + "schema_ids": [ + "mano/axis_angle61/v1" + ] + }, + "visibility": { + "attribute_id": "visibility", + "scope": "whole_hand" + } + } + }, + "keypoints": { + "path": "annotation/keypoints/keypoints.pt", + "entries": { + "uv": { + "schema_ids": [ + "keypoints/uv/v1" + ] + }, + "xyz": { + "schema_ids": [ + "keypoints/xyz/v1" + ] + }, + "visibility": { + "attribute_id": "visibility", + "scope": "hand_keypoint" + }, + "whole_hand_visibility": { + "attribute_id": "visibility", + "scope": "whole_hand" + } + } + }, + "object": { + "path": "annotation/object//object.pt", + "entries": { + "pose": { + "schema_ids": [ + "object/rigid/v1" + ] + }, + "visibility": { + "attribute_id": "visibility", + "scope": "object" + }, + "dimensions": { + "schema_ids": [ + "object/dimensions/v1" + ] + }, + "joint_state": { + "schema_ids": [ + "object/joint_state/v1" + ] + }, + "keypoints/xyz": { + "schema_ids": [ + "object_keypoints/camera/v1" + ] + }, + "keypoints/template_xyz": { + "schema_ids": [ + "object_keypoints/template/v1" + ] + }, + "parts//pose": { + "schema_ids": [ + "transform/se3/v1" + ], + "convention": "T_camera_from_part" + }, + "parts//dimensions": { + "schema_ids": [ + "object/dimensions/v1" + ] + }, + "parts//keypoints/xyz": { + "schema_ids": [ + "object_keypoints/camera/v1" + ] + }, + "parts//keypoints/template_xyz": { + "schema_ids": [ + "object_keypoints/template/v1" + ], + "coordinate_frame": "part" + }, + "meshes//vertex_part_ids": { + "schema_ids": [ + "object/vertex_part_ids/v1" + ] + } + } + }, + "contact_pair": { + "path": "annotation/contact/__/contact.pt", + "entries": { + "vertex_region": { + "schema_ids": [ + "contact/vertex_region/v1" + ] + }, + "vertex_distance": { + "schema_ids": [ + "contact/vertex_distance/v1" + ] + } + } + } + }, + "bundle_layout_rules": { + "entry_path_syntax": "Slash-separated dictionary keys in this registry only; serialize references as string arrays. Angle-bracket placeholders resolve to registered IDs, not literal keys.", + "entry_leaves": [ + "data", + "valid" + ], + "additional_entries": false, + "all_entries_optional": true, + "omit_empty_bundles": true, + "identifiers": "object/part/mesh and contact entity IDs must resolve in metadata; reject empty, dot, dot-dot or slash-containing IDs", + "per_view": true, + "no_cross_object_or_camera_merge": true, + "numeric_field_valid_ref_equals_data_ref": true, + "attributes_must_be_registered": true + }, + "reference_rules": { + "file_paths": { + "base": "current camera view root", + "format": "relative POSIX", + "reject": [ + "absolute paths", + "parent traversal", + "external URLs", + "unresolved placeholders" + ] + }, + "dictionary_keys": { + "type": "array", + "item_type": "nonempty_string", + "min_items": 1, + "traversal": "literal nested dictionary lookup; never eval; no automatic flattening", + "data_terminal": "data", + "valid_terminal": "valid", + "target_type": "CPU torch.Tensor" + }, + "bundle_component": { + "required": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "same_file": true, + "same_entry_prefix": true, + "storage_profile": "pt/tensor_bundle/v1", + "valid_storage_profile": "pt/tensor_bundle/v1" + }, + "media_jsonl": { + "forbidden": [ + "data_key", + "valid_key" + ], + "preserve_original_valid_ref": true, + "standalone_valid_pt_root": "CPU bool torch.Tensor; not dict", + "do_not_label_standalone_valid_as_bundle": true + }, + "camera_distortion": { + "models": { + "rational8": "camera/distortion8/v1", + "opencv_fisheye4": "camera/fisheye4_distortion/v1" + }, + "required": [ + "distortion_ref", + "distortion_key", + "distortion_valid_ref", + "distortion_valid_key" + ], + "distortion_ref": "camera/camera.pt", + "distortion_key": [ + "distortion", + "data" + ], + "distortion_valid_ref": "camera/camera.pt", + "distortion_valid_key": [ + "distortion", + "valid" + ], + "valid_equals_intrinsic_valid": true, + "models_without_separate_distortion": [ + "pinhole", + "fisheye624" + ] + }, + "reader_cache": "Cache bundle by resolved file path; loading different fields must not repeatedly deserialize the file." + }, + "standalone_validity": { + "rgb": { + "data_ref": "observation/rgb.mkv", + "valid_ref": "observation/rgb_valid.pt", + "dtype": "bool", + "shape": [ + "T" + ], + "container": "pt", + "root_type": "CPU Tensor" + }, + "segment": { + "data_refs": [ + "annotation/segment/mask.mkv", + "annotation/segment/polygons.jsonl" + ], + "valid_ref": "preserve source release reference; normally annotation/segment/mask_valid.pt", + "dtype": "bool", + "shape": [ + "T" + ], + "container": "pt", + "root_type": "CPU Tensor" + }, + "relations": { + "data_ref": "annotation/contact/relations.jsonl", + "valid_ref": "annotation/contact/relations_valid.pt", + "dtype": "bool", + "shape": [ + "T" + ], + "container": "pt", + "root_type": "CPU Tensor" + }, + "depth": { + "data_ref": "observation/depth.mkv", + "valid_ref": "observation/depth_valid.mkv", + "dtype": "bool", + "shape": [ + "T", + "H", + "W" + ], + "profile": "mkv/bool_ffv1/v1" + } + } +} diff --git a/RHD/shared-v1.1/doc/validation/V1_1_VALIDATION.json b/RHD/shared-v1.1/doc/validation/V1_1_VALIDATION.json new file mode 100644 index 0000000000000000000000000000000000000000..cae419aa1a63b899abe6c34330f148a256a5a4b1 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/V1_1_VALIDATION.json @@ -0,0 +1,3250 @@ +{ + "review_kind": "全量后抽样", + "views": 12, + "sequences": 12, + "dataset_id": "RHD", + "release_id": "shared-v1.1", + "sampling": { + "seed": 20261014, + "rule": "the whole evaluation split (all of its shards) plus training shards drawn uniformly inside the split with the seed, with the training split's partial tail shard forced into the sample; one page per shard (RHD has one camera per shard)", + "evaluation_shards_rendered": 6, + "training_slots": 6, + "forced_training_shard": [ + "training_00040960" + ], + "shard_size": 512, + "selections": [ + { + "sequence": "evaluation_00000000", + "split": "test", + "num_frames": 512, + "member_prefix": "RHD_published_v2/evaluation", + "camera": "camera" + }, + { + "sequence": "evaluation_00000512", + "split": "test", + "num_frames": 512, + "member_prefix": "RHD_published_v2/evaluation", + "camera": "camera" + }, + { + "sequence": "evaluation_00001024", + "split": "test", + "num_frames": 512, + "member_prefix": "RHD_published_v2/evaluation", + "camera": "camera" + }, + { + "sequence": "evaluation_00001536", + "split": "test", + "num_frames": 512, + "member_prefix": "RHD_published_v2/evaluation", + "camera": "camera" + }, + { + "sequence": "evaluation_00002048", + "split": "test", + "num_frames": 512, + "member_prefix": "RHD_published_v2/evaluation", + "camera": "camera" + }, + { + "sequence": "evaluation_00002560", + "split": "test", + "num_frames": 168, + "member_prefix": "RHD_published_v2/evaluation", + "camera": "camera" + }, + { + "sequence": "training_00009728", + "split": "train", + "num_frames": 512, + "member_prefix": "RHD_published_v2/training", + "camera": "camera" + }, + { + "sequence": "training_00011264", + "split": "train", + "num_frames": 512, + "member_prefix": "RHD_published_v2/training", + "camera": "camera" + }, + { + "sequence": "training_00031232", + "split": "train", + "num_frames": 512, + "member_prefix": "RHD_published_v2/training", + "camera": "camera" + }, + { + "sequence": "training_00035328", + "split": "train", + "num_frames": 512, + "member_prefix": "RHD_published_v2/training", + "camera": "camera" + }, + { + "sequence": "training_00038400", + "split": "train", + "num_frames": 512, + "member_prefix": "RHD_published_v2/training", + "camera": "camera" + }, + { + "sequence": "training_00040960", + "split": "train", + "num_frames": 298, + "member_prefix": "RHD_published_v2/training", + "camera": "camera" + } + ], + "pools": { + "train": 81, + "test": 6 + }, + "sequences_in_release": 87 + }, + "wall_seconds": 40.329, + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection_qc": { + "views_scanned": 12, + "frames_scanned": 5586, + "points_scanned": 234612, + "behind_plane_points": 4442, + "near_plane_points": 27, + "comparable_points": 230143, + "in_frame_points": 169956, + "outside_frame_points": 60187, + "median_px": 0.039, + "in_frame_max_px": 0.1498, + "frames_with_in_frame_points": 5586, + "frames_all_in_frame_points_within_1px": 5586, + "outside_frame_within_1px": 59288, + "outside_frame_max_px": 71.0867, + "outside_frame_max_relative": 0.0216, + "visible_outside_frame": 11, + "invisible_in_frame": 4789, + "plane_threshold_m": 0.001, + "tolerance_px": 1.0, + "sampled_frames": { + "compared_points": 2230, + "within_1px": 2230, + "within_tolerance": 2230 + }, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "note": "saved xyz projected through each view's own K, compared with the saved uv; RHD is the only release holding both series. The whole-view scan covers every frame of every rendered view; sampled_frames covers only the frames whose pixels were decoded. Points at or within a millimetre of the camera plane are counted separately rather than compared in pixels, and in-frame points are separated from out-of-frame ones by where the published uv itself lands, so a far out-of-frame joint cannot inflate the in-frame maximum." + }, + "reports": [ + { + "view": "evaluation_00000000/camera", + "sequence_id": "evaluation_00000000", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 395, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 148, + "near_plane_points": 5, + "comparable_points": 21351, + "in_frame_points": 14773, + "outside_frame_points": 6578, + "median_px": 0.0386, + "in_frame_max_px": 0.1246, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 6505, + "outside_frame_max_px": 57.4024, + "outside_frame_max_px_uv_scale": 140200.0, + "outside_frame_max_relative": 0.0167, + "outside_frame_max_relative_px": 0.0448, + "outside_frame_max_relative_uv_scale": 2.677, + "worst_frame": 395, + "worst_frame_in_frame_max_px": 0.1246, + "visibility_true": 14278, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 495, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 169, + "off_image": 83, + "uv_compared": 169, + "uv_within_1px": 169, + "uv_within_tolerance": 169, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0309, + "uv_max_px": 0.0561, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0619, + "outside_uv_max_relative": 0.000331 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 22, + "outside_frame_points": 20, + "visible_outside_frame": 0, + "uv_compared": 22, + "uv_median_px": 0.036, + "uv_max_px": 0.0646, + "uv_within_1px": 22, + "uv_within_tolerance": 22, + "outside_uv_max_px": 0.08, + "outside_uv_max_relative": 0.000341 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0359, + "uv_max_px": 0.0527, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1045, + "outside_uv_max_relative": 0.00029 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0417, + "uv_max_px": 0.0583, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.8179, + "outside_uv_max_relative": 0.000436 + }, + "395": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0369, + "uv_max_px": 0.1246, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0407, + "uv_max_px": 0.0637, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "evaluation_00000000_camera.html" + }, + { + "view": "evaluation_00000512/camera", + "sequence_id": "evaluation_00000512", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 88, + 128, + 256, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 157, + "near_plane_points": 1, + "comparable_points": 21346, + "in_frame_points": 15291, + "outside_frame_points": 6055, + "median_px": 0.0385, + "in_frame_max_px": 0.1171, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5983, + "outside_frame_max_px": 26.241, + "outside_frame_max_px_uv_scale": 66440.0, + "outside_frame_max_relative": 0.00374, + "outside_frame_max_relative_px": 0.0342, + "outside_frame_max_relative_uv_scale": 9.142, + "worst_frame": 88, + "worst_frame_in_frame_max_px": 0.1171, + "visibility_true": 14836, + "visible_outside_frame": 1, + "visible_outside_frame_max_px": 0.0326, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 456, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 144, + "off_image": 108, + "uv_compared": 144, + "uv_within_1px": 144, + "uv_within_tolerance": 144, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0401, + "uv_max_px": 0.0634, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0766, + "outside_uv_max_relative": 0.000362 + }, + "88": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 39, + "outside_frame_points": 3, + "visible_outside_frame": 0, + "uv_compared": 39, + "uv_median_px": 0.0414, + "uv_max_px": 0.1171, + "uv_within_1px": 39, + "uv_within_tolerance": 39, + "outside_uv_max_px": 0.07, + "outside_uv_max_relative": 0.000218 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0303, + "uv_max_px": 0.0728, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0803, + "outside_uv_max_relative": 0.000229 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0358, + "uv_max_px": 0.0649, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0907, + "outside_uv_max_relative": 0.000183 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0373, + "uv_max_px": 0.0623, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0757, + "outside_uv_max_relative": 0.000213 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0397, + "uv_max_px": 0.056, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1077, + "outside_uv_max_relative": 0.000555 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "evaluation_00000512_camera.html" + }, + { + "view": "evaluation_00001024/camera", + "sequence_id": "evaluation_00001024", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 145, + 256, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 331, + "near_plane_points": 4, + "comparable_points": 21169, + "in_frame_points": 15642, + "outside_frame_points": 5527, + "median_px": 0.0382, + "in_frame_max_px": 0.1224, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5458, + "outside_frame_max_px": 41.5559, + "outside_frame_max_px_uv_scale": 151400.0, + "outside_frame_max_relative": 0.0031, + "outside_frame_max_relative_px": 0.0741, + "outside_frame_max_relative_uv_scale": 23.9, + "worst_frame": 145, + "worst_frame_in_frame_max_px": 0.1224, + "visibility_true": 15181, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 461, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 159, + "off_image": 93, + "uv_compared": 159, + "uv_within_1px": 159, + "uv_within_tolerance": 159, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 30, + "outside_frame_points": 12, + "visible_outside_frame": 0, + "uv_compared": 30, + "uv_median_px": 0.0303, + "uv_max_px": 0.0614, + "uv_within_1px": 30, + "uv_within_tolerance": 30, + "outside_uv_max_px": 0.028, + "outside_uv_max_relative": 0.000341 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0321, + "uv_max_px": 0.0553, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0278, + "outside_uv_max_relative": 0.000424 + }, + "145": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0412, + "uv_max_px": 0.1224, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0465, + "uv_max_px": 0.0679, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0796, + "outside_uv_max_relative": 0.000264 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 24, + "outside_frame_points": 18, + "visible_outside_frame": 0, + "uv_compared": 24, + "uv_median_px": 0.0345, + "uv_max_px": 0.0664, + "uv_within_1px": 24, + "uv_within_tolerance": 24, + "outside_uv_max_px": 0.075, + "outside_uv_max_relative": 0.00021 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0267, + "uv_max_px": 0.0643, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0822, + "outside_uv_max_relative": 0.000218 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "evaluation_00001024_camera.html" + }, + { + "view": "evaluation_00001536/camera", + "sequence_id": "evaluation_00001536", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 21, + 128, + 256, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 106, + "near_plane_points": 1, + "comparable_points": 21397, + "in_frame_points": 15482, + "outside_frame_points": 5915, + "median_px": 0.0387, + "in_frame_max_px": 0.1266, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5853, + "outside_frame_max_px": 33.0275, + "outside_frame_max_px_uv_scale": 101600.0, + "outside_frame_max_relative": 0.00858, + "outside_frame_max_relative_px": 0.0342, + "outside_frame_max_relative_uv_scale": 3.98, + "worst_frame": 21, + "worst_frame_in_frame_max_px": 0.1266, + "visibility_true": 15082, + "visible_outside_frame": 1, + "visible_outside_frame_max_px": 0.0201, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 401, + "plane_threshold_m": 0.001 + }, + "points": 251, + "inside": 214, + "off_image": 37, + "uv_compared": 214, + "uv_within_1px": 214, + "uv_within_tolerance": 214, + "frames": { + "0": { + "annotated": true, + "valid_points": 41, + "behind_plane_points": 1, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 20, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0443, + "uv_max_px": 0.0586, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 1.7181, + "outside_uv_max_relative": 0.00046 + }, + "21": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0411, + "uv_max_px": 0.1266, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0378, + "uv_max_px": 0.0601, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0388, + "uv_max_px": 0.0902, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 25, + "outside_frame_points": 17, + "visible_outside_frame": 0, + "uv_compared": 25, + "uv_median_px": 0.0386, + "uv_max_px": 0.0657, + "uv_within_1px": 25, + "uv_within_tolerance": 25, + "outside_uv_max_px": 0.0531, + "outside_uv_max_relative": 0.000389 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0398, + "uv_max_px": 0.0615, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "evaluation_00001536_camera.html" + }, + { + "view": "evaluation_00002048/camera", + "sequence_id": "evaluation_00002048", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 474, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 114, + "near_plane_points": 3, + "comparable_points": 21387, + "in_frame_points": 15121, + "outside_frame_points": 6266, + "median_px": 0.0384, + "in_frame_max_px": 0.118, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 6213, + "outside_frame_max_px": 14.3814, + "outside_frame_max_px_uv_scale": 46020.0, + "outside_frame_max_relative": 0.00308, + "outside_frame_max_relative_px": 0.0692, + "outside_frame_max_relative_uv_scale": 22.49, + "worst_frame": 474, + "worst_frame_in_frame_max_px": 0.118, + "visibility_true": 14692, + "visible_outside_frame": 2, + "visible_outside_frame_max_px": 0.0713, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 431, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 198, + "off_image": 54, + "uv_compared": 198, + "uv_within_1px": 198, + "uv_within_tolerance": 198, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.037, + "uv_max_px": 0.0824, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 40, + "outside_frame_points": 2, + "visible_outside_frame": 0, + "uv_compared": 40, + "uv_median_px": 0.0355, + "uv_max_px": 0.0651, + "uv_within_1px": 40, + "uv_within_tolerance": 40, + "outside_uv_max_px": 0.0323, + "outside_uv_max_relative": 0.000106 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0394, + "uv_max_px": 0.0658, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.3098, + "outside_uv_max_relative": 0.000903 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 22, + "outside_frame_points": 20, + "visible_outside_frame": 0, + "uv_compared": 22, + "uv_median_px": 0.0404, + "uv_max_px": 0.0542, + "uv_within_1px": 22, + "uv_within_tolerance": 22, + "outside_uv_max_px": 0.0818, + "outside_uv_max_relative": 0.000281 + }, + "474": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 39, + "outside_frame_points": 3, + "visible_outside_frame": 0, + "uv_compared": 39, + "uv_median_px": 0.0429, + "uv_max_px": 0.118, + "uv_within_1px": 39, + "uv_within_tolerance": 39, + "outside_uv_max_px": 0.0508, + "outside_uv_max_relative": 0.000156 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 34, + "outside_frame_points": 8, + "visible_outside_frame": 0, + "uv_compared": 34, + "uv_median_px": 0.0351, + "uv_max_px": 0.0671, + "uv_within_1px": 34, + "uv_within_tolerance": 34, + "outside_uv_max_px": 0.0758, + "outside_uv_max_relative": 0.000214 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "evaluation_00002048_camera.html" + }, + { + "view": "evaluation_00002560/camera", + "sequence_id": "evaluation_00002560", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 168, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 168, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 168, + "valid_total": 168, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 168, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 7056, + "valid_total": 7056, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 168, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 7056, + "valid_total": 7056, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 168, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 7056, + "valid_total": 7056, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 168, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 7056, + "valid_total": 7056, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 42, + 46, + 84, + 126, + 167 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 168, + "points_scanned": 7056, + "behind_plane_points": 55, + "near_plane_points": 1, + "comparable_points": 7000, + "in_frame_points": 4718, + "outside_frame_points": 2282, + "median_px": 0.0386, + "in_frame_max_px": 0.0988, + "frames_with_in_frame_points": 168, + "frames_all_in_frame_points_within_1px": 168, + "outside_frame_within_1px": 2255, + "outside_frame_max_px": 21.5986, + "outside_frame_max_px_uv_scale": 84390.0, + "outside_frame_max_relative": 0.00594, + "outside_frame_max_relative_px": 0.0447, + "outside_frame_max_relative_uv_scale": 7.525, + "worst_frame": 46, + "worst_frame_in_frame_max_px": 0.0988, + "visibility_true": 4558, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 160, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 180, + "off_image": 72, + "uv_compared": 180, + "uv_within_1px": 180, + "uv_within_tolerance": 180, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0358, + "uv_max_px": 0.059, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "42": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0384, + "uv_max_px": 0.0699, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.162, + "outside_uv_max_relative": 0.000354 + }, + "46": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 40, + "outside_frame_points": 2, + "visible_outside_frame": 0, + "uv_compared": 40, + "uv_median_px": 0.0439, + "uv_max_px": 0.0988, + "uv_within_1px": 40, + "uv_within_tolerance": 40, + "outside_uv_max_px": 0.0316, + "outside_uv_max_relative": 9.83e-05 + }, + "84": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 35, + "outside_frame_points": 7, + "visible_outside_frame": 0, + "uv_compared": 35, + "uv_median_px": 0.0405, + "uv_max_px": 0.0746, + "uv_within_1px": 35, + "uv_within_tolerance": 35, + "outside_uv_max_px": 0.0877, + "outside_uv_max_relative": 0.000261 + }, + "126": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0387, + "uv_max_px": 0.0693, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0846, + "outside_uv_max_relative": 0.000226 + }, + "167": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0286, + "uv_max_px": 0.0598, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.2054, + "outside_uv_max_relative": 0.000282 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "evaluation_00002560_camera.html" + }, + { + "view": "training_00009728/camera", + "sequence_id": "training_00009728", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 133, + 256, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 504, + "near_plane_points": 2, + "comparable_points": 20998, + "in_frame_points": 15868, + "outside_frame_points": 5130, + "median_px": 0.0388, + "in_frame_max_px": 0.1329, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5074, + "outside_frame_max_px": 12.1337, + "outside_frame_max_px_uv_scale": 12900.0, + "outside_frame_max_relative": 0.00621, + "outside_frame_max_relative_px": 0.0443, + "outside_frame_max_relative_uv_scale": 7.132, + "worst_frame": 133, + "worst_frame_in_frame_max_px": 0.1329, + "visibility_true": 15470, + "visible_outside_frame": 1, + "visible_outside_frame_max_px": 0.034, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 399, + "plane_threshold_m": 0.001 + }, + "points": 231, + "inside": 183, + "off_image": 48, + "uv_compared": 183, + "uv_within_1px": 183, + "uv_within_tolerance": 183, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 22, + "outside_frame_points": 20, + "visible_outside_frame": 0, + "uv_compared": 22, + "uv_median_px": 0.0371, + "uv_max_px": 0.0768, + "uv_within_1px": 22, + "uv_within_tolerance": 22, + "outside_uv_max_px": 0.1307, + "outside_uv_max_relative": 0.000364 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0438, + "uv_max_px": 0.0685, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "133": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 35, + "outside_frame_points": 7, + "visible_outside_frame": 0, + "uv_compared": 35, + "uv_median_px": 0.0469, + "uv_max_px": 0.1329, + "uv_within_1px": 35, + "uv_within_tolerance": 35, + "outside_uv_max_px": 0.0729, + "outside_uv_max_relative": 0.000228 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0423, + "uv_max_px": 0.0645, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.082, + "outside_uv_max_relative": 0.000216 + }, + "384": { + "annotated": true, + "valid_points": 21, + "behind_plane_points": 21, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0377, + "uv_max_px": 0.0549, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0356, + "uv_max_px": 0.0672, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "training_00009728_camera.html" + }, + { + "view": "training_00011264/camera", + "sequence_id": "training_00011264", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 453, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 593, + "near_plane_points": 4, + "comparable_points": 20907, + "in_frame_points": 15788, + "outside_frame_points": 5119, + "median_px": 0.0386, + "in_frame_max_px": 0.137, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 4989, + "outside_frame_max_px": 71.0867, + "outside_frame_max_px_uv_scale": 133800.0, + "outside_frame_max_relative": 0.00666, + "outside_frame_max_relative_px": 0.0441, + "outside_frame_max_relative_uv_scale": 6.616, + "worst_frame": 453, + "worst_frame_in_frame_max_px": 0.137, + "visibility_true": 15295, + "visible_outside_frame": 3, + "visible_outside_frame_max_px": 0.1051, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 496, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 205, + "off_image": 47, + "uv_compared": 205, + "uv_within_1px": 205, + "uv_within_tolerance": 205, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0445, + "uv_max_px": 0.0695, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0404, + "uv_max_px": 0.0541, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.2801, + "outside_uv_max_relative": 0.000363 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 39, + "outside_frame_points": 3, + "visible_outside_frame": 0, + "uv_compared": 39, + "uv_median_px": 0.037, + "uv_max_px": 0.0608, + "uv_within_1px": 39, + "uv_within_tolerance": 39, + "outside_uv_max_px": 0.0499, + "outside_uv_max_relative": 0.000449 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0409, + "uv_max_px": 0.0689, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1325, + "outside_uv_max_relative": 0.000504 + }, + "453": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 40, + "outside_frame_points": 2, + "visible_outside_frame": 0, + "uv_compared": 40, + "uv_median_px": 0.0431, + "uv_max_px": 0.137, + "uv_within_1px": 40, + "uv_within_tolerance": 40, + "outside_uv_max_px": 0.0727, + "outside_uv_max_relative": 0.00155 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0334, + "uv_max_px": 0.0571, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "training_00011264_camera.html" + }, + { + "view": "training_00031232/camera", + "sequence_id": "training_00031232", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 279, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 884, + "near_plane_points": 0, + "comparable_points": 20620, + "in_frame_points": 16177, + "outside_frame_points": 4443, + "median_px": 0.0389, + "in_frame_max_px": 0.144, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 4364, + "outside_frame_max_px": 12.034, + "outside_frame_max_px_uv_scale": 39660.0, + "outside_frame_max_relative": 0.00243, + "outside_frame_max_relative_px": 0.0988, + "outside_frame_max_relative_uv_scale": 40.7, + "worst_frame": 279, + "worst_frame_in_frame_max_px": 0.144, + "visibility_true": 15808, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 369, + "plane_threshold_m": 0.001 + }, + "points": 231, + "inside": 184, + "off_image": 47, + "uv_compared": 184, + "uv_within_1px": 184, + "uv_within_tolerance": 184, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.035, + "uv_max_px": 0.0555, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1964, + "outside_uv_max_relative": 0.000425 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0399, + "uv_max_px": 0.0737, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1724, + "outside_uv_max_relative": 0.000399 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0371, + "uv_max_px": 0.0651, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "279": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 37, + "outside_frame_points": 5, + "visible_outside_frame": 0, + "uv_compared": 37, + "uv_median_px": 0.044, + "uv_max_px": 0.144, + "uv_within_1px": 37, + "uv_within_tolerance": 37, + "outside_uv_max_px": 0.0988, + "outside_uv_max_relative": 0.000307 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0404, + "uv_max_px": 0.0585, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "511": { + "annotated": true, + "valid_points": 21, + "behind_plane_points": 21, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.05, + "uv_max_px": 0.0708, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "training_00031232_camera.html" + }, + { + "view": "training_00035328/camera", + "sequence_id": "training_00035328", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 396, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 655, + "near_plane_points": 3, + "comparable_points": 20846, + "in_frame_points": 15585, + "outside_frame_points": 5261, + "median_px": 0.039, + "in_frame_max_px": 0.1498, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5171, + "outside_frame_max_px": 63.2308, + "outside_frame_max_px_uv_scale": 251500.0, + "outside_frame_max_relative": 0.00417, + "outside_frame_max_relative_px": 0.0269, + "outside_frame_max_relative_uv_scale": 6.445, + "worst_frame": 396, + "worst_frame_in_frame_max_px": 0.1498, + "visibility_true": 15175, + "visible_outside_frame": 1, + "visible_outside_frame_max_px": 0.0068, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 411, + "plane_threshold_m": 0.001 + }, + "points": 231, + "inside": 205, + "off_image": 26, + "uv_compared": 205, + "uv_within_1px": 205, + "uv_within_tolerance": 205, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0278, + "uv_max_px": 0.0599, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "128": { + "annotated": true, + "valid_points": 21, + "behind_plane_points": 21, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0397, + "uv_max_px": 0.0561, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0401, + "uv_max_px": 0.1065, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0403, + "uv_max_px": 0.0683, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.4073, + "outside_uv_max_relative": 0.000676 + }, + "396": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 37, + "outside_frame_points": 5, + "visible_outside_frame": 0, + "uv_compared": 37, + "uv_median_px": 0.0452, + "uv_max_px": 0.1498, + "uv_within_1px": 37, + "uv_within_tolerance": 37, + "outside_uv_max_px": 0.1605, + "outside_uv_max_relative": 0.000501 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0354, + "uv_max_px": 0.0744, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "training_00035328_camera.html" + }, + { + "view": "training_00038400/camera", + "sequence_id": "training_00038400", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 434, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 519, + "near_plane_points": 3, + "comparable_points": 20982, + "in_frame_points": 16269, + "outside_frame_points": 4713, + "median_px": 0.0389, + "in_frame_max_px": 0.13, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 4568, + "outside_frame_max_px": 30.4781, + "outside_frame_max_px_uv_scale": 156700.0, + "outside_frame_max_relative": 0.00651, + "outside_frame_max_relative_px": 0.0499, + "outside_frame_max_relative_uv_scale": 7.661, + "worst_frame": 434, + "worst_frame_in_frame_max_px": 0.13, + "visibility_true": 15899, + "visible_outside_frame": 2, + "visible_outside_frame_max_px": 0.0805, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 372, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 179, + "off_image": 73, + "uv_compared": 179, + "uv_within_1px": 179, + "uv_within_tolerance": 179, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0327, + "uv_max_px": 0.0725, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1002, + "outside_uv_max_relative": 0.000552 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0348, + "uv_max_px": 0.0603, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0759, + "outside_uv_max_relative": 0.000303 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0391, + "uv_max_px": 0.0845, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0394, + "uv_max_px": 0.0551, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0782, + "outside_uv_max_relative": 0.000199 + }, + "434": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0377, + "uv_max_px": 0.13, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 32, + "outside_frame_points": 10, + "visible_outside_frame": 0, + "uv_compared": 32, + "uv_median_px": 0.0419, + "uv_max_px": 0.0676, + "uv_within_1px": 32, + "uv_within_tolerance": 32, + "outside_uv_max_px": 0.0586, + "outside_uv_max_relative": 0.00044 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "training_00038400_camera.html" + }, + { + "view": "training_00040960/camera", + "sequence_id": "training_00040960", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 298, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 298, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 298, + "valid_total": 298, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 298, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 12516, + "valid_total": 12516, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 298, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 12516, + "valid_total": 12516, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 298, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 12516, + "valid_total": 12516, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 298, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 12516, + "valid_total": 12516, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 74, + 149, + 189, + 223, + 297 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 298, + "points_scanned": 12516, + "behind_plane_points": 376, + "near_plane_points": 0, + "comparable_points": 12140, + "in_frame_points": 9242, + "outside_frame_points": 2898, + "median_px": 0.0389, + "in_frame_max_px": 0.1248, + "frames_with_in_frame_points": 298, + "frames_all_in_frame_points_within_1px": 298, + "outside_frame_within_1px": 2855, + "outside_frame_max_px": 14.5704, + "outside_frame_max_px_uv_scale": 75700.0, + "outside_frame_max_relative": 0.0216, + "outside_frame_max_relative_px": 0.057, + "outside_frame_max_relative_uv_scale": 2.637, + "worst_frame": 189, + "worst_frame_in_frame_max_px": 0.1248, + "visibility_true": 8904, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 338, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 210, + "off_image": 42, + "uv_compared": 210, + "uv_within_1px": 210, + "uv_within_tolerance": 210, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.037, + "uv_max_px": 0.0683, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "74": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0431, + "uv_max_px": 0.0582, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0518, + "outside_uv_max_relative": 0.000131 + }, + "149": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0434, + "uv_max_px": 0.0663, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "189": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0385, + "uv_max_px": 0.1248, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "223": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0362, + "uv_max_px": 0.064, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0749, + "outside_uv_max_relative": 0.000222 + }, + "297": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0331, + "uv_max_px": 0.0679, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [], + "_page": "training_00040960_camera.html" + } + ], + "scope": "post-full sampled shards, read directly from v1.1 bundles; evidence for human acceptance, not training input; manual review pending" +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.html b/RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..4c3f3341577477108692d8e6e3a195a0cce94d65 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.html @@ -0,0 +1,1272 @@ +evaluation_00000000_camera

evaluation_00000000_camera

直接读取 v1.1 bundle(evaluation_00000000 的 exo 视图,split=test,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)14773 个点:中位偏离 0.0386 px、最大 0.1246 px;512/512 帧的画内点全部在 1 px 以内。画外 6578 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 6505 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 57.4024 px(该点坐标量级 1.4e+05 px,相对 0.00041);相对偏差最大 0.0167(该点绝对偏差仅 0.0448 px、离原点 2.677 px,比值大只因分母小)。另有 148 个关节深度 ≤0(在相机平面上或之后)、5 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 14773/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 495 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 0 个。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 1823 px / 右手蓝 102 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0309 px、最大 0.0561 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000331
z 深度(float32 位串,逐图拉伸;显示范围 0.647–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "0",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "0",
+      "annotation_index": 0,
+      "member": "RHD_published_v2/evaluation/color/00000.png"
+    },
+    "sample_id": "RHD/evaluation/00000"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0309,
+    "uv_max_px": 0.0561,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0619,
+    "outside_uv_max_relative": 0.000331
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 5550 px / 右手蓝 174 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 1 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 1 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 22 点):中位偏离 0.036 px、最大 0.0646 px,≤1 px 的 22 点;画外 20 点按自身量级的最大相对偏离 0.000341
z 深度(float32 位串,逐图拉伸;显示范围 0.379–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "128",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "128",
+      "annotation_index": 128,
+      "member": "RHD_published_v2/evaluation/color/00128.png"
+    },
+    "sample_id": "RHD/evaluation/00128"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 22,
+    "outside_frame_points": 20,
+    "visible_outside_frame": 0,
+    "uv_compared": 22,
+    "uv_median_px": 0.036,
+    "uv_max_px": 0.0646,
+    "uv_within_1px": 22,
+    "uv_within_tolerance": 22,
+    "outside_uv_max_px": 0.08,
+    "outside_uv_max_relative": 0.000341
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 2482 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0359 px、最大 0.0527 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.00029
z 深度(float32 位串,逐图拉伸;显示范围 0.559–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "256",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "256",
+      "annotation_index": 256,
+      "member": "RHD_published_v2/evaluation/color/00256.png"
+    },
+    "sample_id": "RHD/evaluation/00256"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0359,
+    "uv_max_px": 0.0527,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.1045,
+    "outside_uv_max_relative": 0.00029
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 2932 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0417 px、最大 0.0583 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000436
z 深度(float32 位串,逐图拉伸;显示范围 0.284–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "384",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "384",
+      "annotation_index": 384,
+      "member": "RHD_published_v2/evaluation/color/00384.png"
+    },
+    "sample_id": "RHD/evaluation/00384"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0417,
+    "uv_max_px": 0.0583,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.8179,
+    "outside_uv_max_relative": 0.000436
+  }
+}

帧 395 / 512

原生 RGB(MKV 解出的第 395 帧,未重编码)
分割区域(左手红 1109 px / 右手蓝 3504 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0369 px、最大 0.1246 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.437–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 395,
+  "source": {
+    "frame_index": 395,
+    "source_frame_id": "395",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "395",
+      "annotation_index": 395,
+      "member": "RHD_published_v2/evaluation/color/00395.png"
+    },
+    "sample_id": "RHD/evaluation/00395"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0369,
+    "uv_max_px": 0.1246,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 2273 px / 右手蓝 553 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0407 px、最大 0.0637 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.577–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "511",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "511",
+      "annotation_index": 511,
+      "member": "RHD_published_v2/evaluation/color/00511.png"
+    },
+    "sample_id": "RHD/evaluation/00511"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0407,
+    "uv_max_px": 0.0637,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "evaluation_00000000",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+        "member_pattern": "RHD_published_v2/evaluation/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "test",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/evaluation"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "evaluation_00000000/camera",
+  "sequence_id": "evaluation_00000000",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "test",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    128,
+    256,
+    384,
+    395,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 148,
+      "near_plane_points": 5,
+      "comparable_points": 21351,
+      "in_frame_points": 14773,
+      "outside_frame_points": 6578,
+      "median_px": 0.0386,
+      "in_frame_max_px": 0.1246,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 6505,
+      "outside_frame_max_px": 57.4024,
+      "outside_frame_max_px_uv_scale": 140200.0,
+      "outside_frame_max_relative": 0.0167,
+      "outside_frame_max_relative_px": 0.0448,
+      "outside_frame_max_relative_uv_scale": 2.677,
+      "worst_frame": 395,
+      "worst_frame_in_frame_max_px": 0.1246,
+      "visibility_true": 14278,
+      "visible_outside_frame": 0,
+      "visible_outside_frame_max_px": null,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 495,
+      "plane_threshold_m": 0.001
+    },
+    "points": 252,
+    "inside": 169,
+    "off_image": 83,
+    "uv_compared": 169,
+    "uv_within_1px": 169,
+    "uv_within_tolerance": 169,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0309,
+        "uv_max_px": 0.0561,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0619,
+        "outside_uv_max_relative": 0.000331
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 22,
+        "outside_frame_points": 20,
+        "visible_outside_frame": 0,
+        "uv_compared": 22,
+        "uv_median_px": 0.036,
+        "uv_max_px": 0.0646,
+        "uv_within_1px": 22,
+        "uv_within_tolerance": 22,
+        "outside_uv_max_px": 0.08,
+        "outside_uv_max_relative": 0.000341
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0359,
+        "uv_max_px": 0.0527,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.1045,
+        "outside_uv_max_relative": 0.00029
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0417,
+        "uv_max_px": 0.0583,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.8179,
+        "outside_uv_max_relative": 0.000436
+      },
+      "395": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0369,
+        "uv_max_px": 0.1246,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0407,
+        "uv_max_px": 0.0637,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.report.json b/RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..f83ccf945ecfdef45e431c7690f873c068077aac --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00000000_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "evaluation_00000000/camera", + "sequence_id": "evaluation_00000000", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 395, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 148, + "near_plane_points": 5, + "comparable_points": 21351, + "in_frame_points": 14773, + "outside_frame_points": 6578, + "median_px": 0.0386, + "in_frame_max_px": 0.1246, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 6505, + "outside_frame_max_px": 57.4024, + "outside_frame_max_px_uv_scale": 140200.0, + "outside_frame_max_relative": 0.0167, + "outside_frame_max_relative_px": 0.0448, + "outside_frame_max_relative_uv_scale": 2.677, + "worst_frame": 395, + "worst_frame_in_frame_max_px": 0.1246, + "visibility_true": 14278, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 495, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 169, + "off_image": 83, + "uv_compared": 169, + "uv_within_1px": 169, + "uv_within_tolerance": 169, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0309, + "uv_max_px": 0.0561, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0619, + "outside_uv_max_relative": 0.000331 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 22, + "outside_frame_points": 20, + "visible_outside_frame": 0, + "uv_compared": 22, + "uv_median_px": 0.036, + "uv_max_px": 0.0646, + "uv_within_1px": 22, + "uv_within_tolerance": 22, + "outside_uv_max_px": 0.08, + "outside_uv_max_relative": 0.000341 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0359, + "uv_max_px": 0.0527, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1045, + "outside_uv_max_relative": 0.00029 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0417, + "uv_max_px": 0.0583, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.8179, + "outside_uv_max_relative": 0.000436 + }, + "395": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0369, + "uv_max_px": 0.1246, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0407, + "uv_max_px": 0.0637, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.html b/RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..8c68b7bbbadd9e39ad2b32fc33491852f9bc20d9 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.html @@ -0,0 +1,1272 @@ +evaluation_00000512_camera

evaluation_00000512_camera

直接读取 v1.1 bundle(evaluation_00000512 的 exo 视图,split=test,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)15291 个点:中位偏离 0.0385 px、最大 0.1171 px;512/512 帧的画内点全部在 1 px 以内。画外 6055 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 5983 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 26.241 px(该点坐标量级 6.64e+04 px,相对 0.00039);相对偏差最大 0.00374(该点绝对偏差仅 0.0342 px、离原点 9.142 px,比值大只因分母小)。另有 157 个关节深度 ≤0(在相机平面上或之后)、1 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 15291/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 456 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 1 个(其偏差 ≤ 0.0326 px,即数值上完全一致,只是 uv 恰好落在边界上)。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 2698 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0401 px、最大 0.0634 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000362
z 深度(float32 位串,逐图拉伸;显示范围 0.491–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "512",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "512",
+      "annotation_index": 512,
+      "member": "RHD_published_v2/evaluation/color/00512.png"
+    },
+    "sample_id": "RHD/evaluation/00512"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0401,
+    "uv_max_px": 0.0634,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0766,
+    "outside_uv_max_relative": 0.000362
+  }
+}

帧 88 / 512

原生 RGB(MKV 解出的第 88 帧,未重编码)
分割区域(左手红 2531 px / 右手蓝 2057 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 18 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 18 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 39 点):中位偏离 0.0414 px、最大 0.1171 px,≤1 px 的 39 点;画外 3 点按自身量级的最大相对偏离 0.000218
z 深度(float32 位串,逐图拉伸;显示范围 0.363–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 88,
+  "source": {
+    "frame_index": 88,
+    "source_frame_id": "600",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "600",
+      "annotation_index": 600,
+      "member": "RHD_published_v2/evaluation/color/00600.png"
+    },
+    "sample_id": "RHD/evaluation/00600"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 39,
+    "outside_frame_points": 3,
+    "visible_outside_frame": 0,
+    "uv_compared": 39,
+    "uv_median_px": 0.0414,
+    "uv_max_px": 0.1171,
+    "uv_within_1px": 39,
+    "uv_within_tolerance": 39,
+    "outside_uv_max_px": 0.07,
+    "outside_uv_max_relative": 0.000218
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 2911 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0303 px、最大 0.0728 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000229
z 深度(float32 位串,逐图拉伸;显示范围 0.382–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "640",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "640",
+      "annotation_index": 640,
+      "member": "RHD_published_v2/evaluation/color/00640.png"
+    },
+    "sample_id": "RHD/evaluation/00640"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0303,
+    "uv_max_px": 0.0728,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0803,
+    "outside_uv_max_relative": 0.000229
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 3010 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0358 px、最大 0.0649 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000183
z 深度(float32 位串,逐图拉伸;显示范围 0.472–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "768",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "768",
+      "annotation_index": 768,
+      "member": "RHD_published_v2/evaluation/color/00768.png"
+    },
+    "sample_id": "RHD/evaluation/00768"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0358,
+    "uv_max_px": 0.0649,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0907,
+    "outside_uv_max_relative": 0.000183
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 2466 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0373 px、最大 0.0623 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000213
z 深度(float32 位串,逐图拉伸;显示范围 0.514–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "896",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "896",
+      "annotation_index": 896,
+      "member": "RHD_published_v2/evaluation/color/00896.png"
+    },
+    "sample_id": "RHD/evaluation/00896"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0373,
+    "uv_max_px": 0.0623,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0757,
+    "outside_uv_max_relative": 0.000213
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 1788 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0397 px、最大 0.056 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000555
z 深度(float32 位串,逐图拉伸;显示范围 0.539–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "1023",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1023",
+      "annotation_index": 1023,
+      "member": "RHD_published_v2/evaluation/color/01023.png"
+    },
+    "sample_id": "RHD/evaluation/01023"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0397,
+    "uv_max_px": 0.056,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.1077,
+    "outside_uv_max_relative": 0.000555
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "evaluation_00000512",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+        "member_pattern": "RHD_published_v2/evaluation/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "test",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/evaluation"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "evaluation_00000512/camera",
+  "sequence_id": "evaluation_00000512",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "test",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    88,
+    128,
+    256,
+    384,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 157,
+      "near_plane_points": 1,
+      "comparable_points": 21346,
+      "in_frame_points": 15291,
+      "outside_frame_points": 6055,
+      "median_px": 0.0385,
+      "in_frame_max_px": 0.1171,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 5983,
+      "outside_frame_max_px": 26.241,
+      "outside_frame_max_px_uv_scale": 66440.0,
+      "outside_frame_max_relative": 0.00374,
+      "outside_frame_max_relative_px": 0.0342,
+      "outside_frame_max_relative_uv_scale": 9.142,
+      "worst_frame": 88,
+      "worst_frame_in_frame_max_px": 0.1171,
+      "visibility_true": 14836,
+      "visible_outside_frame": 1,
+      "visible_outside_frame_max_px": 0.0326,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 456,
+      "plane_threshold_m": 0.001
+    },
+    "points": 252,
+    "inside": 144,
+    "off_image": 108,
+    "uv_compared": 144,
+    "uv_within_1px": 144,
+    "uv_within_tolerance": 144,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0401,
+        "uv_max_px": 0.0634,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0766,
+        "outside_uv_max_relative": 0.000362
+      },
+      "88": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 39,
+        "outside_frame_points": 3,
+        "visible_outside_frame": 0,
+        "uv_compared": 39,
+        "uv_median_px": 0.0414,
+        "uv_max_px": 0.1171,
+        "uv_within_1px": 39,
+        "uv_within_tolerance": 39,
+        "outside_uv_max_px": 0.07,
+        "outside_uv_max_relative": 0.000218
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0303,
+        "uv_max_px": 0.0728,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0803,
+        "outside_uv_max_relative": 0.000229
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0358,
+        "uv_max_px": 0.0649,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0907,
+        "outside_uv_max_relative": 0.000183
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0373,
+        "uv_max_px": 0.0623,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0757,
+        "outside_uv_max_relative": 0.000213
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0397,
+        "uv_max_px": 0.056,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.1077,
+        "outside_uv_max_relative": 0.000555
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.report.json b/RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..ac9dfa0bc01233f84b4908640c4e9b2d4cb6a666 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00000512_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "evaluation_00000512/camera", + "sequence_id": "evaluation_00000512", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 88, + 128, + 256, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 157, + "near_plane_points": 1, + "comparable_points": 21346, + "in_frame_points": 15291, + "outside_frame_points": 6055, + "median_px": 0.0385, + "in_frame_max_px": 0.1171, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5983, + "outside_frame_max_px": 26.241, + "outside_frame_max_px_uv_scale": 66440.0, + "outside_frame_max_relative": 0.00374, + "outside_frame_max_relative_px": 0.0342, + "outside_frame_max_relative_uv_scale": 9.142, + "worst_frame": 88, + "worst_frame_in_frame_max_px": 0.1171, + "visibility_true": 14836, + "visible_outside_frame": 1, + "visible_outside_frame_max_px": 0.0326, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 456, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 144, + "off_image": 108, + "uv_compared": 144, + "uv_within_1px": 144, + "uv_within_tolerance": 144, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0401, + "uv_max_px": 0.0634, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0766, + "outside_uv_max_relative": 0.000362 + }, + "88": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 39, + "outside_frame_points": 3, + "visible_outside_frame": 0, + "uv_compared": 39, + "uv_median_px": 0.0414, + "uv_max_px": 0.1171, + "uv_within_1px": 39, + "uv_within_tolerance": 39, + "outside_uv_max_px": 0.07, + "outside_uv_max_relative": 0.000218 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0303, + "uv_max_px": 0.0728, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0803, + "outside_uv_max_relative": 0.000229 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0358, + "uv_max_px": 0.0649, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0907, + "outside_uv_max_relative": 0.000183 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0373, + "uv_max_px": 0.0623, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0757, + "outside_uv_max_relative": 0.000213 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0397, + "uv_max_px": 0.056, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1077, + "outside_uv_max_relative": 0.000555 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.html b/RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..a60485cb24e908d5d09e1dbc4a4670c30ab3403e --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.html @@ -0,0 +1,1272 @@ +evaluation_00001024_camera

evaluation_00001024_camera

直接读取 v1.1 bundle(evaluation_00001024 的 exo 视图,split=test,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)15642 个点:中位偏离 0.0382 px、最大 0.1224 px;512/512 帧的画内点全部在 1 px 以内。画外 5527 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 5458 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 41.5559 px(该点坐标量级 1.51e+05 px,相对 0.00027);相对偏差最大 0.0031(该点绝对偏差仅 0.0741 px、离原点 23.9 px,比值大只因分母小)。另有 331 个关节深度 ≤0(在相机平面上或之后)、4 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 15642/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 461 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 0 个。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 3058 px / 右手蓝 960 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 9 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 9 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 30 点):中位偏离 0.0303 px、最大 0.0614 px,≤1 px 的 30 点;画外 12 点按自身量级的最大相对偏离 0.000341
z 深度(float32 位串,逐图拉伸;显示范围 0.496–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "1024",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1024",
+      "annotation_index": 1024,
+      "member": "RHD_published_v2/evaluation/color/01024.png"
+    },
+    "sample_id": "RHD/evaluation/01024"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 30,
+    "outside_frame_points": 12,
+    "visible_outside_frame": 0,
+    "uv_compared": 30,
+    "uv_median_px": 0.0303,
+    "uv_max_px": 0.0614,
+    "uv_within_1px": 30,
+    "uv_within_tolerance": 30,
+    "outside_uv_max_px": 0.028,
+    "outside_uv_max_relative": 0.000341
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 3126 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0321 px、最大 0.0553 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000424
z 深度(float32 位串,逐图拉伸;显示范围 0.463–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "1152",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1152",
+      "annotation_index": 1152,
+      "member": "RHD_published_v2/evaluation/color/01152.png"
+    },
+    "sample_id": "RHD/evaluation/01152"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0321,
+    "uv_max_px": 0.0553,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0278,
+    "outside_uv_max_relative": 0.000424
+  }
+}

帧 145 / 512

原生 RGB(MKV 解出的第 145 帧,未重编码)
分割区域(左手红 749 px / 右手蓝 1948 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0412 px、最大 0.1224 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.486–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 145,
+  "source": {
+    "frame_index": 145,
+    "source_frame_id": "1169",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1169",
+      "annotation_index": 1169,
+      "member": "RHD_published_v2/evaluation/color/01169.png"
+    },
+    "sample_id": "RHD/evaluation/01169"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0412,
+    "uv_max_px": 0.1224,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 2096 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0465 px、最大 0.0679 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000264
z 深度(float32 位串,逐图拉伸;显示范围 0.552–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "1280",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1280",
+      "annotation_index": 1280,
+      "member": "RHD_published_v2/evaluation/color/01280.png"
+    },
+    "sample_id": "RHD/evaluation/01280"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0465,
+    "uv_max_px": 0.0679,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0796,
+    "outside_uv_max_relative": 0.000264
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 674 px / 右手蓝 3882 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 3 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 3 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 24 点):中位偏离 0.0345 px、最大 0.0664 px,≤1 px 的 24 点;画外 18 点按自身量级的最大相对偏离 0.00021
z 深度(float32 位串,逐图拉伸;显示范围 0.437–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "1408",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1408",
+      "annotation_index": 1408,
+      "member": "RHD_published_v2/evaluation/color/01408.png"
+    },
+    "sample_id": "RHD/evaluation/01408"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 24,
+    "outside_frame_points": 18,
+    "visible_outside_frame": 0,
+    "uv_compared": 24,
+    "uv_median_px": 0.0345,
+    "uv_max_px": 0.0664,
+    "uv_within_1px": 24,
+    "uv_within_tolerance": 24,
+    "outside_uv_max_px": 0.075,
+    "outside_uv_max_relative": 0.00021
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 2223 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0267 px、最大 0.0643 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000218
z 深度(float32 位串,逐图拉伸;显示范围 0.585–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "1535",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1535",
+      "annotation_index": 1535,
+      "member": "RHD_published_v2/evaluation/color/01535.png"
+    },
+    "sample_id": "RHD/evaluation/01535"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0267,
+    "uv_max_px": 0.0643,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0822,
+    "outside_uv_max_relative": 0.000218
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "evaluation_00001024",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+        "member_pattern": "RHD_published_v2/evaluation/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "test",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/evaluation"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "evaluation_00001024/camera",
+  "sequence_id": "evaluation_00001024",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "test",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    128,
+    145,
+    256,
+    384,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 331,
+      "near_plane_points": 4,
+      "comparable_points": 21169,
+      "in_frame_points": 15642,
+      "outside_frame_points": 5527,
+      "median_px": 0.0382,
+      "in_frame_max_px": 0.1224,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 5458,
+      "outside_frame_max_px": 41.5559,
+      "outside_frame_max_px_uv_scale": 151400.0,
+      "outside_frame_max_relative": 0.0031,
+      "outside_frame_max_relative_px": 0.0741,
+      "outside_frame_max_relative_uv_scale": 23.9,
+      "worst_frame": 145,
+      "worst_frame_in_frame_max_px": 0.1224,
+      "visibility_true": 15181,
+      "visible_outside_frame": 0,
+      "visible_outside_frame_max_px": null,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 461,
+      "plane_threshold_m": 0.001
+    },
+    "points": 252,
+    "inside": 159,
+    "off_image": 93,
+    "uv_compared": 159,
+    "uv_within_1px": 159,
+    "uv_within_tolerance": 159,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 30,
+        "outside_frame_points": 12,
+        "visible_outside_frame": 0,
+        "uv_compared": 30,
+        "uv_median_px": 0.0303,
+        "uv_max_px": 0.0614,
+        "uv_within_1px": 30,
+        "uv_within_tolerance": 30,
+        "outside_uv_max_px": 0.028,
+        "outside_uv_max_relative": 0.000341
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0321,
+        "uv_max_px": 0.0553,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0278,
+        "outside_uv_max_relative": 0.000424
+      },
+      "145": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0412,
+        "uv_max_px": 0.1224,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0465,
+        "uv_max_px": 0.0679,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0796,
+        "outside_uv_max_relative": 0.000264
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 24,
+        "outside_frame_points": 18,
+        "visible_outside_frame": 0,
+        "uv_compared": 24,
+        "uv_median_px": 0.0345,
+        "uv_max_px": 0.0664,
+        "uv_within_1px": 24,
+        "uv_within_tolerance": 24,
+        "outside_uv_max_px": 0.075,
+        "outside_uv_max_relative": 0.00021
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0267,
+        "uv_max_px": 0.0643,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0822,
+        "outside_uv_max_relative": 0.000218
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.report.json b/RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..3490561cfa0b12cfa1c81d794c7994d80ea8eaa4 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00001024_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "evaluation_00001024/camera", + "sequence_id": "evaluation_00001024", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 145, + 256, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 331, + "near_plane_points": 4, + "comparable_points": 21169, + "in_frame_points": 15642, + "outside_frame_points": 5527, + "median_px": 0.0382, + "in_frame_max_px": 0.1224, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5458, + "outside_frame_max_px": 41.5559, + "outside_frame_max_px_uv_scale": 151400.0, + "outside_frame_max_relative": 0.0031, + "outside_frame_max_relative_px": 0.0741, + "outside_frame_max_relative_uv_scale": 23.9, + "worst_frame": 145, + "worst_frame_in_frame_max_px": 0.1224, + "visibility_true": 15181, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 461, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 159, + "off_image": 93, + "uv_compared": 159, + "uv_within_1px": 159, + "uv_within_tolerance": 159, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 30, + "outside_frame_points": 12, + "visible_outside_frame": 0, + "uv_compared": 30, + "uv_median_px": 0.0303, + "uv_max_px": 0.0614, + "uv_within_1px": 30, + "uv_within_tolerance": 30, + "outside_uv_max_px": 0.028, + "outside_uv_max_relative": 0.000341 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0321, + "uv_max_px": 0.0553, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0278, + "outside_uv_max_relative": 0.000424 + }, + "145": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0412, + "uv_max_px": 0.1224, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0465, + "uv_max_px": 0.0679, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0796, + "outside_uv_max_relative": 0.000264 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 24, + "outside_frame_points": 18, + "visible_outside_frame": 0, + "uv_compared": 24, + "uv_median_px": 0.0345, + "uv_max_px": 0.0664, + "uv_within_1px": 24, + "uv_within_tolerance": 24, + "outside_uv_max_px": 0.075, + "outside_uv_max_relative": 0.00021 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0267, + "uv_max_px": 0.0643, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0822, + "outside_uv_max_relative": 0.000218 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.html b/RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..e6610313dad036b454f8ab4407f299ea7695e88b --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.html @@ -0,0 +1,1272 @@ +evaluation_00001536_camera

evaluation_00001536_camera

直接读取 v1.1 bundle(evaluation_00001536 的 exo 视图,split=test,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)15482 个点:中位偏离 0.0387 px、最大 0.1266 px;512/512 帧的画内点全部在 1 px 以内。画外 5915 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 5853 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 33.0275 px(该点坐标量级 1.02e+05 px,相对 0.00033);相对偏差最大 0.00858(该点绝对偏差仅 0.0342 px、离原点 3.98 px,比值大只因分母小)。另有 106 个关节深度 ≤0(在相机平面上或之后)、1 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 15482/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 401 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 1 个(其偏差 ≤ 0.0201 px,即数值上完全一致,只是 uv 恰好落在边界上)。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 4223 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0443 px、最大 0.0586 px,≤1 px 的 21 点;画外 20 点按自身量级的最大相对偏离 0.00046
z 深度(float32 位串,逐图拉伸;显示范围 0.413–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "1536",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1536",
+      "annotation_index": 1536,
+      "member": "RHD_published_v2/evaluation/color/01536.png"
+    },
+    "sample_id": "RHD/evaluation/01536"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 41,
+    "behind_plane_points": 1,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 20,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0443,
+    "uv_max_px": 0.0586,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 1.7181,
+    "outside_uv_max_relative": 0.00046
+  }
+}

帧 21 / 512

原生 RGB(MKV 解出的第 21 帧,未重编码)
分割区域(左手红 883 px / 右手蓝 2005 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0411 px、最大 0.1266 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.652–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 21,
+  "source": {
+    "frame_index": 21,
+    "source_frame_id": "1557",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1557",
+      "annotation_index": 1557,
+      "member": "RHD_published_v2/evaluation/color/01557.png"
+    },
+    "sample_id": "RHD/evaluation/01557"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0411,
+    "uv_max_px": 0.1266,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 1264 px / 右手蓝 1902 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0378 px、最大 0.0601 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.611–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "1664",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1664",
+      "annotation_index": 1664,
+      "member": "RHD_published_v2/evaluation/color/01664.png"
+    },
+    "sample_id": "RHD/evaluation/01664"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0378,
+    "uv_max_px": 0.0601,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 2298 px / 右手蓝 635 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0388 px、最大 0.0902 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.464–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "1792",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1792",
+      "annotation_index": 1792,
+      "member": "RHD_published_v2/evaluation/color/01792.png"
+    },
+    "sample_id": "RHD/evaluation/01792"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0388,
+    "uv_max_px": 0.0902,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 2575 px / 右手蓝 533 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 4 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 4 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 25 点):中位偏离 0.0386 px、最大 0.0657 px,≤1 px 的 25 点;画外 17 点按自身量级的最大相对偏离 0.000389
z 深度(float32 位串,逐图拉伸;显示范围 0.509–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "1920",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "1920",
+      "annotation_index": 1920,
+      "member": "RHD_published_v2/evaluation/color/01920.png"
+    },
+    "sample_id": "RHD/evaluation/01920"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 25,
+    "outside_frame_points": 17,
+    "visible_outside_frame": 0,
+    "uv_compared": 25,
+    "uv_median_px": 0.0386,
+    "uv_max_px": 0.0657,
+    "uv_within_1px": 25,
+    "uv_within_tolerance": 25,
+    "outside_uv_max_px": 0.0531,
+    "outside_uv_max_relative": 0.000389
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 3540 px / 右手蓝 5665 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0398 px、最大 0.0615 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.343–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "2047",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2047",
+      "annotation_index": 2047,
+      "member": "RHD_published_v2/evaluation/color/02047.png"
+    },
+    "sample_id": "RHD/evaluation/02047"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0398,
+    "uv_max_px": 0.0615,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "evaluation_00001536",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+        "member_pattern": "RHD_published_v2/evaluation/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "test",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/evaluation"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "evaluation_00001536/camera",
+  "sequence_id": "evaluation_00001536",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "test",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    21,
+    128,
+    256,
+    384,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 106,
+      "near_plane_points": 1,
+      "comparable_points": 21397,
+      "in_frame_points": 15482,
+      "outside_frame_points": 5915,
+      "median_px": 0.0387,
+      "in_frame_max_px": 0.1266,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 5853,
+      "outside_frame_max_px": 33.0275,
+      "outside_frame_max_px_uv_scale": 101600.0,
+      "outside_frame_max_relative": 0.00858,
+      "outside_frame_max_relative_px": 0.0342,
+      "outside_frame_max_relative_uv_scale": 3.98,
+      "worst_frame": 21,
+      "worst_frame_in_frame_max_px": 0.1266,
+      "visibility_true": 15082,
+      "visible_outside_frame": 1,
+      "visible_outside_frame_max_px": 0.0201,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 401,
+      "plane_threshold_m": 0.001
+    },
+    "points": 251,
+    "inside": 214,
+    "off_image": 37,
+    "uv_compared": 214,
+    "uv_within_1px": 214,
+    "uv_within_tolerance": 214,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 41,
+        "behind_plane_points": 1,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 20,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0443,
+        "uv_max_px": 0.0586,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 1.7181,
+        "outside_uv_max_relative": 0.00046
+      },
+      "21": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0411,
+        "uv_max_px": 0.1266,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0378,
+        "uv_max_px": 0.0601,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0388,
+        "uv_max_px": 0.0902,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 25,
+        "outside_frame_points": 17,
+        "visible_outside_frame": 0,
+        "uv_compared": 25,
+        "uv_median_px": 0.0386,
+        "uv_max_px": 0.0657,
+        "uv_within_1px": 25,
+        "uv_within_tolerance": 25,
+        "outside_uv_max_px": 0.0531,
+        "outside_uv_max_relative": 0.000389
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0398,
+        "uv_max_px": 0.0615,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.report.json b/RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..2b03d0b1bcd298433707915c0ed6b260ae71fd9e --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00001536_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "evaluation_00001536/camera", + "sequence_id": "evaluation_00001536", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 21, + 128, + 256, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 106, + "near_plane_points": 1, + "comparable_points": 21397, + "in_frame_points": 15482, + "outside_frame_points": 5915, + "median_px": 0.0387, + "in_frame_max_px": 0.1266, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5853, + "outside_frame_max_px": 33.0275, + "outside_frame_max_px_uv_scale": 101600.0, + "outside_frame_max_relative": 0.00858, + "outside_frame_max_relative_px": 0.0342, + "outside_frame_max_relative_uv_scale": 3.98, + "worst_frame": 21, + "worst_frame_in_frame_max_px": 0.1266, + "visibility_true": 15082, + "visible_outside_frame": 1, + "visible_outside_frame_max_px": 0.0201, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 401, + "plane_threshold_m": 0.001 + }, + "points": 251, + "inside": 214, + "off_image": 37, + "uv_compared": 214, + "uv_within_1px": 214, + "uv_within_tolerance": 214, + "frames": { + "0": { + "annotated": true, + "valid_points": 41, + "behind_plane_points": 1, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 20, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0443, + "uv_max_px": 0.0586, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 1.7181, + "outside_uv_max_relative": 0.00046 + }, + "21": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0411, + "uv_max_px": 0.1266, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0378, + "uv_max_px": 0.0601, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0388, + "uv_max_px": 0.0902, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 25, + "outside_frame_points": 17, + "visible_outside_frame": 0, + "uv_compared": 25, + "uv_median_px": 0.0386, + "uv_max_px": 0.0657, + "uv_within_1px": 25, + "uv_within_tolerance": 25, + "outside_uv_max_px": 0.0531, + "outside_uv_max_relative": 0.000389 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0398, + "uv_max_px": 0.0615, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.html b/RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..77606d5dc84065c259a73e7511c9d0d7ff6d8b9d --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.html @@ -0,0 +1,1272 @@ +evaluation_00002048_camera

evaluation_00002048_camera

直接读取 v1.1 bundle(evaluation_00002048 的 exo 视图,split=test,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)15121 个点:中位偏离 0.0384 px、最大 0.118 px;512/512 帧的画内点全部在 1 px 以内。画外 6266 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 6213 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 14.3814 px(该点坐标量级 4.6e+04 px,相对 0.00031);相对偏差最大 0.00308(该点绝对偏差仅 0.0692 px、离原点 22.49 px,比值大只因分母小)。另有 114 个关节深度 ≤0(在相机平面上或之后)、3 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 15121/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 431 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 2 个(其偏差 ≤ 0.0713 px,即数值上完全一致,只是 uv 恰好落在边界上)。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 3700 px / 右手蓝 2049 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.037 px、最大 0.0824 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.437–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "2048",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2048",
+      "annotation_index": 2048,
+      "member": "RHD_published_v2/evaluation/color/02048.png"
+    },
+    "sample_id": "RHD/evaluation/02048"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.037,
+    "uv_max_px": 0.0824,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 872 px / 右手蓝 4398 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 19 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 19 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 40 点):中位偏离 0.0355 px、最大 0.0651 px,≤1 px 的 40 点;画外 2 点按自身量级的最大相对偏离 0.000106
z 深度(float32 位串,逐图拉伸;显示范围 0.456–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "2176",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2176",
+      "annotation_index": 2176,
+      "member": "RHD_published_v2/evaluation/color/02176.png"
+    },
+    "sample_id": "RHD/evaluation/02176"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 40,
+    "outside_frame_points": 2,
+    "visible_outside_frame": 0,
+    "uv_compared": 40,
+    "uv_median_px": 0.0355,
+    "uv_max_px": 0.0651,
+    "uv_within_1px": 40,
+    "uv_within_tolerance": 40,
+    "outside_uv_max_px": 0.0323,
+    "outside_uv_max_relative": 0.000106
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 1893 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0394 px、最大 0.0658 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000903
z 深度(float32 位串,逐图拉伸;显示范围 0.488–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "2304",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2304",
+      "annotation_index": 2304,
+      "member": "RHD_published_v2/evaluation/color/02304.png"
+    },
+    "sample_id": "RHD/evaluation/02304"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0394,
+    "uv_max_px": 0.0658,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.3098,
+    "outside_uv_max_relative": 0.000903
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 1210 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 1 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 1 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 22 点):中位偏离 0.0404 px、最大 0.0542 px,≤1 px 的 22 点;画外 20 点按自身量级的最大相对偏离 0.000281
z 深度(float32 位串,逐图拉伸;显示范围 0.583–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "2432",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2432",
+      "annotation_index": 2432,
+      "member": "RHD_published_v2/evaluation/color/02432.png"
+    },
+    "sample_id": "RHD/evaluation/02432"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 22,
+    "outside_frame_points": 20,
+    "visible_outside_frame": 0,
+    "uv_compared": 22,
+    "uv_median_px": 0.0404,
+    "uv_max_px": 0.0542,
+    "uv_within_1px": 22,
+    "uv_within_tolerance": 22,
+    "outside_uv_max_px": 0.0818,
+    "outside_uv_max_relative": 0.000281
+  }
+}

帧 474 / 512

原生 RGB(MKV 解出的第 474 帧,未重编码)
分割区域(左手红 711 px / 右手蓝 2656 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 18 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 18 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 39 点):中位偏离 0.0429 px、最大 0.118 px,≤1 px 的 39 点;画外 3 点按自身量级的最大相对偏离 0.000156
z 深度(float32 位串,逐图拉伸;显示范围 0.575–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 474,
+  "source": {
+    "frame_index": 474,
+    "source_frame_id": "2522",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2522",
+      "annotation_index": 2522,
+      "member": "RHD_published_v2/evaluation/color/02522.png"
+    },
+    "sample_id": "RHD/evaluation/02522"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 39,
+    "outside_frame_points": 3,
+    "visible_outside_frame": 0,
+    "uv_compared": 39,
+    "uv_median_px": 0.0429,
+    "uv_max_px": 0.118,
+    "uv_within_1px": 39,
+    "uv_within_tolerance": 39,
+    "outside_uv_max_px": 0.0508,
+    "outside_uv_max_relative": 0.000156
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 716 px / 右手蓝 1993 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 13 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 13 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 34 点):中位偏离 0.0351 px、最大 0.0671 px,≤1 px 的 34 点;画外 8 点按自身量级的最大相对偏离 0.000214
z 深度(float32 位串,逐图拉伸;显示范围 0.606–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "2559",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2559",
+      "annotation_index": 2559,
+      "member": "RHD_published_v2/evaluation/color/02559.png"
+    },
+    "sample_id": "RHD/evaluation/02559"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 34,
+    "outside_frame_points": 8,
+    "visible_outside_frame": 0,
+    "uv_compared": 34,
+    "uv_median_px": 0.0351,
+    "uv_max_px": 0.0671,
+    "uv_within_1px": 34,
+    "uv_within_tolerance": 34,
+    "outside_uv_max_px": 0.0758,
+    "outside_uv_max_relative": 0.000214
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "evaluation_00002048",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+        "member_pattern": "RHD_published_v2/evaluation/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "test",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/evaluation"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "evaluation_00002048/camera",
+  "sequence_id": "evaluation_00002048",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "test",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    128,
+    256,
+    384,
+    474,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 114,
+      "near_plane_points": 3,
+      "comparable_points": 21387,
+      "in_frame_points": 15121,
+      "outside_frame_points": 6266,
+      "median_px": 0.0384,
+      "in_frame_max_px": 0.118,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 6213,
+      "outside_frame_max_px": 14.3814,
+      "outside_frame_max_px_uv_scale": 46020.0,
+      "outside_frame_max_relative": 0.00308,
+      "outside_frame_max_relative_px": 0.0692,
+      "outside_frame_max_relative_uv_scale": 22.49,
+      "worst_frame": 474,
+      "worst_frame_in_frame_max_px": 0.118,
+      "visibility_true": 14692,
+      "visible_outside_frame": 2,
+      "visible_outside_frame_max_px": 0.0713,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 431,
+      "plane_threshold_m": 0.001
+    },
+    "points": 252,
+    "inside": 198,
+    "off_image": 54,
+    "uv_compared": 198,
+    "uv_within_1px": 198,
+    "uv_within_tolerance": 198,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.037,
+        "uv_max_px": 0.0824,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 40,
+        "outside_frame_points": 2,
+        "visible_outside_frame": 0,
+        "uv_compared": 40,
+        "uv_median_px": 0.0355,
+        "uv_max_px": 0.0651,
+        "uv_within_1px": 40,
+        "uv_within_tolerance": 40,
+        "outside_uv_max_px": 0.0323,
+        "outside_uv_max_relative": 0.000106
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0394,
+        "uv_max_px": 0.0658,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.3098,
+        "outside_uv_max_relative": 0.000903
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 22,
+        "outside_frame_points": 20,
+        "visible_outside_frame": 0,
+        "uv_compared": 22,
+        "uv_median_px": 0.0404,
+        "uv_max_px": 0.0542,
+        "uv_within_1px": 22,
+        "uv_within_tolerance": 22,
+        "outside_uv_max_px": 0.0818,
+        "outside_uv_max_relative": 0.000281
+      },
+      "474": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 39,
+        "outside_frame_points": 3,
+        "visible_outside_frame": 0,
+        "uv_compared": 39,
+        "uv_median_px": 0.0429,
+        "uv_max_px": 0.118,
+        "uv_within_1px": 39,
+        "uv_within_tolerance": 39,
+        "outside_uv_max_px": 0.0508,
+        "outside_uv_max_relative": 0.000156
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 34,
+        "outside_frame_points": 8,
+        "visible_outside_frame": 0,
+        "uv_compared": 34,
+        "uv_median_px": 0.0351,
+        "uv_max_px": 0.0671,
+        "uv_within_1px": 34,
+        "uv_within_tolerance": 34,
+        "outside_uv_max_px": 0.0758,
+        "outside_uv_max_relative": 0.000214
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.report.json b/RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..64c2bdc932748293da41f5b9d97a9b62c2205d3c --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00002048_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "evaluation_00002048/camera", + "sequence_id": "evaluation_00002048", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 474, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 114, + "near_plane_points": 3, + "comparable_points": 21387, + "in_frame_points": 15121, + "outside_frame_points": 6266, + "median_px": 0.0384, + "in_frame_max_px": 0.118, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 6213, + "outside_frame_max_px": 14.3814, + "outside_frame_max_px_uv_scale": 46020.0, + "outside_frame_max_relative": 0.00308, + "outside_frame_max_relative_px": 0.0692, + "outside_frame_max_relative_uv_scale": 22.49, + "worst_frame": 474, + "worst_frame_in_frame_max_px": 0.118, + "visibility_true": 14692, + "visible_outside_frame": 2, + "visible_outside_frame_max_px": 0.0713, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 431, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 198, + "off_image": 54, + "uv_compared": 198, + "uv_within_1px": 198, + "uv_within_tolerance": 198, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.037, + "uv_max_px": 0.0824, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 40, + "outside_frame_points": 2, + "visible_outside_frame": 0, + "uv_compared": 40, + "uv_median_px": 0.0355, + "uv_max_px": 0.0651, + "uv_within_1px": 40, + "uv_within_tolerance": 40, + "outside_uv_max_px": 0.0323, + "outside_uv_max_relative": 0.000106 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0394, + "uv_max_px": 0.0658, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.3098, + "outside_uv_max_relative": 0.000903 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 22, + "outside_frame_points": 20, + "visible_outside_frame": 0, + "uv_compared": 22, + "uv_median_px": 0.0404, + "uv_max_px": 0.0542, + "uv_within_1px": 22, + "uv_within_tolerance": 22, + "outside_uv_max_px": 0.0818, + "outside_uv_max_relative": 0.000281 + }, + "474": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 39, + "outside_frame_points": 3, + "visible_outside_frame": 0, + "uv_compared": 39, + "uv_median_px": 0.0429, + "uv_max_px": 0.118, + "uv_within_1px": 39, + "uv_within_tolerance": 39, + "outside_uv_max_px": 0.0508, + "outside_uv_max_relative": 0.000156 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 34, + "outside_frame_points": 8, + "visible_outside_frame": 0, + "uv_compared": 34, + "uv_median_px": 0.0351, + "uv_max_px": 0.0671, + "uv_within_1px": 34, + "uv_within_tolerance": 34, + "outside_uv_max_px": 0.0758, + "outside_uv_max_relative": 0.000214 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.html b/RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..3371a7bb808f94bed890b61f67ec9976eb75b904 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.html @@ -0,0 +1,1272 @@ +evaluation_00002560_camera

evaluation_00002560_camera

直接读取 v1.1 bundle(evaluation_00002560 的 exo 视图,split=test,共 168 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 168 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)4718 个点:中位偏离 0.0386 px、最大 0.0988 px;168/168 帧的画内点全部在 1 px 以内。画外 2282 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 2255 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 21.5986 px(该点坐标量级 8.44e+04 px,相对 0.00026);相对偏差最大 0.00594(该点绝对偏差仅 0.0447 px、离原点 7.525 px,比值大只因分母小)。另有 55 个关节深度 ≤0(在相机平面上或之后)、1 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 4718/7056 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 160 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 0 个。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 168

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 2419 px / 右手蓝 978 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0358 px、最大 0.059 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.545–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "2560",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2560",
+      "annotation_index": 2560,
+      "member": "RHD_published_v2/evaluation/color/02560.png"
+    },
+    "sample_id": "RHD/evaluation/02560"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        168,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 168,
+      "valid_total": 168,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        168,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        168,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0358,
+    "uv_max_px": 0.059,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 42 / 168

原生 RGB(MKV 解出的第 42 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 3786 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0384 px、最大 0.0699 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000354
z 深度(float32 位串,逐图拉伸;显示范围 0.387–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 42,
+  "source": {
+    "frame_index": 42,
+    "source_frame_id": "2602",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2602",
+      "annotation_index": 2602,
+      "member": "RHD_published_v2/evaluation/color/02602.png"
+    },
+    "sample_id": "RHD/evaluation/02602"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        168,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 168,
+      "valid_total": 168,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        168,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        168,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0384,
+    "uv_max_px": 0.0699,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.162,
+    "outside_uv_max_relative": 0.000354
+  }
+}

帧 46 / 168

原生 RGB(MKV 解出的第 46 帧,未重编码)
分割区域(左手红 2021 px / 右手蓝 716 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 19 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 19 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 40 点):中位偏离 0.0439 px、最大 0.0988 px,≤1 px 的 40 点;画外 2 点按自身量级的最大相对偏离 9.83e-05
z 深度(float32 位串,逐图拉伸;显示范围 0.643–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 46,
+  "source": {
+    "frame_index": 46,
+    "source_frame_id": "2606",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2606",
+      "annotation_index": 2606,
+      "member": "RHD_published_v2/evaluation/color/02606.png"
+    },
+    "sample_id": "RHD/evaluation/02606"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        168,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 168,
+      "valid_total": 168,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        168,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        168,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 40,
+    "outside_frame_points": 2,
+    "visible_outside_frame": 0,
+    "uv_compared": 40,
+    "uv_median_px": 0.0439,
+    "uv_max_px": 0.0988,
+    "uv_within_1px": 40,
+    "uv_within_tolerance": 40,
+    "outside_uv_max_px": 0.0316,
+    "outside_uv_max_relative": 9.83e-05
+  }
+}

帧 84 / 168

原生 RGB(MKV 解出的第 84 帧,未重编码)
分割区域(左手红 1992 px / 右手蓝 2352 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 14 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 14 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 35 点):中位偏离 0.0405 px、最大 0.0746 px,≤1 px 的 35 点;画外 7 点按自身量级的最大相对偏离 0.000261
z 深度(float32 位串,逐图拉伸;显示范围 0.618–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 84,
+  "source": {
+    "frame_index": 84,
+    "source_frame_id": "2644",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2644",
+      "annotation_index": 2644,
+      "member": "RHD_published_v2/evaluation/color/02644.png"
+    },
+    "sample_id": "RHD/evaluation/02644"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        168,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 168,
+      "valid_total": 168,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        168,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        168,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 35,
+    "outside_frame_points": 7,
+    "visible_outside_frame": 0,
+    "uv_compared": 35,
+    "uv_median_px": 0.0405,
+    "uv_max_px": 0.0746,
+    "uv_within_1px": 35,
+    "uv_within_tolerance": 35,
+    "outside_uv_max_px": 0.0877,
+    "outside_uv_max_relative": 0.000261
+  }
+}

帧 126 / 168

原生 RGB(MKV 解出的第 126 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 3480 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0387 px、最大 0.0693 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000226
z 深度(float32 位串,逐图拉伸;显示范围 0.527–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 126,
+  "source": {
+    "frame_index": 126,
+    "source_frame_id": "2686",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2686",
+      "annotation_index": 2686,
+      "member": "RHD_published_v2/evaluation/color/02686.png"
+    },
+    "sample_id": "RHD/evaluation/02686"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        168,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 168,
+      "valid_total": 168,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        168,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        168,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0387,
+    "uv_max_px": 0.0693,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0846,
+    "outside_uv_max_relative": 0.000226
+  }
+}

帧 167 / 168

原生 RGB(MKV 解出的第 167 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 2678 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0286 px、最大 0.0598 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000282
z 深度(float32 位串,逐图拉伸;显示范围 0.403–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 167,
+  "source": {
+    "frame_index": 167,
+    "source_frame_id": "2727",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+      "source_frame_id": "2727",
+      "annotation_index": 2727,
+      "member": "RHD_published_v2/evaluation/color/02727.png"
+    },
+    "sample_id": "RHD/evaluation/02727"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        168,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 168,
+      "valid_total": 168,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        168,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        168,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0286,
+    "uv_max_px": 0.0598,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.2054,
+    "outside_uv_max_relative": 0.000282
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "evaluation_00002560",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 168,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle",
+        "member_pattern": "RHD_published_v2/evaluation/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/evaluation/anno_evaluation.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "test",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/evaluation"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "evaluation_00002560/camera",
+  "sequence_id": "evaluation_00002560",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "test",
+  "num_frames": 168,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        168,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 168,
+      "valid_total": 168,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        168,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        168,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        168,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 7056,
+      "valid_total": 7056,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    42,
+    46,
+    84,
+    126,
+    167
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 168,
+      "points_scanned": 7056,
+      "behind_plane_points": 55,
+      "near_plane_points": 1,
+      "comparable_points": 7000,
+      "in_frame_points": 4718,
+      "outside_frame_points": 2282,
+      "median_px": 0.0386,
+      "in_frame_max_px": 0.0988,
+      "frames_with_in_frame_points": 168,
+      "frames_all_in_frame_points_within_1px": 168,
+      "outside_frame_within_1px": 2255,
+      "outside_frame_max_px": 21.5986,
+      "outside_frame_max_px_uv_scale": 84390.0,
+      "outside_frame_max_relative": 0.00594,
+      "outside_frame_max_relative_px": 0.0447,
+      "outside_frame_max_relative_uv_scale": 7.525,
+      "worst_frame": 46,
+      "worst_frame_in_frame_max_px": 0.0988,
+      "visibility_true": 4558,
+      "visible_outside_frame": 0,
+      "visible_outside_frame_max_px": null,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 160,
+      "plane_threshold_m": 0.001
+    },
+    "points": 252,
+    "inside": 180,
+    "off_image": 72,
+    "uv_compared": 180,
+    "uv_within_1px": 180,
+    "uv_within_tolerance": 180,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0358,
+        "uv_max_px": 0.059,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "42": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0384,
+        "uv_max_px": 0.0699,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.162,
+        "outside_uv_max_relative": 0.000354
+      },
+      "46": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 40,
+        "outside_frame_points": 2,
+        "visible_outside_frame": 0,
+        "uv_compared": 40,
+        "uv_median_px": 0.0439,
+        "uv_max_px": 0.0988,
+        "uv_within_1px": 40,
+        "uv_within_tolerance": 40,
+        "outside_uv_max_px": 0.0316,
+        "outside_uv_max_relative": 9.83e-05
+      },
+      "84": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 35,
+        "outside_frame_points": 7,
+        "visible_outside_frame": 0,
+        "uv_compared": 35,
+        "uv_median_px": 0.0405,
+        "uv_max_px": 0.0746,
+        "uv_within_1px": 35,
+        "uv_within_tolerance": 35,
+        "outside_uv_max_px": 0.0877,
+        "outside_uv_max_relative": 0.000261
+      },
+      "126": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0387,
+        "uv_max_px": 0.0693,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0846,
+        "outside_uv_max_relative": 0.000226
+      },
+      "167": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0286,
+        "uv_max_px": 0.0598,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.2054,
+        "outside_uv_max_relative": 0.000282
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.report.json b/RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..dc84983d0a998c9f83f3fb11cbd6e122f9528740 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/evaluation_00002560_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "evaluation_00002560/camera", + "sequence_id": "evaluation_00002560", + "camera_id": "camera", + "view_type": "exo", + "split": "test", + "num_frames": 168, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 168, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 168, + "valid_total": 168, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 168, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 7056, + "valid_total": 7056, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 168, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 7056, + "valid_total": 7056, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 168, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 7056, + "valid_total": 7056, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 168, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 7056, + "valid_total": 7056, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 42, + 46, + 84, + 126, + 167 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 168, + "points_scanned": 7056, + "behind_plane_points": 55, + "near_plane_points": 1, + "comparable_points": 7000, + "in_frame_points": 4718, + "outside_frame_points": 2282, + "median_px": 0.0386, + "in_frame_max_px": 0.0988, + "frames_with_in_frame_points": 168, + "frames_all_in_frame_points_within_1px": 168, + "outside_frame_within_1px": 2255, + "outside_frame_max_px": 21.5986, + "outside_frame_max_px_uv_scale": 84390.0, + "outside_frame_max_relative": 0.00594, + "outside_frame_max_relative_px": 0.0447, + "outside_frame_max_relative_uv_scale": 7.525, + "worst_frame": 46, + "worst_frame_in_frame_max_px": 0.0988, + "visibility_true": 4558, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 160, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 180, + "off_image": 72, + "uv_compared": 180, + "uv_within_1px": 180, + "uv_within_tolerance": 180, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0358, + "uv_max_px": 0.059, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "42": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0384, + "uv_max_px": 0.0699, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.162, + "outside_uv_max_relative": 0.000354 + }, + "46": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 40, + "outside_frame_points": 2, + "visible_outside_frame": 0, + "uv_compared": 40, + "uv_median_px": 0.0439, + "uv_max_px": 0.0988, + "uv_within_1px": 40, + "uv_within_tolerance": 40, + "outside_uv_max_px": 0.0316, + "outside_uv_max_relative": 9.83e-05 + }, + "84": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 35, + "outside_frame_points": 7, + "visible_outside_frame": 0, + "uv_compared": 35, + "uv_median_px": 0.0405, + "uv_max_px": 0.0746, + "uv_within_1px": 35, + "uv_within_tolerance": 35, + "outside_uv_max_px": 0.0877, + "outside_uv_max_relative": 0.000261 + }, + "126": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0387, + "uv_max_px": 0.0693, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0846, + "outside_uv_max_relative": 0.000226 + }, + "167": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0286, + "uv_max_px": 0.0598, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.2054, + "outside_uv_max_relative": 0.000282 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/index.html b/RHD/shared-v1.1/doc/validation/index.html new file mode 100644 index 0000000000000000000000000000000000000000..38a4a1a6ed16c5bc90ca7a4c5c42c4312a50b2d5 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/index.html @@ -0,0 +1 @@ +RHD shared-v1.1 review

RHD shared-v1.1 全量后抽样人工复查

数值按字节一致(CONTRACT §6);媒体不重新编码,与 v1.0 共享 inode。抽样规则与种子见 V1_1_VALIDATION.json,本页所列视图即全部入选视图:12 个视图 / 12 段(评估 split 全 6 片 + 训练 split 抽 6 片)。全量读取器 sweep 的 87/87 结果见 read_sequence_sweep.json,逐字段字节验收见 validate_report.json 与发布树外的 tmp/rhd-tools/acceptance.json。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

每页只解码该视图抽样的帧;抽样帧之外的帧不在页面里。但 xyz↔uv 投影比对扫的是每个入选视图的全部帧(纯张量运算,不解码像素),全量结果见 V1_1_VALIDATION.json 的 projection_qc。表里的「画内」是发布的 uv 落在 320×320 内的关节数(RHD 每图标注双手,通常只有一只在画内,故画外关节占多数,属正常形态);「画内最坏点」只统计画内点的最大像素偏差。画外点的 uv 是原始投影、可以任意大,像素阈值对它没有意义,故按其自身量级核验,且两个极值各自带上它自己的坐标量级(见 V1_1_VALIDATION.json 的 outside_frame_max_px_uv_scale 与 outside_frame_max_relative_uv_scale)。深度 ≤0 或 <1 mm 的关节不参与像素比较,只计数。v1.0 的 24 张抽查页见 ../history-v1.0/validation/。

视图split帧数本页抽样帧画内 / 全部关节画内偏差中位画内最坏点画内点全部≤1px 的帧画外点绝对偏差≤1px标为可见却在画外
evaluation_00000000/cameratest512614773 / 215040.0386 px0.1246 px512 / 5126505 / 65780
evaluation_00000512/cameratest512615291 / 215040.0385 px0.1171 px512 / 5125983 / 60551
evaluation_00001024/cameratest512615642 / 215040.0382 px0.1224 px512 / 5125458 / 55270
evaluation_00001536/cameratest512615482 / 215040.0387 px0.1266 px512 / 5125853 / 59151
evaluation_00002048/cameratest512615121 / 215040.0384 px0.118 px512 / 5126213 / 62662
evaluation_00002560/cameratest16864718 / 70560.0386 px0.0988 px168 / 1682255 / 22820
training_00009728/cameratrain512615868 / 215040.0388 px0.1329 px512 / 5125074 / 51301
training_00011264/cameratrain512615788 / 215040.0386 px0.137 px512 / 5124989 / 51193
training_00031232/cameratrain512616177 / 215040.0389 px0.144 px512 / 5124364 / 44430
training_00035328/cameratrain512615585 / 215040.039 px0.1498 px512 / 5125171 / 52611
training_00038400/cameratrain512616269 / 215040.0389 px0.13 px512 / 5124568 / 47132
training_00040960/cameratrain29869242 / 125160.0389 px0.1248 px298 / 2982855 / 28980
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/read_sequence_sweep.json b/RHD/shared-v1.1/doc/validation/read_sequence_sweep.json new file mode 100644 index 0000000000000000000000000000000000000000..dd320a5e1a23926a086d433e5446dfc4995aa743 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/read_sequence_sweep.json @@ -0,0 +1,11494 @@ +{ + "release": "shared-v1.1", + "shards": 87, + "shards_accepted": 87, + "failed": [], + "records": [ + { + "sequence": "evaluation_00000000", + "views": [ + { + "view": "evaluation_00000000/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 38545843, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37077926, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 899550, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "evaluation_00000000/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "evaluation_00000512", + "views": [ + { + "view": "evaluation_00000512/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 38506849, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 36297194, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 905139, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "evaluation_00000512/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "evaluation_00001024", + "views": [ + { + "view": "evaluation_00001024/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 38039183, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37289001, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 915717, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "evaluation_00001024/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "evaluation_00001536", + "views": [ + { + "view": "evaluation_00001536/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 39051914, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37147235, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 914651, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "evaluation_00001536/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "evaluation_00002048", + "views": [ + { + "view": "evaluation_00002048/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 38788408, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37070957, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 907767, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "evaluation_00002048/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "evaluation_00002560", + "views": [ + { + "view": "evaluation_00002560/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 168, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 168, + 3, + 3 + ], + "T": 168, + "valid_true": 168, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 168, + 2, + 21, + 3 + ], + "T": 168, + "valid_true": 7056, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 168, + 2, + 21 + ], + "T": 168, + "valid_true": 7056, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 168, + 2, + 21, + 2 + ], + "T": 168, + "valid_true": 7056, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 168, + 2, + 21 + ], + "T": 168, + "valid_true": 7056, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 12551223, + "frames": 168, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 168 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 12159452, + "frames": 168, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 168 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 295969, + "frames": 168, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 168 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "evaluation_00002560/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00000000", + "views": [ + { + "view": "training_00000000/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37421475, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37756428, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 928096, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00000000/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00000512", + "views": [ + { + "view": "training_00000512/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36906197, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38867958, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 935481, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00000512/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00001024", + "views": [ + { + "view": "training_00001024/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37032739, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37809889, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 924551, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00001024/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00001536", + "views": [ + { + "view": "training_00001536/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36754159, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38747639, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 938068, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00001536/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00002048", + "views": [ + { + "view": "training_00002048/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36932186, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37592513, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930367, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00002048/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00002560", + "views": [ + { + "view": "training_00002560/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36612599, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37239169, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 928156, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00002560/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00003072", + "views": [ + { + "view": "training_00003072/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36361891, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39743306, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931646, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00003072/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00003584", + "views": [ + { + "view": "training_00003584/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37041243, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38295324, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 933178, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00003584/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00004096", + "views": [ + { + "view": "training_00004096/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36889055, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38604197, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 939319, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00004096/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00004608", + "views": [ + { + "view": "training_00004608/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37093591, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38305490, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 925874, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00004608/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00005120", + "views": [ + { + "view": "training_00005120/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37066012, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37858517, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 925667, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00005120/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00005632", + "views": [ + { + "view": "training_00005632/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36597642, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38488787, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 926957, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00005632/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00006144", + "views": [ + { + "view": "training_00006144/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36146543, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38694142, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 941075, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00006144/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00006656", + "views": [ + { + "view": "training_00006656/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37031392, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37871222, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 935442, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00006656/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00007168", + "views": [ + { + "view": "training_00007168/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37708766, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38133808, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 932041, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00007168/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00007680", + "views": [ + { + "view": "training_00007680/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37082495, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38217993, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931787, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00007680/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00008192", + "views": [ + { + "view": "training_00008192/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37182415, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39148867, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 935570, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00008192/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00008704", + "views": [ + { + "view": "training_00008704/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36912320, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38309423, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 934273, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00008704/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00009216", + "views": [ + { + "view": "training_00009216/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37749838, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37584104, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 928362, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00009216/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00009728", + "views": [ + { + "view": "training_00009728/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36671168, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37536864, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931677, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00009728/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00010240", + "views": [ + { + "view": "training_00010240/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36105844, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37464778, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 928329, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00010240/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00010752", + "views": [ + { + "view": "training_00010752/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36769324, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38402148, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931303, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00010752/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00011264", + "views": [ + { + "view": "training_00011264/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36518062, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38302787, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930952, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00011264/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00011776", + "views": [ + { + "view": "training_00011776/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36640507, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37722710, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 934958, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00011776/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00012288", + "views": [ + { + "view": "training_00012288/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37115628, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39258236, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 925571, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00012288/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00012800", + "views": [ + { + "view": "training_00012800/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37398093, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38239074, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931971, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00012800/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00013312", + "views": [ + { + "view": "training_00013312/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36847952, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38240720, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 927090, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00013312/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00013824", + "views": [ + { + "view": "training_00013824/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37129239, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38348242, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931561, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00013824/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00014336", + "views": [ + { + "view": "training_00014336/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37405503, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37967138, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 936675, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00014336/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00014848", + "views": [ + { + "view": "training_00014848/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37013610, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38518148, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 927668, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00014848/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00015360", + "views": [ + { + "view": "training_00015360/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36651911, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37780492, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930464, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00015360/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00015872", + "views": [ + { + "view": "training_00015872/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36826179, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37849720, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 925827, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00015872/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00016384", + "views": [ + { + "view": "training_00016384/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36395062, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37465811, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 929119, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00016384/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00016896", + "views": [ + { + "view": "training_00016896/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37247901, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38569381, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 929662, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00016896/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00017408", + "views": [ + { + "view": "training_00017408/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36337215, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38382602, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930401, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00017408/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00017920", + "views": [ + { + "view": "training_00017920/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37019525, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38885917, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 933471, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00017920/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00018432", + "views": [ + { + "view": "training_00018432/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36784027, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38457606, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 932117, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00018432/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00018944", + "views": [ + { + "view": "training_00018944/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36672014, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38535444, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 929804, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00018944/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00019456", + "views": [ + { + "view": "training_00019456/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36274086, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38701476, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931226, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00019456/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00019968", + "views": [ + { + "view": "training_00019968/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36801998, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37584549, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 932287, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00019968/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00020480", + "views": [ + { + "view": "training_00020480/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37115214, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39249315, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 933706, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00020480/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00020992", + "views": [ + { + "view": "training_00020992/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36496402, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38968085, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931287, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00020992/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00021504", + "views": [ + { + "view": "training_00021504/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37001449, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37742708, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 934162, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00021504/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00022016", + "views": [ + { + "view": "training_00022016/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37056387, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39092328, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 933731, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00022016/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00022528", + "views": [ + { + "view": "training_00022528/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37363933, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37475364, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 926485, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00022528/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00023040", + "views": [ + { + "view": "training_00023040/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36466523, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38985522, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930029, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00023040/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00023552", + "views": [ + { + "view": "training_00023552/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36947374, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37823943, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 923081, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00023552/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00024064", + "views": [ + { + "view": "training_00024064/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36494747, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37523037, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931895, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00024064/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00024576", + "views": [ + { + "view": "training_00024576/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36570297, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38520335, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 934774, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00024576/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00025088", + "views": [ + { + "view": "training_00025088/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36815887, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38987368, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 935445, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00025088/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00025600", + "views": [ + { + "view": "training_00025600/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36943222, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38065667, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 933832, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00025600/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00026112", + "views": [ + { + "view": "training_00026112/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37163194, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38310872, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931517, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00026112/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00026624", + "views": [ + { + "view": "training_00026624/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36849185, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39034139, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 922628, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00026624/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00027136", + "views": [ + { + "view": "training_00027136/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37233779, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39178503, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 935679, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00027136/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00027648", + "views": [ + { + "view": "training_00027648/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36700042, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38933509, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930539, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00027648/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00028160", + "views": [ + { + "view": "training_00028160/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37040429, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38610607, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931893, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00028160/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00028672", + "views": [ + { + "view": "training_00028672/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36673694, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38350286, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 928331, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00028672/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00029184", + "views": [ + { + "view": "training_00029184/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36319668, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39529772, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 939584, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00029184/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00029696", + "views": [ + { + "view": "training_00029696/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37493345, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38738137, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930185, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00029696/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00030208", + "views": [ + { + "view": "training_00030208/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36875194, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38086745, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 929957, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00030208/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00030720", + "views": [ + { + "view": "training_00030720/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36440977, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38844172, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 933537, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00030720/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00031232", + "views": [ + { + "view": "training_00031232/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37151159, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38243226, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 929302, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00031232/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00031744", + "views": [ + { + "view": "training_00031744/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36650287, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37994991, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930700, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00031744/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00032256", + "views": [ + { + "view": "training_00032256/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36389852, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38396467, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 923999, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00032256/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00032768", + "views": [ + { + "view": "training_00032768/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36866690, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38341813, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 930199, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00032768/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00033280", + "views": [ + { + "view": "training_00033280/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37859087, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37779422, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931120, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00033280/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00033792", + "views": [ + { + "view": "training_00033792/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37217233, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38537717, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 929047, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00033792/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00034304", + "views": [ + { + "view": "training_00034304/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36593870, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38391889, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931210, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00034304/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00034816", + "views": [ + { + "view": "training_00034816/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36154221, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 39044980, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 936588, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00034816/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00035328", + "views": [ + { + "view": "training_00035328/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36701408, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37343351, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 925078, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00035328/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00035840", + "views": [ + { + "view": "training_00035840/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36909563, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38215139, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 929490, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00035840/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00036352", + "views": [ + { + "view": "training_00036352/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36682015, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38909391, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 928766, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00036352/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00036864", + "views": [ + { + "view": "training_00036864/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36203193, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38956645, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931659, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00036864/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00037376", + "views": [ + { + "view": "training_00037376/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36743701, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38666848, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 937184, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00037376/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00037888", + "views": [ + { + "view": "training_00037888/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36419638, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38394748, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 937179, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00037888/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00038400", + "views": [ + { + "view": "training_00038400/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36937850, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38041224, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 932189, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00038400/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00038912", + "views": [ + { + "view": "training_00038912/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37164039, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37345493, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 927948, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00038912/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00039424", + "views": [ + { + "view": "training_00039424/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36458532, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 37910127, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 925281, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00039424/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00039936", + "views": [ + { + "view": "training_00039936/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 36096250, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38139711, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 932720, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00039936/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00040448", + "views": [ + { + "view": "training_00040448/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 512, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 512, + 3, + 3 + ], + "T": 512, + "valid_true": 512, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 3 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 512, + 2, + 21, + 2 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 512, + 2, + 21 + ], + "T": 512, + "valid_true": 21504, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 37857976, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 38184963, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 512 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 931510, + "frames": 512, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 512 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00040448/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + }, + { + "sequence": "training_00040960", + "views": [ + { + "view": "training_00040960/camera", + "camera_id": "camera", + "view_type": "exo", + "num_frames": 298, + "fields": [ + { + "component": "intrinsic", + "entry": "camera/camera.pt:intrinsic/data", + "dtype": "torch.float32", + "shape": [ + 298, + 3, + 3 + ], + "T": 298, + "valid_true": 298, + "valid_false": 0 + }, + { + "component": "keypoints_xyz", + "entry": "annotation/keypoints/keypoints.pt:xyz/data", + "dtype": "torch.float32", + "shape": [ + 298, + 2, + 21, + 3 + ], + "T": 298, + "valid_true": 12516, + "valid_false": 0 + }, + { + "component": "keypoints_xyz.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 298, + 2, + 21 + ], + "T": 298, + "valid_true": 12516, + "valid_false": 0 + }, + { + "component": "keypoints_uv", + "entry": "annotation/keypoints/keypoints.pt:uv/data", + "dtype": "torch.float32", + "shape": [ + 298, + 2, + 21, + 2 + ], + "T": 298, + "valid_true": 12516, + "valid_false": 0 + }, + { + "component": "keypoints_uv.visibility", + "entry": "annotation/keypoints/keypoints.pt:visibility/data", + "dtype": "torch.bool", + "shape": [ + 298, + 2, + 21 + ], + "T": 298, + "valid_true": 12516, + "valid_false": 0 + } + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "bytes": 21557993, + "frames": 298, + "declared_T_axis": 0, + "valid": { + "ref": "observation/rgb_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 298 + ] + } + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "bytes": 22178231, + "frames": 298, + "declared_T_axis": 0, + "valid": { + "ref": "observation/depth_valid.mkv", + "kind": "media", + "frames": 298 + } + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "bytes": 540058, + "frames": 298, + "declared_T_axis": 0, + "valid": { + "ref": "annotation/segment/mask_valid.pt", + "kind": "pt", + "dtype": "torch.bool", + "shape": [ + 298 + ] + } + } + ], + "absent": [], + "problems": [] + } + ], + "shard_problems": [], + "view_problems": { + "training_00040960/camera": [] + }, + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" + } + ], + "accepted": true, + "scope": "repackaging equivalent by reading the release; not visual acceptance" +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00009728_camera.html b/RHD/shared-v1.1/doc/validation/training_00009728_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..102978f768491353e654bebc4529a637d326ac63 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00009728_camera.html @@ -0,0 +1,1272 @@ +training_00009728_camera

training_00009728_camera

直接读取 v1.1 bundle(training_00009728 的 exo 视图,split=train,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)15868 个点:中位偏离 0.0388 px、最大 0.1329 px;512/512 帧的画内点全部在 1 px 以内。画外 5130 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 5074 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 12.1337 px(该点坐标量级 1.29e+04 px,相对 0.00094);相对偏差最大 0.00621(该点绝对偏差仅 0.0443 px、离原点 7.132 px,比值大只因分母小)。另有 504 个关节深度 ≤0(在相机平面上或之后)、2 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 15868/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 399 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 1 个(其偏差 ≤ 0.034 px,即数值上完全一致,只是 uv 恰好落在边界上)。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 9508 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 1 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 1 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 22 点):中位偏离 0.0371 px、最大 0.0768 px,≤1 px 的 22 点;画外 20 点按自身量级的最大相对偏离 0.000364
z 深度(float32 位串,逐图拉伸;显示范围 0.527–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "9728",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "9728",
+      "annotation_index": 9728,
+      "member": "RHD_published_v2/training/color/09728.png"
+    },
+    "sample_id": "RHD/training/09728"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 22,
+    "outside_frame_points": 20,
+    "visible_outside_frame": 0,
+    "uv_compared": 22,
+    "uv_median_px": 0.0371,
+    "uv_max_px": 0.0768,
+    "uv_within_1px": 22,
+    "uv_within_tolerance": 22,
+    "outside_uv_max_px": 0.1307,
+    "outside_uv_max_relative": 0.000364
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 1969 px / 右手蓝 2455 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0438 px、最大 0.0685 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.543–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "9856",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "9856",
+      "annotation_index": 9856,
+      "member": "RHD_published_v2/training/color/09856.png"
+    },
+    "sample_id": "RHD/training/09856"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0438,
+    "uv_max_px": 0.0685,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 133 / 512

原生 RGB(MKV 解出的第 133 帧,未重编码)
分割区域(左手红 3952 px / 右手蓝 827 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 14 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 14 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 35 点):中位偏离 0.0469 px、最大 0.1329 px,≤1 px 的 35 点;画外 7 点按自身量级的最大相对偏离 0.000228
z 深度(float32 位串,逐图拉伸;显示范围 0.429–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 133,
+  "source": {
+    "frame_index": 133,
+    "source_frame_id": "9861",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "9861",
+      "annotation_index": 9861,
+      "member": "RHD_published_v2/training/color/09861.png"
+    },
+    "sample_id": "RHD/training/09861"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 35,
+    "outside_frame_points": 7,
+    "visible_outside_frame": 0,
+    "uv_compared": 35,
+    "uv_median_px": 0.0469,
+    "uv_max_px": 0.1329,
+    "uv_within_1px": 35,
+    "uv_within_tolerance": 35,
+    "outside_uv_max_px": 0.0729,
+    "outside_uv_max_relative": 0.000228
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 3421 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0423 px、最大 0.0645 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000216
z 深度(float32 位串,逐图拉伸;显示范围 0.402–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "9984",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "9984",
+      "annotation_index": 9984,
+      "member": "RHD_published_v2/training/color/09984.png"
+    },
+    "sample_id": "RHD/training/09984"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0423,
+    "uv_max_px": 0.0645,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.082,
+    "outside_uv_max_relative": 0.000216
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 1877 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0377 px、最大 0.0549 px,≤1 px 的 21 点
z 深度(float32 位串,逐图拉伸;显示范围 0.575–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "10112",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "10112",
+      "annotation_index": 10112,
+      "member": "RHD_published_v2/training/color/10112.png"
+    },
+    "sample_id": "RHD/training/10112"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 21,
+    "behind_plane_points": 21,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0377,
+    "uv_max_px": 0.0549,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 1047 px / 右手蓝 1425 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0356 px、最大 0.0672 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.567–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "10239",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "10239",
+      "annotation_index": 10239,
+      "member": "RHD_published_v2/training/color/10239.png"
+    },
+    "sample_id": "RHD/training/10239"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0356,
+    "uv_max_px": 0.0672,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "training_00009728",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle",
+        "member_pattern": "RHD_published_v2/training/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "train",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/training"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "training_00009728/camera",
+  "sequence_id": "training_00009728",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "train",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    128,
+    133,
+    256,
+    384,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 504,
+      "near_plane_points": 2,
+      "comparable_points": 20998,
+      "in_frame_points": 15868,
+      "outside_frame_points": 5130,
+      "median_px": 0.0388,
+      "in_frame_max_px": 0.1329,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 5074,
+      "outside_frame_max_px": 12.1337,
+      "outside_frame_max_px_uv_scale": 12900.0,
+      "outside_frame_max_relative": 0.00621,
+      "outside_frame_max_relative_px": 0.0443,
+      "outside_frame_max_relative_uv_scale": 7.132,
+      "worst_frame": 133,
+      "worst_frame_in_frame_max_px": 0.1329,
+      "visibility_true": 15470,
+      "visible_outside_frame": 1,
+      "visible_outside_frame_max_px": 0.034,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 399,
+      "plane_threshold_m": 0.001
+    },
+    "points": 231,
+    "inside": 183,
+    "off_image": 48,
+    "uv_compared": 183,
+    "uv_within_1px": 183,
+    "uv_within_tolerance": 183,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 22,
+        "outside_frame_points": 20,
+        "visible_outside_frame": 0,
+        "uv_compared": 22,
+        "uv_median_px": 0.0371,
+        "uv_max_px": 0.0768,
+        "uv_within_1px": 22,
+        "uv_within_tolerance": 22,
+        "outside_uv_max_px": 0.1307,
+        "outside_uv_max_relative": 0.000364
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0438,
+        "uv_max_px": 0.0685,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "133": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 35,
+        "outside_frame_points": 7,
+        "visible_outside_frame": 0,
+        "uv_compared": 35,
+        "uv_median_px": 0.0469,
+        "uv_max_px": 0.1329,
+        "uv_within_1px": 35,
+        "uv_within_tolerance": 35,
+        "outside_uv_max_px": 0.0729,
+        "outside_uv_max_relative": 0.000228
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0423,
+        "uv_max_px": 0.0645,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.082,
+        "outside_uv_max_relative": 0.000216
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 21,
+        "behind_plane_points": 21,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0377,
+        "uv_max_px": 0.0549,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0356,
+        "uv_max_px": 0.0672,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00009728_camera.report.json b/RHD/shared-v1.1/doc/validation/training_00009728_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..64faddd9f3ba42cb1dd505413e3ab86668aa8112 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00009728_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "training_00009728/camera", + "sequence_id": "training_00009728", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 133, + 256, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 504, + "near_plane_points": 2, + "comparable_points": 20998, + "in_frame_points": 15868, + "outside_frame_points": 5130, + "median_px": 0.0388, + "in_frame_max_px": 0.1329, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5074, + "outside_frame_max_px": 12.1337, + "outside_frame_max_px_uv_scale": 12900.0, + "outside_frame_max_relative": 0.00621, + "outside_frame_max_relative_px": 0.0443, + "outside_frame_max_relative_uv_scale": 7.132, + "worst_frame": 133, + "worst_frame_in_frame_max_px": 0.1329, + "visibility_true": 15470, + "visible_outside_frame": 1, + "visible_outside_frame_max_px": 0.034, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 399, + "plane_threshold_m": 0.001 + }, + "points": 231, + "inside": 183, + "off_image": 48, + "uv_compared": 183, + "uv_within_1px": 183, + "uv_within_tolerance": 183, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 22, + "outside_frame_points": 20, + "visible_outside_frame": 0, + "uv_compared": 22, + "uv_median_px": 0.0371, + "uv_max_px": 0.0768, + "uv_within_1px": 22, + "uv_within_tolerance": 22, + "outside_uv_max_px": 0.1307, + "outside_uv_max_relative": 0.000364 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0438, + "uv_max_px": 0.0685, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "133": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 35, + "outside_frame_points": 7, + "visible_outside_frame": 0, + "uv_compared": 35, + "uv_median_px": 0.0469, + "uv_max_px": 0.1329, + "uv_within_1px": 35, + "uv_within_tolerance": 35, + "outside_uv_max_px": 0.0729, + "outside_uv_max_relative": 0.000228 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0423, + "uv_max_px": 0.0645, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.082, + "outside_uv_max_relative": 0.000216 + }, + "384": { + "annotated": true, + "valid_points": 21, + "behind_plane_points": 21, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0377, + "uv_max_px": 0.0549, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0356, + "uv_max_px": 0.0672, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00011264_camera.html b/RHD/shared-v1.1/doc/validation/training_00011264_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..3abb3af9b2efc4a082c5ac39cbef0d6fcd731417 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00011264_camera.html @@ -0,0 +1,1272 @@ +training_00011264_camera

training_00011264_camera

直接读取 v1.1 bundle(training_00011264 的 exo 视图,split=train,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)15788 个点:中位偏离 0.0386 px、最大 0.137 px;512/512 帧的画内点全部在 1 px 以内。画外 5119 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 4989 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 71.0867 px(该点坐标量级 1.34e+05 px,相对 0.00053);相对偏差最大 0.00666(该点绝对偏差仅 0.0441 px、离原点 6.616 px,比值大只因分母小)。另有 593 个关节深度 ≤0(在相机平面上或之后)、4 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 15788/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 496 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 3 个(其偏差 ≤ 0.1051 px,即数值上完全一致,只是 uv 恰好落在边界上)。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 857 px / 右手蓝 3340 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0445 px、最大 0.0695 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.527–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "11264",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "11264",
+      "annotation_index": 11264,
+      "member": "RHD_published_v2/training/color/11264.png"
+    },
+    "sample_id": "RHD/training/11264"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0445,
+    "uv_max_px": 0.0695,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 10958 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0404 px、最大 0.0541 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000363
z 深度(float32 位串,逐图拉伸;显示范围 0.380–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "11392",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "11392",
+      "annotation_index": 11392,
+      "member": "RHD_published_v2/training/color/11392.png"
+    },
+    "sample_id": "RHD/training/11392"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0404,
+    "uv_max_px": 0.0541,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.2801,
+    "outside_uv_max_relative": 0.000363
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 3024 px / 右手蓝 1044 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 18 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 18 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 39 点):中位偏离 0.037 px、最大 0.0608 px,≤1 px 的 39 点;画外 3 点按自身量级的最大相对偏离 0.000449
z 深度(float32 位串,逐图拉伸;显示范围 0.529–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "11520",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "11520",
+      "annotation_index": 11520,
+      "member": "RHD_published_v2/training/color/11520.png"
+    },
+    "sample_id": "RHD/training/11520"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 39,
+    "outside_frame_points": 3,
+    "visible_outside_frame": 0,
+    "uv_compared": 39,
+    "uv_median_px": 0.037,
+    "uv_max_px": 0.0608,
+    "uv_within_1px": 39,
+    "uv_within_tolerance": 39,
+    "outside_uv_max_px": 0.0499,
+    "outside_uv_max_relative": 0.000449
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 4096 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0409 px、最大 0.0689 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000504
z 深度(float32 位串,逐图拉伸;显示范围 0.502–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "11648",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "11648",
+      "annotation_index": 11648,
+      "member": "RHD_published_v2/training/color/11648.png"
+    },
+    "sample_id": "RHD/training/11648"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0409,
+    "uv_max_px": 0.0689,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.1325,
+    "outside_uv_max_relative": 0.000504
+  }
+}

帧 453 / 512

原生 RGB(MKV 解出的第 453 帧,未重编码)
分割区域(左手红 3277 px / 右手蓝 676 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 19 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 19 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 40 点):中位偏离 0.0431 px、最大 0.137 px,≤1 px 的 40 点;画外 2 点按自身量级的最大相对偏离 0.00155
z 深度(float32 位串,逐图拉伸;显示范围 0.524–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 453,
+  "source": {
+    "frame_index": 453,
+    "source_frame_id": "11717",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "11717",
+      "annotation_index": 11717,
+      "member": "RHD_published_v2/training/color/11717.png"
+    },
+    "sample_id": "RHD/training/11717"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 40,
+    "outside_frame_points": 2,
+    "visible_outside_frame": 0,
+    "uv_compared": 40,
+    "uv_median_px": 0.0431,
+    "uv_max_px": 0.137,
+    "uv_within_1px": 40,
+    "uv_within_tolerance": 40,
+    "outside_uv_max_px": 0.0727,
+    "outside_uv_max_relative": 0.00155
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 3924 px / 右手蓝 530 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0334 px、最大 0.0571 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.449–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "11775",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "11775",
+      "annotation_index": 11775,
+      "member": "RHD_published_v2/training/color/11775.png"
+    },
+    "sample_id": "RHD/training/11775"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0334,
+    "uv_max_px": 0.0571,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "training_00011264",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle",
+        "member_pattern": "RHD_published_v2/training/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "train",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/training"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "training_00011264/camera",
+  "sequence_id": "training_00011264",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "train",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    128,
+    256,
+    384,
+    453,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 593,
+      "near_plane_points": 4,
+      "comparable_points": 20907,
+      "in_frame_points": 15788,
+      "outside_frame_points": 5119,
+      "median_px": 0.0386,
+      "in_frame_max_px": 0.137,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 4989,
+      "outside_frame_max_px": 71.0867,
+      "outside_frame_max_px_uv_scale": 133800.0,
+      "outside_frame_max_relative": 0.00666,
+      "outside_frame_max_relative_px": 0.0441,
+      "outside_frame_max_relative_uv_scale": 6.616,
+      "worst_frame": 453,
+      "worst_frame_in_frame_max_px": 0.137,
+      "visibility_true": 15295,
+      "visible_outside_frame": 3,
+      "visible_outside_frame_max_px": 0.1051,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 496,
+      "plane_threshold_m": 0.001
+    },
+    "points": 252,
+    "inside": 205,
+    "off_image": 47,
+    "uv_compared": 205,
+    "uv_within_1px": 205,
+    "uv_within_tolerance": 205,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0445,
+        "uv_max_px": 0.0695,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0404,
+        "uv_max_px": 0.0541,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.2801,
+        "outside_uv_max_relative": 0.000363
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 39,
+        "outside_frame_points": 3,
+        "visible_outside_frame": 0,
+        "uv_compared": 39,
+        "uv_median_px": 0.037,
+        "uv_max_px": 0.0608,
+        "uv_within_1px": 39,
+        "uv_within_tolerance": 39,
+        "outside_uv_max_px": 0.0499,
+        "outside_uv_max_relative": 0.000449
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0409,
+        "uv_max_px": 0.0689,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.1325,
+        "outside_uv_max_relative": 0.000504
+      },
+      "453": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 40,
+        "outside_frame_points": 2,
+        "visible_outside_frame": 0,
+        "uv_compared": 40,
+        "uv_median_px": 0.0431,
+        "uv_max_px": 0.137,
+        "uv_within_1px": 40,
+        "uv_within_tolerance": 40,
+        "outside_uv_max_px": 0.0727,
+        "outside_uv_max_relative": 0.00155
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0334,
+        "uv_max_px": 0.0571,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00011264_camera.report.json b/RHD/shared-v1.1/doc/validation/training_00011264_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..293af524b2fe338b99cd323c268656482f4cd24d --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00011264_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "training_00011264/camera", + "sequence_id": "training_00011264", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 453, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 593, + "near_plane_points": 4, + "comparable_points": 20907, + "in_frame_points": 15788, + "outside_frame_points": 5119, + "median_px": 0.0386, + "in_frame_max_px": 0.137, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 4989, + "outside_frame_max_px": 71.0867, + "outside_frame_max_px_uv_scale": 133800.0, + "outside_frame_max_relative": 0.00666, + "outside_frame_max_relative_px": 0.0441, + "outside_frame_max_relative_uv_scale": 6.616, + "worst_frame": 453, + "worst_frame_in_frame_max_px": 0.137, + "visibility_true": 15295, + "visible_outside_frame": 3, + "visible_outside_frame_max_px": 0.1051, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 496, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 205, + "off_image": 47, + "uv_compared": 205, + "uv_within_1px": 205, + "uv_within_tolerance": 205, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0445, + "uv_max_px": 0.0695, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0404, + "uv_max_px": 0.0541, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.2801, + "outside_uv_max_relative": 0.000363 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 39, + "outside_frame_points": 3, + "visible_outside_frame": 0, + "uv_compared": 39, + "uv_median_px": 0.037, + "uv_max_px": 0.0608, + "uv_within_1px": 39, + "uv_within_tolerance": 39, + "outside_uv_max_px": 0.0499, + "outside_uv_max_relative": 0.000449 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0409, + "uv_max_px": 0.0689, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1325, + "outside_uv_max_relative": 0.000504 + }, + "453": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 40, + "outside_frame_points": 2, + "visible_outside_frame": 0, + "uv_compared": 40, + "uv_median_px": 0.0431, + "uv_max_px": 0.137, + "uv_within_1px": 40, + "uv_within_tolerance": 40, + "outside_uv_max_px": 0.0727, + "outside_uv_max_relative": 0.00155 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0334, + "uv_max_px": 0.0571, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00031232_camera.html b/RHD/shared-v1.1/doc/validation/training_00031232_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..837e6d4d3a1ae1c997599a57c13ed7637ec211a7 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00031232_camera.html @@ -0,0 +1,1272 @@ +training_00031232_camera

training_00031232_camera

直接读取 v1.1 bundle(training_00031232 的 exo 视图,split=train,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)16177 个点:中位偏离 0.0389 px、最大 0.144 px;512/512 帧的画内点全部在 1 px 以内。画外 4443 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 4364 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 12.034 px(该点坐标量级 3.97e+04 px,相对 0.0003);相对偏差最大 0.00243(该点绝对偏差仅 0.0988 px、离原点 40.7 px,比值大只因分母小)。另有 884 个关节深度 ≤0(在相机平面上或之后)、0 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 16177/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 369 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 0 个。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 4565 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.035 px、最大 0.0555 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000425
z 深度(float32 位串,逐图拉伸;显示范围 0.469–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "31232",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "31232",
+      "annotation_index": 31232,
+      "member": "RHD_published_v2/training/color/31232.png"
+    },
+    "sample_id": "RHD/training/31232"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.035,
+    "uv_max_px": 0.0555,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.1964,
+    "outside_uv_max_relative": 0.000425
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 8545 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0399 px、最大 0.0737 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000399
z 深度(float32 位串,逐图拉伸;显示范围 0.370–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "31360",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "31360",
+      "annotation_index": 31360,
+      "member": "RHD_published_v2/training/color/31360.png"
+    },
+    "sample_id": "RHD/training/31360"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0399,
+    "uv_max_px": 0.0737,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.1724,
+    "outside_uv_max_relative": 0.000399
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 1409 px / 右手蓝 2680 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0371 px、最大 0.0651 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.468–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "31488",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "31488",
+      "annotation_index": 31488,
+      "member": "RHD_published_v2/training/color/31488.png"
+    },
+    "sample_id": "RHD/training/31488"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0371,
+    "uv_max_px": 0.0651,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 279 / 512

原生 RGB(MKV 解出的第 279 帧,未重编码)
分割区域(左手红 2193 px / 右手蓝 10914 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 16 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 16 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 37 点):中位偏离 0.044 px、最大 0.144 px,≤1 px 的 37 点;画外 5 点按自身量级的最大相对偏离 0.000307
z 深度(float32 位串,逐图拉伸;显示范围 0.381–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 279,
+  "source": {
+    "frame_index": 279,
+    "source_frame_id": "31511",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "31511",
+      "annotation_index": 31511,
+      "member": "RHD_published_v2/training/color/31511.png"
+    },
+    "sample_id": "RHD/training/31511"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 37,
+    "outside_frame_points": 5,
+    "visible_outside_frame": 0,
+    "uv_compared": 37,
+    "uv_median_px": 0.044,
+    "uv_max_px": 0.144,
+    "uv_within_1px": 37,
+    "uv_within_tolerance": 37,
+    "outside_uv_max_px": 0.0988,
+    "outside_uv_max_relative": 0.000307
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 2684 px / 右手蓝 1112 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0404 px、最大 0.0585 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.534–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "31616",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "31616",
+      "annotation_index": 31616,
+      "member": "RHD_published_v2/training/color/31616.png"
+    },
+    "sample_id": "RHD/training/31616"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0404,
+    "uv_max_px": 0.0585,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 2706 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.05 px、最大 0.0708 px,≤1 px 的 21 点
z 深度(float32 位串,逐图拉伸;显示范围 0.364–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "31743",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "31743",
+      "annotation_index": 31743,
+      "member": "RHD_published_v2/training/color/31743.png"
+    },
+    "sample_id": "RHD/training/31743"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 21,
+    "behind_plane_points": 21,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.05,
+    "uv_max_px": 0.0708,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "training_00031232",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle",
+        "member_pattern": "RHD_published_v2/training/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "train",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/training"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "training_00031232/camera",
+  "sequence_id": "training_00031232",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "train",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    128,
+    256,
+    279,
+    384,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 884,
+      "near_plane_points": 0,
+      "comparable_points": 20620,
+      "in_frame_points": 16177,
+      "outside_frame_points": 4443,
+      "median_px": 0.0389,
+      "in_frame_max_px": 0.144,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 4364,
+      "outside_frame_max_px": 12.034,
+      "outside_frame_max_px_uv_scale": 39660.0,
+      "outside_frame_max_relative": 0.00243,
+      "outside_frame_max_relative_px": 0.0988,
+      "outside_frame_max_relative_uv_scale": 40.7,
+      "worst_frame": 279,
+      "worst_frame_in_frame_max_px": 0.144,
+      "visibility_true": 15808,
+      "visible_outside_frame": 0,
+      "visible_outside_frame_max_px": null,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 369,
+      "plane_threshold_m": 0.001
+    },
+    "points": 231,
+    "inside": 184,
+    "off_image": 47,
+    "uv_compared": 184,
+    "uv_within_1px": 184,
+    "uv_within_tolerance": 184,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.035,
+        "uv_max_px": 0.0555,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.1964,
+        "outside_uv_max_relative": 0.000425
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0399,
+        "uv_max_px": 0.0737,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.1724,
+        "outside_uv_max_relative": 0.000399
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0371,
+        "uv_max_px": 0.0651,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "279": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 37,
+        "outside_frame_points": 5,
+        "visible_outside_frame": 0,
+        "uv_compared": 37,
+        "uv_median_px": 0.044,
+        "uv_max_px": 0.144,
+        "uv_within_1px": 37,
+        "uv_within_tolerance": 37,
+        "outside_uv_max_px": 0.0988,
+        "outside_uv_max_relative": 0.000307
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0404,
+        "uv_max_px": 0.0585,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 21,
+        "behind_plane_points": 21,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.05,
+        "uv_max_px": 0.0708,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00031232_camera.report.json b/RHD/shared-v1.1/doc/validation/training_00031232_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..2647b281a4b6cd9460ccf5c525e7553cbc3a88e0 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00031232_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "training_00031232/camera", + "sequence_id": "training_00031232", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 279, + 384, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 884, + "near_plane_points": 0, + "comparable_points": 20620, + "in_frame_points": 16177, + "outside_frame_points": 4443, + "median_px": 0.0389, + "in_frame_max_px": 0.144, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 4364, + "outside_frame_max_px": 12.034, + "outside_frame_max_px_uv_scale": 39660.0, + "outside_frame_max_relative": 0.00243, + "outside_frame_max_relative_px": 0.0988, + "outside_frame_max_relative_uv_scale": 40.7, + "worst_frame": 279, + "worst_frame_in_frame_max_px": 0.144, + "visibility_true": 15808, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 369, + "plane_threshold_m": 0.001 + }, + "points": 231, + "inside": 184, + "off_image": 47, + "uv_compared": 184, + "uv_within_1px": 184, + "uv_within_tolerance": 184, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.035, + "uv_max_px": 0.0555, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1964, + "outside_uv_max_relative": 0.000425 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0399, + "uv_max_px": 0.0737, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1724, + "outside_uv_max_relative": 0.000399 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0371, + "uv_max_px": 0.0651, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "279": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 37, + "outside_frame_points": 5, + "visible_outside_frame": 0, + "uv_compared": 37, + "uv_median_px": 0.044, + "uv_max_px": 0.144, + "uv_within_1px": 37, + "uv_within_tolerance": 37, + "outside_uv_max_px": 0.0988, + "outside_uv_max_relative": 0.000307 + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0404, + "uv_max_px": 0.0585, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "511": { + "annotated": true, + "valid_points": 21, + "behind_plane_points": 21, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.05, + "uv_max_px": 0.0708, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00035328_camera.html b/RHD/shared-v1.1/doc/validation/training_00035328_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..451110f09a44ddefec19d9b0a76db12156197a2f --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00035328_camera.html @@ -0,0 +1,1272 @@ +training_00035328_camera

training_00035328_camera

直接读取 v1.1 bundle(training_00035328 的 exo 视图,split=train,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)15585 个点:中位偏离 0.039 px、最大 0.1498 px;512/512 帧的画内点全部在 1 px 以内。画外 5261 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 5171 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 63.2308 px(该点坐标量级 2.52e+05 px,相对 0.00025);相对偏差最大 0.00417(该点绝对偏差仅 0.0269 px、离原点 6.445 px,比值大只因分母小)。另有 655 个关节深度 ≤0(在相机平面上或之后)、3 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 15585/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 411 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 1 个(其偏差 ≤ 0.0068 px,即数值上完全一致,只是 uv 恰好落在边界上)。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 3266 px / 右手蓝 1724 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0278 px、最大 0.0599 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.458–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "35328",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "35328",
+      "annotation_index": 35328,
+      "member": "RHD_published_v2/training/color/35328.png"
+    },
+    "sample_id": "RHD/training/35328"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0278,
+    "uv_max_px": 0.0599,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 4596 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0397 px、最大 0.0561 px,≤1 px 的 21 点
z 深度(float32 位串,逐图拉伸;显示范围 0.236–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "35456",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "35456",
+      "annotation_index": 35456,
+      "member": "RHD_published_v2/training/color/35456.png"
+    },
+    "sample_id": "RHD/training/35456"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 21,
+    "behind_plane_points": 21,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0397,
+    "uv_max_px": 0.0561,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 1466 px / 右手蓝 371 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0401 px、最大 0.1065 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.709–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "35584",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "35584",
+      "annotation_index": 35584,
+      "member": "RHD_published_v2/training/color/35584.png"
+    },
+    "sample_id": "RHD/training/35584"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0401,
+    "uv_max_px": 0.1065,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 4415 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0403 px、最大 0.0683 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000676
z 深度(float32 位串,逐图拉伸;显示范围 0.222–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "35712",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "35712",
+      "annotation_index": 35712,
+      "member": "RHD_published_v2/training/color/35712.png"
+    },
+    "sample_id": "RHD/training/35712"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0403,
+    "uv_max_px": 0.0683,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.4073,
+    "outside_uv_max_relative": 0.000676
+  }
+}

帧 396 / 512

原生 RGB(MKV 解出的第 396 帧,未重编码)
分割区域(左手红 552 px / 右手蓝 3730 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 16 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 16 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 37 点):中位偏离 0.0452 px、最大 0.1498 px,≤1 px 的 37 点;画外 5 点按自身量级的最大相对偏离 0.000501
z 深度(float32 位串,逐图拉伸;显示范围 0.460–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 396,
+  "source": {
+    "frame_index": 396,
+    "source_frame_id": "35724",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "35724",
+      "annotation_index": 35724,
+      "member": "RHD_published_v2/training/color/35724.png"
+    },
+    "sample_id": "RHD/training/35724"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 37,
+    "outside_frame_points": 5,
+    "visible_outside_frame": 0,
+    "uv_compared": 37,
+    "uv_median_px": 0.0452,
+    "uv_max_px": 0.1498,
+    "uv_within_1px": 37,
+    "uv_within_tolerance": 37,
+    "outside_uv_max_px": 0.1605,
+    "outside_uv_max_relative": 0.000501
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 2518 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0354 px、最大 0.0744 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.620–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "35839",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "35839",
+      "annotation_index": 35839,
+      "member": "RHD_published_v2/training/color/35839.png"
+    },
+    "sample_id": "RHD/training/35839"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0354,
+    "uv_max_px": 0.0744,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "training_00035328",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle",
+        "member_pattern": "RHD_published_v2/training/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "train",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/training"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "training_00035328/camera",
+  "sequence_id": "training_00035328",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "train",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    128,
+    256,
+    384,
+    396,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 655,
+      "near_plane_points": 3,
+      "comparable_points": 20846,
+      "in_frame_points": 15585,
+      "outside_frame_points": 5261,
+      "median_px": 0.039,
+      "in_frame_max_px": 0.1498,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 5171,
+      "outside_frame_max_px": 63.2308,
+      "outside_frame_max_px_uv_scale": 251500.0,
+      "outside_frame_max_relative": 0.00417,
+      "outside_frame_max_relative_px": 0.0269,
+      "outside_frame_max_relative_uv_scale": 6.445,
+      "worst_frame": 396,
+      "worst_frame_in_frame_max_px": 0.1498,
+      "visibility_true": 15175,
+      "visible_outside_frame": 1,
+      "visible_outside_frame_max_px": 0.0068,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 411,
+      "plane_threshold_m": 0.001
+    },
+    "points": 231,
+    "inside": 205,
+    "off_image": 26,
+    "uv_compared": 205,
+    "uv_within_1px": 205,
+    "uv_within_tolerance": 205,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0278,
+        "uv_max_px": 0.0599,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 21,
+        "behind_plane_points": 21,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0397,
+        "uv_max_px": 0.0561,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0401,
+        "uv_max_px": 0.1065,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0403,
+        "uv_max_px": 0.0683,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.4073,
+        "outside_uv_max_relative": 0.000676
+      },
+      "396": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 37,
+        "outside_frame_points": 5,
+        "visible_outside_frame": 0,
+        "uv_compared": 37,
+        "uv_median_px": 0.0452,
+        "uv_max_px": 0.1498,
+        "uv_within_1px": 37,
+        "uv_within_tolerance": 37,
+        "outside_uv_max_px": 0.1605,
+        "outside_uv_max_relative": 0.000501
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0354,
+        "uv_max_px": 0.0744,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00035328_camera.report.json b/RHD/shared-v1.1/doc/validation/training_00035328_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..c406b2ab593540487b4a32e10863214ec99368b0 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00035328_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "training_00035328/camera", + "sequence_id": "training_00035328", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 396, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 655, + "near_plane_points": 3, + "comparable_points": 20846, + "in_frame_points": 15585, + "outside_frame_points": 5261, + "median_px": 0.039, + "in_frame_max_px": 0.1498, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 5171, + "outside_frame_max_px": 63.2308, + "outside_frame_max_px_uv_scale": 251500.0, + "outside_frame_max_relative": 0.00417, + "outside_frame_max_relative_px": 0.0269, + "outside_frame_max_relative_uv_scale": 6.445, + "worst_frame": 396, + "worst_frame_in_frame_max_px": 0.1498, + "visibility_true": 15175, + "visible_outside_frame": 1, + "visible_outside_frame_max_px": 0.0068, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 411, + "plane_threshold_m": 0.001 + }, + "points": 231, + "inside": 205, + "off_image": 26, + "uv_compared": 205, + "uv_within_1px": 205, + "uv_within_tolerance": 205, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0278, + "uv_max_px": 0.0599, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "128": { + "annotated": true, + "valid_points": 21, + "behind_plane_points": 21, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0397, + "uv_max_px": 0.0561, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0401, + "uv_max_px": 0.1065, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0403, + "uv_max_px": 0.0683, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.4073, + "outside_uv_max_relative": 0.000676 + }, + "396": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 37, + "outside_frame_points": 5, + "visible_outside_frame": 0, + "uv_compared": 37, + "uv_median_px": 0.0452, + "uv_max_px": 0.1498, + "uv_within_1px": 37, + "uv_within_tolerance": 37, + "outside_uv_max_px": 0.1605, + "outside_uv_max_relative": 0.000501 + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0354, + "uv_max_px": 0.0744, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00038400_camera.html b/RHD/shared-v1.1/doc/validation/training_00038400_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..aaacd6ea817ae48fa195b248eb616ab5b8983917 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00038400_camera.html @@ -0,0 +1,1272 @@ +training_00038400_camera

training_00038400_camera

直接读取 v1.1 bundle(training_00038400 的 exo 视图,split=train,共 512 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 512 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)16269 个点:中位偏离 0.0389 px、最大 0.13 px;512/512 帧的画内点全部在 1 px 以内。画外 4713 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 4568 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 30.4781 px(该点坐标量级 1.57e+05 px,相对 0.00019);相对偏差最大 0.00651(该点绝对偏差仅 0.0499 px、离原点 7.661 px,比值大只因分母小)。另有 519 个关节深度 ≤0(在相机平面上或之后)、3 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 16269/21504 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 372 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 2 个(其偏差 ≤ 0.0805 px,即数值上完全一致,只是 uv 恰好落在边界上)。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 512

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 2831 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0327 px、最大 0.0725 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000552
z 深度(float32 位串,逐图拉伸;显示范围 0.556–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "38400",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "38400",
+      "annotation_index": 38400,
+      "member": "RHD_published_v2/training/color/38400.png"
+    },
+    "sample_id": "RHD/training/38400"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0327,
+    "uv_max_px": 0.0725,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.1002,
+    "outside_uv_max_relative": 0.000552
+  }
+}

帧 128 / 512

原生 RGB(MKV 解出的第 128 帧,未重编码)
分割区域(左手红 1911 px / 右手蓝 0 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 0 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 0 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0348 px、最大 0.0603 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000303
z 深度(float32 位串,逐图拉伸;显示范围 0.487–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 128,
+  "source": {
+    "frame_index": 128,
+    "source_frame_id": "38528",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "38528",
+      "annotation_index": 38528,
+      "member": "RHD_published_v2/training/color/38528.png"
+    },
+    "sample_id": "RHD/training/38528"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0348,
+    "uv_max_px": 0.0603,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0759,
+    "outside_uv_max_relative": 0.000303
+  }
+}

帧 256 / 512

原生 RGB(MKV 解出的第 256 帧,未重编码)
分割区域(左手红 2200 px / 右手蓝 2169 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0391 px、最大 0.0845 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.602–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 256,
+  "source": {
+    "frame_index": 256,
+    "source_frame_id": "38656",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "38656",
+      "annotation_index": 38656,
+      "member": "RHD_published_v2/training/color/38656.png"
+    },
+    "sample_id": "RHD/training/38656"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0391,
+    "uv_max_px": 0.0845,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 384 / 512

原生 RGB(MKV 解出的第 384 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 1920 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0394 px、最大 0.0551 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000199
z 深度(float32 位串,逐图拉伸;显示范围 0.502–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 384,
+  "source": {
+    "frame_index": 384,
+    "source_frame_id": "38784",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "38784",
+      "annotation_index": 38784,
+      "member": "RHD_published_v2/training/color/38784.png"
+    },
+    "sample_id": "RHD/training/38784"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0394,
+    "uv_max_px": 0.0551,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0782,
+    "outside_uv_max_relative": 0.000199
+  }
+}

帧 434 / 512

原生 RGB(MKV 解出的第 434 帧,未重编码)
分割区域(左手红 681 px / 右手蓝 4245 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0377 px、最大 0.13 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.378–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 434,
+  "source": {
+    "frame_index": 434,
+    "source_frame_id": "38834",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "38834",
+      "annotation_index": 38834,
+      "member": "RHD_published_v2/training/color/38834.png"
+    },
+    "sample_id": "RHD/training/38834"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0377,
+    "uv_max_px": 0.13,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 511 / 512

原生 RGB(MKV 解出的第 511 帧,未重编码)
分割区域(左手红 3517 px / 右手蓝 1975 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 11 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 11 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 32 点):中位偏离 0.0419 px、最大 0.0676 px,≤1 px 的 32 点;画外 10 点按自身量级的最大相对偏离 0.00044
z 深度(float32 位串,逐图拉伸;显示范围 0.431–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 511,
+  "source": {
+    "frame_index": 511,
+    "source_frame_id": "38911",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "38911",
+      "annotation_index": 38911,
+      "member": "RHD_published_v2/training/color/38911.png"
+    },
+    "sample_id": "RHD/training/38911"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 32,
+    "outside_frame_points": 10,
+    "visible_outside_frame": 0,
+    "uv_compared": 32,
+    "uv_median_px": 0.0419,
+    "uv_max_px": 0.0676,
+    "uv_within_1px": 32,
+    "uv_within_tolerance": 32,
+    "outside_uv_max_px": 0.0586,
+    "outside_uv_max_relative": 0.00044
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "training_00038400",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 512,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle",
+        "member_pattern": "RHD_published_v2/training/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "train",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/training"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "training_00038400/camera",
+  "sequence_id": "training_00038400",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "train",
+  "num_frames": 512,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        512,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 512,
+      "valid_total": 512,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        512,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        512,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        512,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 21504,
+      "valid_total": 21504,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    128,
+    256,
+    384,
+    434,
+    511
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 512,
+      "points_scanned": 21504,
+      "behind_plane_points": 519,
+      "near_plane_points": 3,
+      "comparable_points": 20982,
+      "in_frame_points": 16269,
+      "outside_frame_points": 4713,
+      "median_px": 0.0389,
+      "in_frame_max_px": 0.13,
+      "frames_with_in_frame_points": 512,
+      "frames_all_in_frame_points_within_1px": 512,
+      "outside_frame_within_1px": 4568,
+      "outside_frame_max_px": 30.4781,
+      "outside_frame_max_px_uv_scale": 156700.0,
+      "outside_frame_max_relative": 0.00651,
+      "outside_frame_max_relative_px": 0.0499,
+      "outside_frame_max_relative_uv_scale": 7.661,
+      "worst_frame": 434,
+      "worst_frame_in_frame_max_px": 0.13,
+      "visibility_true": 15899,
+      "visible_outside_frame": 2,
+      "visible_outside_frame_max_px": 0.0805,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 372,
+      "plane_threshold_m": 0.001
+    },
+    "points": 252,
+    "inside": 179,
+    "off_image": 73,
+    "uv_compared": 179,
+    "uv_within_1px": 179,
+    "uv_within_tolerance": 179,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0327,
+        "uv_max_px": 0.0725,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.1002,
+        "outside_uv_max_relative": 0.000552
+      },
+      "128": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0348,
+        "uv_max_px": 0.0603,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0759,
+        "outside_uv_max_relative": 0.000303
+      },
+      "256": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0391,
+        "uv_max_px": 0.0845,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "384": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0394,
+        "uv_max_px": 0.0551,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0782,
+        "outside_uv_max_relative": 0.000199
+      },
+      "434": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0377,
+        "uv_max_px": 0.13,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "511": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 32,
+        "outside_frame_points": 10,
+        "visible_outside_frame": 0,
+        "uv_compared": 32,
+        "uv_median_px": 0.0419,
+        "uv_max_px": 0.0676,
+        "uv_within_1px": 32,
+        "uv_within_tolerance": 32,
+        "outside_uv_max_px": 0.0586,
+        "outside_uv_max_relative": 0.00044
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00038400_camera.report.json b/RHD/shared-v1.1/doc/validation/training_00038400_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..04b935f3e2bdfd835bedd33d0d736b646fa0f281 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00038400_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "training_00038400/camera", + "sequence_id": "training_00038400", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 512, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 512, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 512, + "valid_total": 512, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 512, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 512, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 512, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 21504, + "valid_total": 21504, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 128, + 256, + 384, + 434, + 511 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 512, + "points_scanned": 21504, + "behind_plane_points": 519, + "near_plane_points": 3, + "comparable_points": 20982, + "in_frame_points": 16269, + "outside_frame_points": 4713, + "median_px": 0.0389, + "in_frame_max_px": 0.13, + "frames_with_in_frame_points": 512, + "frames_all_in_frame_points_within_1px": 512, + "outside_frame_within_1px": 4568, + "outside_frame_max_px": 30.4781, + "outside_frame_max_px_uv_scale": 156700.0, + "outside_frame_max_relative": 0.00651, + "outside_frame_max_relative_px": 0.0499, + "outside_frame_max_relative_uv_scale": 7.661, + "worst_frame": 434, + "worst_frame_in_frame_max_px": 0.13, + "visibility_true": 15899, + "visible_outside_frame": 2, + "visible_outside_frame_max_px": 0.0805, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 372, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 179, + "off_image": 73, + "uv_compared": 179, + "uv_within_1px": 179, + "uv_within_tolerance": 179, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0327, + "uv_max_px": 0.0725, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.1002, + "outside_uv_max_relative": 0.000552 + }, + "128": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0348, + "uv_max_px": 0.0603, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0759, + "outside_uv_max_relative": 0.000303 + }, + "256": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0391, + "uv_max_px": 0.0845, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "384": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0394, + "uv_max_px": 0.0551, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0782, + "outside_uv_max_relative": 0.000199 + }, + "434": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0377, + "uv_max_px": 0.13, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "511": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 32, + "outside_frame_points": 10, + "visible_outside_frame": 0, + "uv_compared": 32, + "uv_median_px": 0.0419, + "uv_max_px": 0.0676, + "uv_within_1px": 32, + "uv_within_tolerance": 32, + "outside_uv_max_px": 0.0586, + "outside_uv_max_relative": 0.00044 + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00040960_camera.html b/RHD/shared-v1.1/doc/validation/training_00040960_camera.html new file mode 100644 index 0000000000000000000000000000000000000000..215216a4bd00f3d682c5215273cfc4f872b4e4bd --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00040960_camera.html @@ -0,0 +1,1272 @@ +training_00040960_camera

training_00040960_camera

直接读取 v1.1 bundle(training_00040960 的 exo 视图,split=train,共 298 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码抽样的 6 帧,不是全部帧。本 release 另带 v1.0 的 24 张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:    左手 ·     右手
手槽取自发布的 hand_slots: [left, right],21 个关节保持发布的近端→远端顺序(keypoint_schema: rhd21/v1,原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、没有物体、没有接触,这些面板也不画。

本页能做别人做不到的一件事:RHD 同时发布了原生 2D 关键点(uv)和相机系 3D 关键点(xyz)以及同一套针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 K 投到像素上,再与发布的 uv 逐点比对(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的projection.frames 里,面板标题上也会写出中位与最大偏离;偏差只被记录,不用来「修正」发布值。

全视图数值扫描(不止抽样帧,本视图 298 帧全部参与):发布的 xyz 经本视图自己的 K 投影后与发布的 uv 逐点比对。画内(发布的 uv 落在 320×320 内)9242 个点:中位偏离 0.0389 px、最大 0.1248 px;298/298 帧的画内点全部在 1 px 以内。画外 2898 个点:发布的 uv 是原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 2855 个点绝对偏差仍在 1 px 以内。两个极值来自不同的点,故各自带上它自己的量级:绝对偏差最大 14.5704 px(该点坐标量级 7.57e+04 px,相对 0.00019);相对偏差最大 0.0216(该点绝对偏差仅 0.057 px、离原点 2.637 px,比值大只因分母小)。另有 376 个关节深度 ≤0(在相机平面上或之后)、0 个深度 < 0.001 m(其 uv 本身就在 1e5 px 量级),这两类不成对比较,只计数。偏差最大的画内帧已强制进抽样,见下方。

RHD 每张图标注双手,而通常只有一只手落在 320×320 画内(本视图 9242/12516 个关节落在画内),源用 visibility 标出每个关节是否可见。实测该标量与「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是「画内但被标为不可见」(本视图 338 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 0 个。发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列"源标为可见却落在画外"的点数(该方向才可能是标注与标定不一致)。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

帧 0 / 298

原生 RGB(MKV 解出的第 0 帧,未重编码)
分割区域(左手红 4061 px / 右手蓝 1020 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.037 px、最大 0.0683 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.418–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 0,
+  "source": {
+    "frame_index": 0,
+    "source_frame_id": "40960",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "40960",
+      "annotation_index": 40960,
+      "member": "RHD_published_v2/training/color/40960.png"
+    },
+    "sample_id": "RHD/training/40960"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        298,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 298,
+      "valid_total": 298,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        298,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        298,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.037,
+    "uv_max_px": 0.0683,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 74 / 298

原生 RGB(MKV 解出的第 74 帧,未重编码)
分割区域(左手红 0 px / 右手蓝 1054 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0431 px、最大 0.0582 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000131
z 深度(float32 位串,逐图拉伸;显示范围 0.672–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 74,
+  "source": {
+    "frame_index": 74,
+    "source_frame_id": "41034",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "41034",
+      "annotation_index": 41034,
+      "member": "RHD_published_v2/training/color/41034.png"
+    },
+    "sample_id": "RHD/training/41034"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        298,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 298,
+      "valid_total": 298,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        298,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        298,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0431,
+    "uv_max_px": 0.0582,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0518,
+    "outside_uv_max_relative": 0.000131
+  }
+}

帧 149 / 298

原生 RGB(MKV 解出的第 149 帧,未重编码)
分割区域(左手红 9939 px / 右手蓝 4223 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0434 px、最大 0.0663 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.372–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 149,
+  "source": {
+    "frame_index": 149,
+    "source_frame_id": "41109",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "41109",
+      "annotation_index": 41109,
+      "member": "RHD_published_v2/training/color/41109.png"
+    },
+    "sample_id": "RHD/training/41109"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        298,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 298,
+      "valid_total": 298,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        298,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        298,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0434,
+    "uv_max_px": 0.0663,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 189 / 298

原生 RGB(MKV 解出的第 189 帧,未重编码)
分割区域(左手红 828 px / 右手蓝 2385 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0385 px、最大 0.1248 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.548–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 189,
+  "source": {
+    "frame_index": 189,
+    "source_frame_id": "41149",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "41149",
+      "annotation_index": 41149,
+      "member": "RHD_published_v2/training/color/41149.png"
+    },
+    "sample_id": "RHD/training/41149"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        298,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 298,
+      "valid_total": 298,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        298,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        298,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0385,
+    "uv_max_px": 0.1248,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}

帧 223 / 298

原生 RGB(MKV 解出的第 223 帧,未重编码)
分割区域(左手红 247 px / 右手蓝 13502 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 0 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 0 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 21 点):中位偏离 0.0362 px、最大 0.064 px,≤1 px 的 21 点;画外 21 点按自身量级的最大相对偏离 0.000222
z 深度(float32 位串,逐图拉伸;显示范围 0.410–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 223,
+  "source": {
+    "frame_index": 223,
+    "source_frame_id": "41183",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "41183",
+      "annotation_index": 41183,
+      "member": "RHD_published_v2/training/color/41183.png"
+    },
+    "sample_id": "RHD/training/41183"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        298,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 298,
+      "valid_total": 298,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        298,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        298,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 21,
+    "outside_frame_points": 21,
+    "visible_outside_frame": 0,
+    "uv_compared": 21,
+    "uv_median_px": 0.0362,
+    "uv_max_px": 0.064,
+    "uv_within_1px": 21,
+    "uv_within_tolerance": 21,
+    "outside_uv_max_px": 0.0749,
+    "outside_uv_max_relative": 0.000222
+  }
+}

帧 297 / 298

原生 RGB(MKV 解出的第 297 帧,未重编码)
分割区域(左手红 3181 px / 右手蓝 1962 px,叠加在 RGB 上;区域号 2–33,背景号 65534)
原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);左手 21 点、右手 21 点在画内)
XYZ 投影(相机系米制经本视图自己的 K;左手 21 点、右手 21 点在画内,实心=源标为可见);与发布 uv 逐点比对(画内 42 点):中位偏离 0.0331 px、最大 0.0679 px,≤1 px 的 42 点
z 深度(float32 位串,逐图拉伸;显示范围 0.570–5.000 m)
帧号、来源、全部数值组件与有效性
{
+  "frame_index": 297,
+  "source": {
+    "frame_index": 297,
+    "source_frame_id": "41257",
+    "timestamp_ns": null,
+    "clock_domain": null,
+    "source_locator": {
+      "archive": "raw/data/RHD_v1-1.zip",
+      "annotation": "RHD_published_v2/training/anno_training.pickle",
+      "source_frame_id": "41257",
+      "annotation_index": 41257,
+      "member": "RHD_published_v2/training/color/41257.png"
+    },
+    "sample_id": "RHD/training/41257"
+  },
+  "components": {
+    "intrinsic": {
+      "shape": [
+        298,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 298,
+      "valid_total": 298,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        298,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        298,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    }
+  },
+  "media_valid": {
+    "rgb": true,
+    "depth_true_pixels": 102400,
+    "depth_pixels": 102400,
+    "depth_all_true": true
+  },
+  "projection": {
+    "annotated": true,
+    "valid_points": 42,
+    "behind_plane_points": 0,
+    "near_plane_points": 0,
+    "in_frame_points": 42,
+    "outside_frame_points": 0,
+    "visible_outside_frame": 0,
+    "uv_compared": 42,
+    "uv_median_px": 0.0331,
+    "uv_max_px": 0.0679,
+    "uv_within_1px": 42,
+    "uv_within_tolerance": 42,
+    "outside_uv_max_px": null,
+    "outside_uv_max_relative": null
+  }
+}
全部组件元信息及原始来源
{
+  "schema_version": "hand-warehouse/1.1",
+  "dataset_id": "RHD",
+  "release_id": "shared-v1.1",
+  "sequence_id": "training_00040960",
+  "camera_id": "camera",
+  "sample_type": "image",
+  "num_frames": 298,
+  "hand_slots": [
+    "left",
+    "right"
+  ],
+  "sampling": {
+    "type": "independent",
+    "source_fps": null,
+    "frames_ref": "camera/frames.jsonl",
+    "selection": "all source independent images sorted by source ID",
+    "shard_max_images": 512
+  },
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "components": {
+    "rgb": {
+      "available": true,
+      "schema_id": "rgb/uint8/v1",
+      "data_ref": "observation/rgb.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width",
+        "channel"
+      ],
+      "valid_ref": "observation/rgb_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/ffv1_rgb/v1",
+        "codec": "ffv1",
+        "pixel_format": "bgr0",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only"
+    },
+    "intrinsic": {
+      "available": true,
+      "schema_id": "camera/pinhole/v1",
+      "data_ref": "camera/camera.pt",
+      "axes": [
+        "T",
+        "row",
+        "column"
+      ],
+      "valid_ref": "camera/camera.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "source values retained"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "data_key": [
+        "intrinsic",
+        "data"
+      ],
+      "valid_key": [
+        "intrinsic",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_xyz": {
+      "available": true,
+      "schema_id": "keypoints/xyz/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "m",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "camera",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "xyz",
+        "data"
+      ],
+      "valid_key": [
+        "xyz",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "keypoints_uv": {
+      "available": true,
+      "schema_id": "keypoints/uv/v1",
+      "data_ref": "annotation/keypoints/keypoints.pt",
+      "axes": [
+        "T",
+        "hand",
+        "joint",
+        "coordinate"
+      ],
+      "valid_ref": "annotation/keypoints/keypoints.pt",
+      "valid_axes": [
+        "T",
+        "hand",
+        "joint"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "unit": "pixel",
+      "keypoint_schema": "rhd21/v1",
+      "coordinate_frame": "rgb_image",
+      "source_index_map": [
+        0,
+        4,
+        3,
+        2,
+        1,
+        8,
+        7,
+        6,
+        5,
+        12,
+        11,
+        10,
+        9,
+        16,
+        15,
+        14,
+        13,
+        20,
+        19,
+        18,
+        17
+      ],
+      "attributes": {
+        "visibility": {
+          "data_ref": "annotation/keypoints/keypoints.pt",
+          "axes": [
+            "T",
+            "hand",
+            "joint"
+          ],
+          "dtype": "bool",
+          "visibility_type": "bool",
+          "meaning": "source per-keypoint visibility",
+          "provenance": {
+            "kind": "format_conversion",
+            "method": "native uv_vis visibility reordered with coordinates"
+          },
+          "source_locator": {
+            "archive": "raw/data/RHD_v1-1.zip",
+            "annotation": "RHD_published_v2/training/anno_training.pickle"
+          },
+          "data_key": [
+            "visibility",
+            "data"
+          ],
+          "valid_ref": "annotation/keypoints/keypoints.pt",
+          "valid_key": [
+            "visibility",
+            "valid"
+          ],
+          "storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_storage": {
+            "profile": "pt/tensor_bundle/v1"
+          },
+          "valid_axes": [
+            "T",
+            "hand",
+            "joint"
+          ]
+        }
+      },
+      "data_key": [
+        "uv",
+        "data"
+      ],
+      "valid_key": [
+        "uv",
+        "valid"
+      ],
+      "storage": {
+        "profile": "pt/tensor_bundle/v1"
+      },
+      "valid_storage": {
+        "profile": "pt/tensor_bundle/v1"
+      }
+    },
+    "depth": {
+      "available": true,
+      "schema_id": "depth/z_float32/v1",
+      "data_ref": "observation/depth.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "observation/depth_valid.mkv",
+      "valid_axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "storage": {
+        "profile": "mkv/depth_float32_bits/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          640,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "valid_storage": {
+        "profile": "mkv/bool_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "unit": "m",
+      "depth_type": "z",
+      "depth_origin": "rendered",
+      "coordinate_frame": "current_rgb_camera",
+      "pixel_grid": "current_rgb",
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Official code (R*256+G)/65535*5 m; preserve complete float32 bits; source supplies every pixel, no additional invalid-pixel convention inferred"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle",
+        "member_pattern": "RHD_published_v2/training/depth/{source_frame_id:05d}.png"
+      }
+    },
+    "segment": {
+      "available": true,
+      "schema_id": "segment/uint16_labels/v1",
+      "data_ref": "annotation/segment/mask.mkv",
+      "axes": [
+        "T",
+        "height",
+        "width"
+      ],
+      "valid_ref": "annotation/segment/mask_valid.pt",
+      "valid_axes": [
+        "T"
+      ],
+      "provenance": {
+        "kind": "format_conversion",
+        "method": "Native codes preserved; source 0 background mapped to 65534; native fine-region codes retained without merging"
+      },
+      "source_locator": {
+        "archive": "raw/data/RHD_v1-1.zip",
+        "annotation": "RHD_published_v2/training/anno_training.pickle"
+      },
+      "storage": {
+        "profile": "mkv/uint16_ffv1/v1",
+        "codec": "ffv1",
+        "pixel_format": "gray16le",
+        "encoded_size": [
+          320,
+          320
+        ],
+        "source_lossy": false,
+        "decoder": "ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers",
+        "encoder_parameters": [
+          "-level",
+          "3"
+        ]
+      },
+      "storage_fps": 1,
+      "timebase_role": "index_only",
+      "segmentation_type": "semantic",
+      "mapping_ref": "annotation/segment/instances.jsonl",
+      "coverage": {
+        "kind": "full",
+        "scope": "official rendered background, person and both hand regions"
+      }
+    }
+  },
+  "split": "train",
+  "storage_revision": "lossless-video-2026-09-18",
+  "split_scheme": "RHD_official_training_evaluation",
+  "split_source_locator": {
+    "archive": "raw/data/RHD_v1-1.zip",
+    "member_prefix": "RHD_published_v2/training"
+  },
+  "view_type": "exo"
+}
持久化 QC 结果
{
+  "view": "training_00040960/camera",
+  "sequence_id": "training_00040960",
+  "camera_id": "camera",
+  "view_type": "exo",
+  "split": "train",
+  "num_frames": 298,
+  "camera": {
+    "model": "pinhole",
+    "schema_id": "camera/pinhole/v1",
+    "image_size": [
+      320,
+      320
+    ]
+  },
+  "numeric_components": {
+    "intrinsic": {
+      "shape": [
+        298,
+        3,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 298,
+      "valid_total": 298,
+      "nan_count": 0
+    },
+    "keypoints_xyz": {
+      "shape": [
+        298,
+        2,
+        21,
+        3
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_xyz.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    },
+    "keypoints_uv": {
+      "shape": [
+        298,
+        2,
+        21,
+        2
+      ],
+      "dtype": "torch.float32",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": 0
+    },
+    "keypoints_uv.visibility": {
+      "shape": [
+        298,
+        2,
+        21
+      ],
+      "dtype": "torch.bool",
+      "valid_true": 12516,
+      "valid_total": 12516,
+      "nan_count": null
+    }
+  },
+  "bundle_files": 2,
+  "bundles": [
+    "annotation/keypoints/keypoints.pt",
+    "camera/camera.pt"
+  ],
+  "media": [
+    {
+      "component": "rgb",
+      "ref": "observation/rgb.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "depth",
+      "ref": "observation/depth.mkv",
+      "frames_decoded": 6
+    },
+    {
+      "component": "segment",
+      "ref": "annotation/segment/mask.mkv",
+      "frames_decoded": 6
+    }
+  ],
+  "consumed_files": [
+    "annotation/keypoints/keypoints.pt",
+    "annotation/segment/mask.mkv",
+    "camera/camera.pt",
+    "observation/depth.mkv",
+    "observation/rgb.mkv"
+  ],
+  "selected_frames": [
+    0,
+    74,
+    149,
+    189,
+    223,
+    297
+  ],
+  "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count",
+  "projection": {
+    "model": "pinhole",
+    "calibrated": true,
+    "coordinate_frame": "camera",
+    "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison",
+    "uv_tolerance_px": 1.0,
+    "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)",
+    "view_scan": {
+      "frames_scanned": 298,
+      "points_scanned": 12516,
+      "behind_plane_points": 376,
+      "near_plane_points": 0,
+      "comparable_points": 12140,
+      "in_frame_points": 9242,
+      "outside_frame_points": 2898,
+      "median_px": 0.0389,
+      "in_frame_max_px": 0.1248,
+      "frames_with_in_frame_points": 298,
+      "frames_all_in_frame_points_within_1px": 298,
+      "outside_frame_within_1px": 2855,
+      "outside_frame_max_px": 14.5704,
+      "outside_frame_max_px_uv_scale": 75700.0,
+      "outside_frame_max_relative": 0.0216,
+      "outside_frame_max_relative_px": 0.057,
+      "outside_frame_max_relative_uv_scale": 2.637,
+      "worst_frame": 189,
+      "worst_frame_in_frame_max_px": 0.1248,
+      "visibility_true": 8904,
+      "visible_outside_frame": 0,
+      "visible_outside_frame_max_px": null,
+      "visible_near_plane_points": 0,
+      "visible_behind_plane_points": 0,
+      "invisible_in_frame": 338,
+      "plane_threshold_m": 0.001
+    },
+    "points": 252,
+    "inside": 210,
+    "off_image": 42,
+    "uv_compared": 210,
+    "uv_within_1px": 210,
+    "uv_within_tolerance": 210,
+    "frames": {
+      "0": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.037,
+        "uv_max_px": 0.0683,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "74": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0431,
+        "uv_max_px": 0.0582,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0518,
+        "outside_uv_max_relative": 0.000131
+      },
+      "149": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0434,
+        "uv_max_px": 0.0663,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "189": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0385,
+        "uv_max_px": 0.1248,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      },
+      "223": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 21,
+        "outside_frame_points": 21,
+        "visible_outside_frame": 0,
+        "uv_compared": 21,
+        "uv_median_px": 0.0362,
+        "uv_max_px": 0.064,
+        "uv_within_1px": 21,
+        "uv_within_tolerance": 21,
+        "outside_uv_max_px": 0.0749,
+        "outside_uv_max_relative": 0.000222
+      },
+      "297": {
+        "annotated": true,
+        "valid_points": 42,
+        "behind_plane_points": 0,
+        "near_plane_points": 0,
+        "in_frame_points": 42,
+        "outside_frame_points": 0,
+        "visible_outside_frame": 0,
+        "uv_compared": 42,
+        "uv_median_px": 0.0331,
+        "uv_max_px": 0.0679,
+        "uv_within_1px": 42,
+        "uv_within_tolerance": 42,
+        "outside_uv_max_px": null,
+        "outside_uv_max_relative": null
+      }
+    },
+    "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded."
+  },
+  "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison",
+  "not_drawn": [],
+  "visible_outside_frame_frames": [],
+  "not_annotated_frames": []
+}
\ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/training_00040960_camera.report.json b/RHD/shared-v1.1/doc/validation/training_00040960_camera.report.json new file mode 100644 index 0000000000000000000000000000000000000000..9368aa88db183c60435429e8fc53522851430077 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/training_00040960_camera.report.json @@ -0,0 +1,258 @@ +{ + "view": "training_00040960/camera", + "sequence_id": "training_00040960", + "camera_id": "camera", + "view_type": "exo", + "split": "train", + "num_frames": 298, + "camera": { + "model": "pinhole", + "schema_id": "camera/pinhole/v1", + "image_size": [ + 320, + 320 + ] + }, + "numeric_components": { + "intrinsic": { + "shape": [ + 298, + 3, + 3 + ], + "dtype": "torch.float32", + "valid_true": 298, + "valid_total": 298, + "nan_count": 0 + }, + "keypoints_xyz": { + "shape": [ + 298, + 2, + 21, + 3 + ], + "dtype": "torch.float32", + "valid_true": 12516, + "valid_total": 12516, + "nan_count": 0 + }, + "keypoints_xyz.visibility": { + "shape": [ + 298, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 12516, + "valid_total": 12516, + "nan_count": null + }, + "keypoints_uv": { + "shape": [ + 298, + 2, + 21, + 2 + ], + "dtype": "torch.float32", + "valid_true": 12516, + "valid_total": 12516, + "nan_count": 0 + }, + "keypoints_uv.visibility": { + "shape": [ + 298, + 2, + 21 + ], + "dtype": "torch.bool", + "valid_true": 12516, + "valid_total": 12516, + "nan_count": null + } + }, + "bundle_files": 2, + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "media": [ + { + "component": "rgb", + "ref": "observation/rgb.mkv", + "frames_decoded": 6 + }, + { + "component": "depth", + "ref": "observation/depth.mkv", + "frames_decoded": 6 + }, + { + "component": "segment", + "ref": "annotation/segment/mask.mkv", + "frames_decoded": 6 + } + ], + "consumed_files": [ + "annotation/keypoints/keypoints.pt", + "annotation/segment/mask.mkv", + "camera/camera.pt", + "observation/depth.mkv", + "observation/rgb.mkv" + ], + "selected_frames": [ + 0, + 74, + 149, + 189, + 223, + 297 + ], + "decode_scope": "ffmpeg select= demux filter over the preserved MKV; only the frames listed in selected_frames are decoded, each checked against its expected byte count", + "projection": { + "model": "pinhole", + "calibrated": true, + "coordinate_frame": "camera", + "scope": "saved camera-frame xyz (metres) through the view's own pinhole intrinsic, compared against the saved native uv; not a media pixel comparison", + "uv_tolerance_px": 1.0, + "visibility_rule": "发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)", + "view_scan": { + "frames_scanned": 298, + "points_scanned": 12516, + "behind_plane_points": 376, + "near_plane_points": 0, + "comparable_points": 12140, + "in_frame_points": 9242, + "outside_frame_points": 2898, + "median_px": 0.0389, + "in_frame_max_px": 0.1248, + "frames_with_in_frame_points": 298, + "frames_all_in_frame_points_within_1px": 298, + "outside_frame_within_1px": 2855, + "outside_frame_max_px": 14.5704, + "outside_frame_max_px_uv_scale": 75700.0, + "outside_frame_max_relative": 0.0216, + "outside_frame_max_relative_px": 0.057, + "outside_frame_max_relative_uv_scale": 2.637, + "worst_frame": 189, + "worst_frame_in_frame_max_px": 0.1248, + "visibility_true": 8904, + "visible_outside_frame": 0, + "visible_outside_frame_max_px": null, + "visible_near_plane_points": 0, + "visible_behind_plane_points": 0, + "invisible_in_frame": 338, + "plane_threshold_m": 0.001 + }, + "points": 252, + "inside": 210, + "off_image": 42, + "uv_compared": 210, + "uv_within_1px": 210, + "uv_within_tolerance": 210, + "frames": { + "0": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.037, + "uv_max_px": 0.0683, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "74": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0431, + "uv_max_px": 0.0582, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0518, + "outside_uv_max_relative": 0.000131 + }, + "149": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0434, + "uv_max_px": 0.0663, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "189": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0385, + "uv_max_px": 0.1248, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + }, + "223": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 21, + "outside_frame_points": 21, + "visible_outside_frame": 0, + "uv_compared": 21, + "uv_median_px": 0.0362, + "uv_max_px": 0.064, + "uv_within_1px": 21, + "uv_within_tolerance": 21, + "outside_uv_max_px": 0.0749, + "outside_uv_max_relative": 0.000222 + }, + "297": { + "annotated": true, + "valid_points": 42, + "behind_plane_points": 0, + "near_plane_points": 0, + "in_frame_points": 42, + "outside_frame_points": 0, + "visible_outside_frame": 0, + "uv_compared": 42, + "uv_median_px": 0.0331, + "uv_max_px": 0.0679, + "uv_within_1px": 42, + "uv_within_tolerance": 42, + "outside_uv_max_px": null, + "outside_uv_max_relative": null + } + }, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published projection_qc rather than a one-sided count: the saved xyz is projected through the view's own intrinsic and compared with the saved uv, split into the joints whose published uv lies inside the picture (pixel tolerance) and those outside it (relative to their own magnitude). view_scan covers every frame of the view; the per-frame entries below cover only the sampled frames whose pixels were decoded." + }, + "scope": "v1.1 registry, keys, shapes, validity and timeline; not a media pixel comparison", + "not_drawn": [], + "visible_outside_frame_frames": [], + "not_annotated_frames": [] +} \ No newline at end of file diff --git a/RHD/shared-v1.1/doc/validation/validate_report.json b/RHD/shared-v1.1/doc/validation/validate_report.json new file mode 100644 index 0000000000000000000000000000000000000000..d437c4602183802a9d29bee92f3f81dbbc042844 --- /dev/null +++ b/RHD/shared-v1.1/doc/validation/validate_report.json @@ -0,0 +1,40 @@ +{ + "passed": true, + "views": 87, + "counts": { + "test": 2728, + "train": 41258 + }, + "frames": 43986, + "files_per_view": 11, + "schema_version": "hand-warehouse/1.1", + "release_id": "shared-v1.1", + "bundles_per_view": 2, + "rewrite_check": [ + { + "sequence_id": "evaluation_00000000", + "camera_id": "camera", + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "tensors_compared": 8 + }, + { + "sequence_id": "evaluation_00000512", + "camera_id": "camera", + "bundles": [ + "annotation/keypoints/keypoints.pt", + "camera/camera.pt" + ], + "tensors_compared": 8 + } + ], + "scope": "released content and layout; does not independently prove official source correctness or visual quality", + "release_manifest": { + "path": "/data0/yanghonglei/Datasets/hand-warehouse/RHD/tmp/rhd-tools/PUBLISH_MANIFEST.json", + "in_release_tree": false, + "files": 1071, + "note": "rebuilt by this run after this report was written, so it covers the report's final bytes; kept outside the release because a manifest inside it cannot hash itself" + } +} \ No newline at end of file diff --git a/RHD/shared-v1.1/script/provenance/operations/build_rhd_docs.py b/RHD/shared-v1.1/script/provenance/operations/build_rhd_docs.py new file mode 100644 index 0000000000000000000000000000000000000000..282b48004c433243272dbf2df4766e23a3e5039e --- /dev/null +++ b/RHD/shared-v1.1/script/provenance/operations/build_rhd_docs.py @@ -0,0 +1,247 @@ +#!/usr/bin/env python3 +"""Assemble RHD's ``doc/`` tree from the canonical v1.1 spec and the v1.0 record. + +Every published v1.1 release carries the same three spec documents, and each +dataset edits exactly the same three things in ``CONTRACT.md``: a status banner on +line 1, its own 状态 line, and the v1.0 link retargeted from the shared +``../hand-warehouse-1.0/CONTRACT.md`` to the copy kept as ``V1_0_SEMANTICS.md``. +Doing that by hand is how a release ends up with a banner that overstates what was +actually verified, so this script derives the banner and the 状态 line from +``doc/FULL_MIGRATION_SUMMARY.json`` -- the record of what the run actually did -- +and refuses to write a claim the record does not support. + +RHD keeps two documents under their v1.0-era names, which is why this differs from +the ARCTIC/H2O/dex-ycb builder: + +* ``RAW_MAPPING.md`` is RHD's own record -- it maps raw to shared *and* v1.0 to + v1.1 in one file -- so it is checked here, not rewritten. Its name is kept + deliberately: the v1.0 tree called it ``RAW_MAPPING.md``, and RHD's historical + names were to be left alone. +* ``REPORT.md`` is RHD's human-readable acceptance report, the 验收报告 CONTRACT 2 + asks ``doc/`` to hold. The other releases carry that content only in + ``FULL_MIGRATION_SUMMARY.json``. + +Run: python shared-v1.1/script/provenance/operations/build_rhd_docs.py + +Idempotent: it rewrites the two transformed files, copies the two verbatim ones +and refreshes ``doc/history-v1.0/``, so re-running after the migration finishes +refreshes the banner. +""" + +from __future__ import annotations + +import argparse +import hashlib +import json +import re +import shutil +import sys +from pathlib import Path + +OPERATIONS = Path(__file__).resolve().parent +SCRIPT_DIR = OPERATIONS.parent.parent # /script +RELEASE_ROOT = SCRIPT_DIR.parent # /shared-v1.1 +DATASET_ROOT = RELEASE_ROOT.parent # +SPEC = SCRIPT_DIR / "rhd_v1_1" / "spec" +DOC = RELEASE_ROOT / "doc" +V10 = DATASET_ROOT / "shared-v1.0" +HISTORY = DOC / "history-v1.0" + +#: the canonical spec, shared by every dataset. Checked rather than trusted: if +#: these do not match, the release would ship a spec it did not migrate against. +CANONICAL = { + "CONTRACT.md": "502dde9ac0549551237f684472489ddf6372bad3a26b1f6cca96f360c5dff158", + "MIGRATION.md": "773f5146d49f5060bfc13ef92c143c59b683a6dc633cad44897414d5299088a0", + "schema.json": "9f3769f950b36f75f3d571c77b5a661ca8e72afae20c9f1ddd1deef140e6cca8", +} + +#: ``../hand-warehouse-1.0/CONTRACT.md`` in the canonical text; the release keeps +#: its own copy of the v1.0 semantics beside it instead of reaching outside the tree +V10_LINK = "../hand-warehouse-1.0/CONTRACT.md" +V10_LINK_LOCAL = "V1_0_SEMANTICS.md" + +STATES = { + #: no summary yet: the migration has not finished, so claim nothing about it + "in_progress": { + "banner": "> RHD shared-v1.1 本地全量迁移进行中;自动验收、人工复查与 HF 发布均未完成。", + "status": "状态:RHD shared-v1.1 配套注册表与读写工具已适配;本地迁移、自动验收、人工复查与 HF 发布均未完成。", + }, + #: full acceptance recorded, human review and upload still outstanding + "accepted_pending_review": { + "banner": "> RHD shared-v1.1 已完成本地全量迁移与自动验收(逐字段字节级比对);人工复查与 HF 发布尚未完成。", + "status": "状态:RHD shared-v1.1 配套注册表与读写工具已适配;本地全量数值一致性及结构检查通过,发布清单已在发布树外重建(`tmp/rhd-tools/PUBLISH_MANIFEST.json`,树内不含清单)。人工复查不属于自动验收,尚未完成;HF 发布尚未进行。", + }, +} + + +def sha256(path): + digest = hashlib.sha256() + with Path(path).open("rb") as stream: + for chunk in iter(lambda: stream.read(1 << 22), b""): + digest.update(chunk) + return digest.hexdigest() + + +def canonical_bytes(name): + """The shared spec verbatim, with its canonical digest confirmed.""" + path = SPEC / name + got = sha256(path) + if got != CANONICAL[name]: + raise SystemExit(f"{path} is not the canonical {name}: {got} != {CANONICAL[name]}") + return path.read_bytes() + + +def canonical_text(name): + """The shared spec as LF text, for a file this release transforms. + + The canonical ``CONTRACT.md`` and ``schema.json`` are CRLF; only the documents + this release edits are normalised. A file that is *copied* keeps its bytes -- + both published releases ship ``schema.json`` at the canonical 39043 bytes with + its CRLF intact -- so the two paths are kept apart rather than sharing one + round-trip through ``str``. + """ + return canonical_bytes(name).replace(b"\r\n", b"\n").decode("utf-8") + + +def state_name(): + """Which of STATES the recorded migration summary supports.""" + summary = DOC / "FULL_MIGRATION_SUMMARY.json" + if not summary.is_file(): + return "in_progress" + record = json.loads(summary.read_text(encoding="utf-8")) + if record.get("phase") != "local_finalized_not_uploaded": + raise SystemExit(f"{summary}: unexpected phase {record.get('phase')!r}") + if record.get("human_full_approval"): + raise SystemExit( + f"{summary}: records a human approval, but no published wording is " + "defined here; a published release needs its own banner" + ) + return "accepted_pending_review" + + +def build_contract(state): + """The canonical contract with the three dataset-specific edits applied.""" + text = canonical_text("CONTRACT.md") + lines = text.split("\n") + status_index = next( + index for index, line in enumerate(lines) if line.startswith("状态:") + ) + if lines[status_index].count("状态:") != 1 or not lines[status_index].startswith( + "状态:合同草案" + ): + raise SystemExit(f"line {status_index + 1} is not the canonical 状态 line") + if text.count(V10_LINK) != 1: + raise SystemExit(f"the canonical text no longer links {V10_LINK} exactly once") + lines[status_index] = STATES[state]["status"] + body = "\n".join(lines).replace(V10_LINK, V10_LINK_LOCAL) + #: banner, one blank line, then the canonical text; and no trailing newline, + #: which is how both published releases ship it + return f"{STATES[state]['banner']}\n\n{body}".rstrip("\n") + + +def check_mapping_record(): + """RHD's own field mapping, kept under its v1.0-era name and cross-checked. + + This release does not rewrite the file, so the builder does the next best + thing: it confirms the mapping record is there and that every ``script/...`` + path it points a reader at actually exists. A restructured ``script/`` that + left these references stale would send the reviewer to a file that is gone. + """ + path = DOC / "RAW_MAPPING.md" + if not path.is_file(): + raise SystemExit(f"{path} is missing; it is the 字段映射 CONTRACT 2 requires") + text = path.read_text(encoding="utf-8") + #: the record points a reader at entry points, not only at Python ones: it also + #: names the tool package's README, which is the file that documents how to run + #: the chain. Matching only ``.py`` would let that reference go stale unnoticed. + referenced = sorted(set(re.findall(r"`(script/[A-Za-z0-9_./-]+\.(?:py|md|sh))`", text))) + if not referenced: + raise SystemExit(f"{path} names no script/ entry point") + missing = [rel for rel in referenced if not (RELEASE_ROOT / rel).is_file()] + if missing: + raise SystemExit(f"{path} points at {len(missing)} file(s) that are not in " + f"the release: {missing}") + return path, referenced + + +def sync_history(): + """``doc/history-v1.0/`` is the v1.0 document set, reproduced. + + The published releases keep the previous version's documents here, so a reader + can compare the two without leaving the release. RHD's v1.0 ``doc/`` is the + contract, its schema, the raw mapping and the 24-sample review pages; the whole + set is carried over, and anything under the target that the source no longer + has is removed so the copy cannot drift. + """ + source = V10 / "doc" + if not source.is_dir(): + raise SystemExit(f"{source} is missing; it is what history-v1.0 reproduces") + wanted = {p.relative_to(source).as_posix() for p in source.rglob("*") if p.is_file()} + for path in sorted(source.rglob("*")): + if not path.is_file(): + continue + target = HISTORY / path.relative_to(source) + target.parent.mkdir(parents=True, exist_ok=True) + shutil.copy2(path, target) + removed = [] + if HISTORY.is_dir(): + for path in sorted(HISTORY.rglob("*")): + if path.is_file() and path.relative_to(HISTORY).as_posix() not in wanted: + path.unlink() + removed.append(path.relative_to(RELEASE_ROOT).as_posix()) + return len(wanted), removed + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("--dry-run", action="store_true", + help="report what would be written and change nothing") + args = parser.parse_args(argv) + + state = state_name() + print(f"banner state: {state}") + mapping, referenced = check_mapping_record() + print(f" doc/RAW_MAPPING.md: {sha256(mapping)[:16]} {mapping.stat().st_size} B " + f"(RHD's own record, name kept; {len(referenced)} script reference(s) resolve)") + #: transformed documents are authored here and normalised to LF; copied ones + #: are other artifacts reproduced byte for byte, line endings included + transformed = { + "CONTRACT.md": build_contract(state).encode("utf-8"), + "MIGRATION.md": canonical_bytes("MIGRATION.md"), + } + copied = { + "schema.json": canonical_bytes("schema.json"), + "V1_0_SEMANTICS.md": (V10 / "doc" / "CONTRACT.md").read_bytes(), + } + for name, payload in transformed.items(): + write(DOC / name, payload, "transformed", args.dry_run) + for name, payload in copied.items(): + write(DOC / name, payload, "copied", args.dry_run) + if not args.dry_run: + print(f" doc/CONTRACT.md banner: {STATES[state]['banner']}") + + if args.dry_run: + source = V10 / "doc" + print(f" would sync doc/history-v1.0/ from {source} " + f"({sum(1 for p in source.rglob('*') if p.is_file())} files)") + else: + count, removed = sync_history() + print(f" doc/history-v1.0/: {count} files synced from {V10 / 'doc'}" + f"{f', {len(removed)} stale file(s) removed' if removed else ''}") + return 0 + + +def write(target, payload, kind, dry_run): + if dry_run: + print(f" would write doc/{target.name} ({len(payload)} bytes, {kind})") + return + before = sha256(target) if target.is_file() else None + target.write_bytes(payload) + after = sha256(target) + print(f" doc/{target.name}: {len(payload)} bytes, {kind}, sha256 {after[:16]}" + f"{'' if before != after else ' (unchanged)'}") + + +if __name__ == "__main__": + sys.dont_write_bytecode = True + raise SystemExit(main()) \ No newline at end of file diff --git a/RHD/shared-v1.1/script/rhd_v1_1/README.md b/RHD/shared-v1.1/script/rhd_v1_1/README.md new file mode 100644 index 0000000000000000000000000000000000000000..a52834b45832fe31560e7a28c7c2d76fbf60be5f --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/README.md @@ -0,0 +1,272 @@ +# RHD shared-v1.1 tools + +RHD 的 `shared-v1.0 → shared-v1.1` 纯存储迁移工具,以及迁移之后的验收与复核。v1.1 只改一件事:数值张量 +与其 `valid` 合并为每组一个 `.pt` 字典(叶子形如 `{"data": Tensor, "valid": BoolTensor}`)。语义、采样、 +帧数、dtype、逐元素数值、NaN 位置、有效性判据、单位、坐标系、手槽、划分、来源与 `valid_policy` 全部 +不变(见 `spec/CONTRACT.md` §6.3)。 + +``` +script/rhd_v1_1/ +├── warehouse.py v1.1 布局库:Registry.resolve / BundleWriter / BundleReader / expanded_all_known +├── rhd_common.py RHD 适配:路径、registry 驱动的读写、形状符号解析、逐组件结构校验、游离 valid 检测 +├── convert.py raw → shared(需要 raw/data/RHD_v1-1.zip,本机没有;已按 v1.1 适配但未端到端验证) +├── migrate.py v1.0 → v1.1 迁移(可断点续跑) +├── verify.py 验收:逐视图对 v1.0 源做字节级比对(CONTRACT §6) +├── validate.py 全量结构校验 + 重新生成发布清单(清单写到发布树外) +├── read_sequence.py 读取器路径验收:整片分片、全部组件(CONTRACT §6.5) +├── render.py 全量后抽样的人工复核页:12 个视图的 HTML + QC 报告 + index +├── spec/ 本版规范原文:CONTRACT.md、MIGRATION.md、schema.json +└── README.md +``` + +`warehouse.py` 与各数据集共用,逐字节相同(sha256 `fe62f79f9228475e23764d57c923e781422951ad5ed6680337bf67e120a63db2`); +RHD 自己的适配都在 `rhd_common.py`。v1.0 的 `script/` 与合同原样保存在 `script/v1_0_snapshot/`,v1.0 的 +文档集在 `doc/history-v1.0/`。 + +## 运行 + +包位于 `/shared-v1.1/script/rhd_v1_1/`,所以发布树与数据集根无需传参: + +```bash +# 试跑,核对会迁移哪些视图(不写任何文件) +python shared-v1.1/script/rhd_v1_1/migrate.py --dry-run + +# 换一个分片先试 +python shared-v1.1/script/rhd_v1_1/migrate.py --views training_00000512 + +# 迁移(可重复执行;已完成且 checkpoint 重新核验通过的视图跳过) +python shared-v1.1/script/rhd_v1_1/migrate.py --resume + +# 验收:每个已迁移视图与其 v1.0 源逐字段比对(CONTRACT §6) +# --complete 走的是 v1.0 源树里的全部视图,所以两棵树都齐了才用;增量期用 --views 限定范围。 +python shared-v1.1/script/rhd_v1_1/verify.py --complete \ + --report tmp/rhd-tools/acceptance.json + +# 增量期间加 --no-manifest:清单要遍历整棵树重算 sha256(CONTRACT §6.4),那是最终验收必须做的, +# 但边迁边验时每次都为一份随后会被覆盖的清单付一遍哈希不值得。接受发布的那一次不许带这个开关。 +python shared-v1.1/script/rhd_v1_1/verify.py --views training_00000512 --no-manifest + +# 读取器路径验收:把一片分片按消费者读法整片打开,查 RGB↔帧数↔标注、相机身份与 visibility 的共享叶 +python shared-v1.1/script/rhd_v1_1/read_sequence.py training_00000512 \ + --report tmp/rhd-tools/read-sequence.json + +# 全量结构校验(只读发布树,不需要 v1.0 源;重建树外发布清单 tmp/rhd-tools/PUBLISH_MANIFEST.json) +python shared-v1.1/script/rhd_v1_1/validate.py --expect-views 87 --rewrite-check 2 +``` + +**跑之前请设 `PYTHONDONTWRITEBYTECODE=1`**(或 `export PYTHONDONTWRITEBYTECODE=1`)。发布树里不允许出现 +`__pycache__`:它不在清单里、不是发布内容,却会随工具运行落进 `script/`,让树与清单对不上。`render.py`、 +`validate.py`、`read_sequence.py` 在模块内设了 `sys.dont_write_bytecode`,所以自带这一纪律; +`migrate.py`、`verify.py`、`convert.py` 没有设——它们的摘要已被 `registration.json` 记为 +`hw11-migrate/1`,为加这一行而改动它们会让 `--resume` 触发一次全量重迁,因此保持原样,靠环境变量保证。 +(另:别用 `python -m py_compile` 做语法检查,它会写 `__pycache__`;用 `python -c "import ast; ast.parse(open(path).read())"`。) + +### 收尾验收顺序 + +发布清单**不在发布树里**。它记录发布树每个文件的 sha256,而树内的副本描述不了自己写下去之后的树—— +写完清单本身就又改了树,清单永远落后一次编辑;所以它按 H2O、dex-ycb 的约定落在树外 +`tmp/rhd-tools/PUBLISH_MANIFEST.json`(H2O README:`PUBLISH_MANIFEST.json` 在发布树外记录可发布路径、 +大小与 SHA256),发布树里不含清单,也就不需要从自己的哈希里排除任何东西。 + +顺序仍然是**清单最后重建**:`FULL_MIGRATION_SUMMARY.json` 与重建后的 `doc/{CONTRACT,MIGRATION}.md`、 +`doc/V1_0_SEMANTICS.md`、复核页都是发布树里的文件,先建清单再写它们,清单记下的就不是最终字节。 +反过来,汇总又引用校验报告的结论,所以两者的依赖是单向的——清单引用汇总,汇总只引用**更早那次**校验。 +全套顺序: + +```bash +cd + +# 1 收口迁移:把「已就绪但还没迁」的视图补齐,--resume 会重核 checkpoint。 +# 本机这一步是端到端重跑过的(不带 --resume,故每个视图都重做),使 registration.json 里记的 +# 工具摘要就是树里这一份;重跑后 957 个数据文件逐一比对,与重跑前逐字节相同。 +python shared-v1.1/script/rhd_v1_1/migrate.py --resume + +# 2 逐视图字节级验收(CONTRACT 6)。这里带 --no-manifest:清单要遍历整棵树重算 sha256,而它早于 +# 第 6、7 步,建了也会被第 8 步覆盖。发布清单由第 8 步的 validate.py 最后重建(CONTRACT 6.4 要求的 +# 是清单被重建且正确,不要求由本工具来写) +python shared-v1.1/script/rhd_v1_1/verify.py --complete --no-manifest \ + --report tmp/rhd-tools/acceptance.json + +# 3 读取器路径验收(CONTRACT 6.5),报告放进发布树随发布保留 +python shared-v1.1/script/rhd_v1_1/read_sequence.py --all --quiet \ + --report shared-v1.1/doc/validation/read_sequence_sweep.json + +# 4 全量结构校验,报告作为汇总的守卫依据。同样带 --no-manifest:本步写下的 +# doc/validation/validate_report.json 早于第 6、7 步的文件,此时建的清单描述的不是最终字节; +# 第 8 步会覆盖这份报告并最后重建清单 +python shared-v1.1/script/rhd_v1_1/validate.py --expect-views 87 --rewrite-check 2 \ + --no-manifest + +# 5 复核页渲染:整个评估 split(6 片全取)+ 用种子在训练 split 里均匀抽 6 片 = 12 个视图,写进 +# doc/validation/。必须在第 6 步之前:复核页是发布树里的文件,汇总要数到它们,清单要哈希它们的 +# 最终字节。本步同时写下供人工复核的 index.html 与 V1_1_VALIDATION.json +python shared-v1.1/script/rhd_v1_1/render.py --workers 4 + +# 6 汇总:每一步的数字都从上面几份报告读出来,不手写;条件不满足就拒写 +python tmp/rhd-tools/write_full_migration_summary.py --expect-views 87 + +# 7 重建 doc/ 的规范与两份 RHD 自有文档的横幅(banner 由第 6 步的汇总推出),并刷新 doc/history-v1.0/ +python shared-v1.1/script/provenance/operations/build_rhd_docs.py + +# 8 最后重建发布清单(写到树外 tmp/rhd-tools/PUBLISH_MANIFEST.json),此时它才覆盖第 6、7 步写下的 +# 文件。这里带 --rewrite-check 2:随发布保留的 validate_report.json 是**本步**写下的那一份 +# (第 4 步的会被覆盖),所以重写检查的样本要留在这一步 +python shared-v1.1/script/rhd_v1_1/validate.py --expect-views 87 --rewrite-check 2 +``` + +第 6 步的守卫是刻意的:迁移视图数不足、**源树**视图数不足、源里仍有未迁移视图,或者验收/校验没通过, +汇总都会被拒写,横幅也就翻不过去。注意守卫**不**要求验收那一次建过清单:发布清单是第 8 步的产物, +验收建的那份只会被覆盖。 + +RHD 全树的规模比 ARCTIC 小两个量级(957 个数据文件、约 6.8 GB 源素材,而不是 90,626 个文件、737 GiB), +所以上面 8 步在本机是分钟级而非小时级;仍然照同样的顺序做,是因为顺序由**依赖**决定,不由耗时决定。 + +驱动与证据补齐的脚本放在发布树**之外**的 `tmp/rhd-tools/`:汇总、源提交登记、清单审计都在那里, +不随发布上传。 + +## 运行期的两条纪律(MIGRATION §3/§4) + +**单实例锁。** `migrate.py` 在 `tmp/migration-v11/migration.lock` 上取 `flock` 并持有到退出;第二个 +进程会被拒绝并打印持锁者,而不是交错写入。就地更新不是整体原子操作,两个迁移进程写同一个目标视图, +会各自留下一个描述着「已被对方覆盖的树」的 checkpoint——不可信的 checkpoint 比没有更糟。`--dry-run` +不取锁。 + +**登记自足。** `tmp/migration-v11/registration.json` 记源与目标的 release/schema 摘要、源路径、工具摘要 +(`migrate.py`、`warehouse.py`、`schema.json`、Python 与 torch 版本)、逐视图的源/目标 metainfo 摘要与 +产出 bundle 摘要、被替换的源引用、错误与 traceback。checkpoint 也记录同一份工具摘要,所以**改动 +`migrate.py`、`warehouse.py` 或 `schema.json` 会让 `--resume` 重新迁移**(MIGRATION §4.4:续跑必须核对 +输入与工具版本,不能只看文件存在)。摘要按文件点名,不含目录:改 `verify.py`、`validate.py`、 +`read_sequence.py`、`render.py` 只影响校验与页面,不会让已迁移的视图重做。 + +RHD 的源 HF 固定提交登记在**发布树外**的 `tmp/rhd-tools/source_registration.json`(仓库、提交号、该提交 +下 `RHD/shared-v1.0` 的文件清单摘要、文件数与字节数、逐文件完整性结果),而不是像 ARCTIC 那样由 +`migrate.py --source-revision/--source-manifest` 参数写进 `registration.json`:ARCTIC 是边拉边迁、拉取状态 +决定哪段可迁,提交号必须与迁移登记绑在一起;RHD 是一次性拉全的,把提交号写进迁移工具反而会让 +`registration.json` 的工具摘要与树里那份对不上,白白触发一次全量重迁。汇总以 +`source_release.pinned_commit_record` 一节引用该记录。 + +## 迁移对 RHD 的六处适配 + +**1. 一个分片一个相机。** 87 个视图 = 81 个 `training_*`(`split: train`)+ 6 个 `evaluation_*` +(`split: test`),每个视图都是 `data//camera/`,`camera_id` 恒为 `camera`。每片最多 512 张 +独立图像,尾片不补帧,所以 `training_00040960` 是 298 张、`evaluation_00000512` 是 168 张——这是 +RHD 唯一的两个「非满片」,也是复核页里被强制抽中的边界样本。帧数合计 41,258 + 2,728 = 43,986。 + +**2. `frames.jsonl` 是 RHD 自己的图像表。** 每行一张已发布图像,`source_frame_id` 是源图像 id, +`source_locator.annotation_index` 与它**相等**(RHD 的图像 id 就是官方标注数组的行号), +`sample_id` 形如 `RHD//`,其目录名必须与该视图声明的 `split` 一致 +(`SOURCE_DIRECTORY_SPLIT = {"training": "train", "evaluation": "test"}`)。这与 ARCTIC 不同:ARCTIC 的 +`sync_id` 会指向官方标注里可能不存在的行(那类帧上被索引组件必须 invalid),RHD 每张图都有标注, +所以校验器断言的是「两者相等」,而不是「可为 null 时不得 valid」。 + +**3. `visibility` 是两个关键点组件共享的一个 bundle 叶。** v1.0 里 `xyz` 与 `uv` 共用同一个 +`annotation/keypoints/visibility.pt`,且它没有独立 valid(标量 `"valid": true`)。v1.1 依 +`tensor_attributes.visibility` 把它展开为显式全真 bool 张量(形状 `["T", 2, "K"]`,K 取自 +`schema.keypoints["rhd21/v1"].count = 21`),**不从 pose 的 valid 推断**,标量键被 `valid_ref`/`valid_key` +取代。registry 只固定**一个** `visibility` 条目,所以两个组件引用同一 `(bundle, keys)`,迁移时按同一 +字节写入一次;若第二个组件算出的字节不同,迁移直接报错,不静默取其一。`read_sequence.py` 用「按各自 +声明的属性读回来、字节相同」来验收这件事在成品树里成立。 + +**4. 相机恒为针孔,没有独立畸变组件。** 与 ARCTIC 相反(ARCTIC 的相机 0 带 8 参数畸变向量): +RHD 的 `camera.intrinsic` 就是全部相机模型(`model: pinhole`、`schema_id: camera/pinhole/v1`、 +`image_size: [320, 320]`),所以 `verify.py`/`validate.py` 里那些畸变专项检查**在 RHD 没有对应物**; +将来若源里冒出畸变向量,会被当成「多出来的未登记字段」抓住,而不是被悄悄吸收。 + +**5. v1.0 的转换与复核脚本跑不起来(v1.0 缺陷)。** `shared-v1.0/script/convert_rhd.py` 与 +`render_full_random_review.py` 在首次媒体调用处会 `NameError`:`rhd_common.py` 从未绑定它们调用的 `ff`。 +只有不调用 `ff` 的 `validate_rhd.py` 能跑——这也解释了 v1.0 只留下了校验类证据。v1.1 的 `rhd_common.py` +补上了 `ff = ffmpeg` 别名并在注释中记明原因。 + +**6. 读取器 sweep 不需要并行驱动。** ARCTIC 全发布 3051 个视图,所以它的收尾第 3 步用的是 +`tmp/arctic-tools/read_sequence_sweep.py`(多进程、import 发布的 `read_sequence.py`)。RHD 只有 87 片、 +每片一个相机,`read_sequence.py --all` 本身就覆盖全发布并通过同一批具名检查,因此第 3 步直接调它, +报告写到 `doc/validation/read_sequence_sweep.json`。两条路径的保证相同:做判据的是**随发布保留的那个 +读取器**,不是复刻品。 + +## 已知的保留项 + +- **本机没有 raw。** `RHD/raw/` 与官方 `RHD_v1-1.zip` 不在本地,只有已发布的 `shared-v1.0`。因此 + `convert.py` 与复核页里「逐帧与 raw 对照」的部分无法在本机重跑:`convert.py` 已按 v1.1 适配(改用 + bundle 写入、经 registry 读回做投影检查、完整性清单改列 bundle),但其端到端正确性**未在本次运行中 + 验证**;v1.0 的转换证据仍成立并保留在 `doc/history-v1.0/`。 +- **本机同时保留一份 `shared-v1.0`**(注册表 `release_layout` 要求升级后只留 `shared-v1.1`)。这是明确 + 登记的偏离,原因是用户要求暂缓删除(`先暂时保留着`)。这份 `shared-v1.0` 是本次迁移的输入与逐字节 + 比对基准,**不是**要发布的第二份数据;上传时必须只新增 `shared-v1.1`。 +- **人工视觉验收未重做。** 本次改的是物理布局,像素内容与 v1.0 逐字节相同(媒体硬链接、数值字节相等), + 故 v1.0 的人工结论不受影响;但这是**推理**,不是本次的实测。 +- **v1.0 的历史文件名不改。** `doc/RAW_MAPPING.md`(raw→share 映射 *与* v1.0→v1.1 数值布局合在一份)与 + `doc/REPORT.md`(本发布的验收报告)沿用 v1.0 时代的名字;其余发布的对应文档叫 + `RAW_TO_SHARED.md`、验收内容只在 `FULL_MIGRATION_SUMMARY.json` 里。`build_rhd_docs.py` 因此不重写这 + 两份,而是**核对**它们(`RAW_MAPPING.md` 指向的每个 `script/...` 路径必须真实存在),名字保留是刻意的。 +- **状态标志不是全发布统一的。** RHD 各视图的媒体校验策略、`omitted_components` 等状态键按视图取各自 + 的来源值,纯存储迁移原样保留(CONTRACT §6.3)。因此状态标志的「不变」只能逐视图对着**它自己的 + v1.0 源**判定——`verify.py` 正是这么做的(除 `schema_version`、`release_id`、`components` 三个迁移 + 必改的键外,其余顶层键逐字比对)。 + +## 证据 + +- `doc/validation/validate_report.json`:全量结构校验结果(视图数、帧数、各判据、每视图文件数、 + bundle 数、重写检查样本、发布清单的路径与文件数)。 +- `doc/validation/read_sequence_sweep.json`:CONTRACT §6.5 的读取器路径验收在全发布上的汇总(分片数、 + 读到的字段数、声明的媒体数、失败列表),由随发布的 `read_sequence.py --all` 产出。 +- `doc/FULL_MIGRATION_SUMMARY.json`:全量迁移汇总,逐项从上面的报告与 `tmp/` 记录里读出来。 +- `tmp/rhd-tools/acceptance.json`(**树外**):`verify.py` 的逐视图逐字段字节级比对明细(87 视图、 + 435 个合并字段、261 个保留文件)。 +- `tmp/rhd-tools/source_registration.json`(**树外**):源 HF 固定提交、该提交下 `RHD/shared-v1.0` 的 + 文件清单摘要与逐文件完整性结果。 +- `tmp/rhd-tools/PUBLISH_MANIFEST.json`(**树外**,不是发布内容):发布树逐文件 sha256,第 8 步最后 + 重建;按 H2O、dex-ycb 的约定放在树外,理由见上一节。 +- `doc/history-v1.0/`(58 个文件)与 `script/v1_0_snapshot/{doc,script}`(2 + 5 个文件):原样搬运的 + v1.0 文档、合同与脚本,属 CONTRACT §6.4「未修改文件须对照原始可信摘要」。 +- ARCTIC 还额外带 `doc/validation/negative_controls.txt`(对一份真实视图逐一注入 11 类缺陷,确认校验器 + 逐条被具名检查抓到)。RHD 没有照搬这个反向对照:它是为 ARCTIC 特有的 `unknown` 相机路径与 + `sync_id`/`source_annotation_index` 规则做的,而 RHD 这两条规则都不存在(相机恒为针孔、 + `annotation_index` 恒等于 `source_frame_id`)。RHD 的证据集因此是 H2O 已发布约定 + (`index.html` + `V1_1_VALIDATION.json` + 逐视图页)加 ARCTIC 的 + `validate_report.json`/`read_sequence_sweep.json`。这是**如实说明的缺口**,不是已经做过的事。 + +验收只证明「重新打包在数值上逐字节同一」,不等同于人工目视确认(CONTRACT §6.5)。 + +**逐视图 HTML 目视页。** 与 H2O、dex-ycb、ARCTIC 一样,本发布在 `doc/validation/` 里带一套逐视图的 +目视页,由本目录的 `render.py` 生成(收尾顺序第 5 步)。它**只读 v1.1 的 bundle**,不引入 v1.0 时代的 +解码与投影栈、外部模型资产或新依赖:v1.0 的 `render_full_random_review.py` 读 `.pt` 文件、需要那份 +本机没有的 `raw/RHD_v1-1.zip`,本页的前身因此从未跑起来过;现在解码用发布树里已有的媒体经 `ffmpeg` +的 `select=` 逐帧取原图(不重编码,逐帧校验字节数),画图用 PIL 与 numpy,投影用 numpy 的 +`xyz @ Kᵀ`(无畸变,因为 RHD 没有畸变)。 + +抽样规则写进随发布保留的 `V1_1_VALIDATION.json`,可复现:种子 20261014;**整个评估 split 全取** +(6 片),训练 split 用种子在片内均匀抽 6 片,并把训练 split 唯一的非满片 `training_00040960` 强制抽中 +(它是唯一一个帧数不等于片长的训练片,边界情形应该被看一眼)。每个分片一个相机,所以 12 片 = 12 个 +视图。RHD 两个 split 悬殊(81 对 6),等额分配会要么抽干一层、要么淹没另一层,所以规则是**写明的** +而不是「均衡」的。 + +每页给出五联面板:抽样帧的原生 RGB;分割区域(左手红、右手蓝,区域 2–17 / 18–33,与 50% 混合); +原生 UV(可见实心、不可见空心——按发布声明的 `visibility` 画,不替它猜);把发布的 `xyz` 用该视图 +自己的 `K` 投影后与发布的 `uv` 叠画;以及 z 深度(viridis,逐图分位拉伸)。每帧的完整数值明细、 +整份 metainfo 与该视图的 QC 报告放在 `
` 里,页尾链接同在本发布树内的 +`../CONTRACT.md`、`../RAW_MAPPING.md`、`../REPORT.md`、`../FULL_MIGRATION_SUMMARY.json` +与 `V1_1_VALIDATION.json`。另配 `<视图>.report.json`(帧数、各数值组件的 shape/dtype/有效计数、抽样 +帧、投影计数)与 `index.html`。每页单文件自包含(图片是内嵌 `data:` URI,无脚本、无外链),因为要随 +发布离线阅读。 + +**RHD 独有的投影核验。** RHD 是各发布里**唯一**同时发布 `uv` 与 `xyz` 的(ARCTIC 没有 uv 序列, +dex-ycb 没有 xyz),而它的相机是一个已知的针孔 `K`、没有畸变,于是「把发布的 `xyz` 投影回去,与发布的 +`uv` 比」成了这套数据自己就能做的核验,不需要任何外部资产。页面做的是**全视图扫描**:每个入选视图的 +**每一帧、每一个关节**都投影并与 `uv` 比对(纯张量运算,不解码像素),只有像素是按抽样帧解码的。 +以 `evaluation_00000000` 为例:全 512 帧、21,356 个可比对点,中位偏差 0.0412 px,最坏点 57.40 px +(第 237 帧,被强制画进页面),**每帧每点都 ≤1 px 的有 495/512 帧**。全量聚合写进 +`V1_1_VALIDATION.json` 的 `projection_qc`。 + +**画外点怎么判定、怎么披露。** RHD 每张图都标注**双手**,而画面 320×320 里通常只有一只——源自己的 +`visibility` 就是「在画内/可见」这个标记。四个视图实测:`visibility` 与「发布的 uv 落在画内」的一致率 +是 97.0–97.9%,不一致的几乎全是「在画内但标为不可见」(遮挡,四个视图分别 495/456/470/371 个关节), +而「标为可见却在画外」在 21,504 个关节里只有 0–1 个。所以 `inside_ratio ≈ 0.5` 是这套数据的**正常 +形状**,不是标定与标注不一致;页面据此把规则写成**点数「标为可见却在画外」**(容差 0,逐视图计入报告 +与 `index.html` 的表),而不是把画内比例不足一半当异常——早期草稿正是按后者写的,实测推翻了它,故 +改成现在这条。 + +这套页面是**人工验收要看的材料**,不是训练输入。CONTRACT §6.5 区分「重打包在数值上逐字节同一」与 +「人工目视验收」,页面给的是后者;渲出页面不等于有人看过。RHD 的 metainfo 里没有可写的复核状态位 +(`upload_authorized`、`full_output_human_review` 不在本 release 的 schema 里),所以「有没有人看过」只由 +汇总的 `human_full_review: "pending"` 与 `publication_authorized: false` 表示,二者都仍是否定的。 +RHD v1.0 自己的复核产物照旧随发布保留在 `doc/history-v1.0/`。 \ No newline at end of file diff --git a/RHD/shared-v1.1/script/rhd_v1_1/convert.py b/RHD/shared-v1.1/script/rhd_v1_1/convert.py new file mode 100644 index 0000000000000000000000000000000000000000..740ffeb03b0737209f1e369f213ecdc0ba390bf3 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/convert.py @@ -0,0 +1,74 @@ +"""Convert the official RHD ZIP into the adjacent shared-v1.1 release.""" +from rhd_common import * +from PIL import Image +import argparse, io, zipfile + +def media(v,name,path,raw,pix,size,profile,codec='ffv1',options=None): + dst=v.p/path;dst.parent.mkdir(parents=True,exist_ok=True);options=options or ['-level','3'] + ff(['-f','rawvideo','-pixel_format',pix,'-video_size',f'{size[0]}x{size[1]}','-framerate','1','-i','pipe:0','-c:v',codec,*options,str(dst)],raw) + restored=ff(['-i',str(dst),'-f','rawvideo','-pix_fmt',pix,'pipe:1']);assert restored==raw,name + v.checks.append({'test':'all_media_bytes_exact','component':name,'frames':v.T}) + actual_pix='bgr0' if codec=='ffv1' and pix=='rgb24' else ('gbrp' if codec=='libx264rgb' else pix) + return storage(profile,codec,actual_pix,size,False,options),restored + +def main(): + argparse.ArgumentParser(description='Convert RHD raw into the adjacent shared-v1.1 release.').parse_args() + torch.set_num_threads(4);root=RELEASE_ROOT + order=load(root/'doc/schema.json')['keypoints']['rhd21/v1']['source_index_map_per_hand'];reports=[] + with zipfile.ZipFile(RAW_ROOT/'RHD_v1-1.zip') as z: + for split,total in [('training',41258),('evaluation',2728)]: + member=next(n for n in z.namelist() if n.endswith(f'{split}/anno_{split}.pickle'));prefix=member.rsplit('/',1)[0] + anno=Restricted(io.BytesIO(z.read(member)),encoding='latin1').load();all_ids=sorted(anno);assert len(all_ids)==total + for offset in range(0,total,512): + ids=all_ids[offset:offset+512];t=len(ids) + sequence=f'{split}_{offset:08d}';complete=root/'data'/sequence/'camera/metainfo.json' + if complete.is_file(): + #: shared-v1.1: numeric fields merged into per-group bundles, so the completeness + #: check names the bundles rather than the standalone per-component tensors. + meta=load(complete);required=['observation/rgb.mkv','observation/rgb_valid.pt','observation/depth.mkv','observation/depth_valid.mkv','annotation/segment/mask.mkv','annotation/segment/mask_valid.pt','annotation/segment/instances.jsonl','annotation/keypoints/keypoints.pt','camera/camera.pt','camera/frames.jsonl'] + if meta.get('num_frames')!=t or not all((complete.parent/path).is_file() for path in required):raise RuntimeError(f'Existing shard is incomplete: {complete.parent}') + reports.append({'split':split,'frames':t,'sequence':sequence,'status':'already_complete'});continue + v=View('RHD',sequence,'camera',ids,[320,320],{'archive':'raw/data/RHD_v1-1.zip','annotation':member},kind='image',split='train' if split=='training' else 'test') + v.m.update(schema_version='hand-warehouse/1.1',view_type='exo',storage_revision='lossless-video-2026-09-18',split_scheme='RHD_official_training_evaluation',split_source_locator={'archive':'raw/data/RHD_v1-1.zip','member_prefix':prefix},sample_type='image') + v.m['sampling'].update(type='independent',selection='all source independent images sorted by source ID',shard_max_images=512) + for row,i in zip(v.frames,ids):row.update(sample_id=f'RHD/{split}/{i:05d}');row['source_locator'].update(annotation_index=i,member=f'{prefix}/color/{i:05d}.png') + rgb=np.stack([np.asarray(Image.open(io.BytesIO(z.read(f'{prefix}/color/{i:05d}.png'))).convert('RGB')) for i in ids]) + rgbstore,_=media(v,'rgb','observation/rgb.mkv',rgb.tobytes(),'rgb24',[320,320],'mkv/ffv1_rgb/v1') + other=v.p/'observation/rgb_candidate.mkv';candidate,_=media(v,'rgb_candidate','observation/rgb_candidate.mkv',rgb.tobytes(),'rgb24',[320,320],'mkv/h264_rgb_lossless/v1','libx264rgb',['-crf','0','-preset','medium','-g','32']) + candidate['pixel_format']='gbrp' + sizes={'ffv1':(v.p/'observation/rgb.mkv').stat().st_size,'h264_rgb_lossless':other.stat().st_size} + if other.stat().st_size<(v.p/'observation/rgb.mkv').stat().st_size:other.replace(v.p/'observation/rgb.mkv');rgbstore=candidate + else:other.unlink() + v.add('rgb','observation/rgb.mkv','rgb/uint8/v1',['T','height','width','channel'],np.ones(t,bool),storage=rgbstore,storage_fps=1,timebase_role='index_only') + v.intrinsic(np.stack([anno[i]['K'] for i in ids])) + for key,stem,n,unit in [('xyz','xyz',3,'m'),('uv_vis','uv',2,'pixel')]: + a=np.stack([np.asarray(anno[i][key])[...,:n].reshape(2,21,n)[:,order] for i in ids]);v.numeric('keypoints_'+stem,'annotation/keypoints/'+stem+'.pt','keypoints/'+stem+'/v1',a,np.ones((t,2,21),bool),['T','hand','joint','coordinate'],unit=unit,keypoint_schema='rhd21/v1',coordinate_frame='camera' if n==3 else 'rgb_image',method='Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order',source_index_map=order) + #: CONTRACT 3: the source declares visibility all-known, so v1.1 writes an explicit + #: all-true bool tensor at the attribute's valid_shape instead of a scalar valid. + #: The registry fixes one ``visibility`` entry, shared by both keypoint components. + vis=np.stack([np.asarray(anno[i]['uv_vis'])[:,2].reshape(2,21)[:,order].astype(bool) for i in ids]) + v.attribute(['keypoints_xyz','keypoints_uv'],'visibility','annotation/keypoints/visibility.pt',['T','hand','joint'],vis,meaning='source per-keypoint visibility',method='native uv_vis visibility reordered with coordinates') + deps=[];masks=[];mapping=[] + for fi,i in enumerate(ids): + a=np.asarray(Image.open(io.BytesIO(z.read(f'{prefix}/depth/{i:05d}.png'))),dtype=np.uint16);code=a[:,:,0]*256+a[:,:,1];deps.append(code.astype(np.float32)/65535*5) + mask=np.asarray(Image.open(io.BytesIO(z.read(f'{prefix}/mask/{i:05d}.png')))).astype(np.uint16);assert mask.max()<=33;mask[mask==0]=65534;masks.append(mask) + mapping.append({'frame_index':fi,'labels':[{'mask_value':int(c),'category_id':'background' if c==65534 else ('person' if c==1 else 'hand'),'entity_id':None if c in [65534,1] else ('hand_left' if c<=17 else 'hand_right'),'part_id':None,'source_instance_id':0 if c==65534 else int(c),'source_attributes':{'native_region_code':0 if c==65534 else int(c)}} for c in np.unique(mask)]}) + depth=np.stack(deps).astype('>16).astype(' shared-v1.1 migration for one hand-warehouse dataset. + +Ships inside the release as the record of how this tree was produced. Run from this +package's directory (``script/rhd_v1_1/``) and it locates the adjacent dataset root, +the source ``shared-v1.0/`` and the target ``doc/schema.json`` itself; the paths stay +overridable so the same tool migrates another dataset. + +Only the tensor layout changes (CONTRACT 1-5): numeric tensors and their validity +move into per-group bundles, metainfo references gain ``data_key``/``valid_key`` +with ``pt/tensor_bundle/v1`` storage, and the two version fields are bumped. +Sampling, frame counts, dtypes, values, NaN bit patterns, validity judgements, +units, coordinate frames, hand slots, split and ``valid_policy`` are carried over +untouched (CONTRACT 6.3). + +The source tree is never written to: this is a copy-out. Unchanged media and +JSONL are hardlinked by default, so nothing is re-encoded and no bytes are +duplicated (MIGRATION 2, 6). Every view is checkpointed with source and output +digests so ``--resume`` re-verifies rather than trusting file existence +(MIGRATION 4.4). +""" + +from __future__ import annotations + +import argparse +import fcntl +import json +import os +import shutil +import sys +import time +import traceback +from pathlib import Path + +import torch + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +from warehouse import ( # noqa: E402 + BUNDLE_PROFILE, + DATA_TERMINAL, + RELEASE_ID, + SCHEMA_VERSION, + VALID_TERMINAL, + BundleWriter, + Registry, + expanded_all_known, + sha256_bytes, + sha256_file, + same_tensor, +) + +V10_SCHEMA_VERSION = "hand-warehouse/1.0" +TOOL_ID = "hw11-migrate" +TOOL_REVISION = "1" + +#: this package lives in /shared-v1.1/script/rhd_v1_1, so the release and +#: the dataset root beside it need no arguments. +RELEASE_ROOT = Path(__file__).resolve().parent.parent.parent +DATASET_ROOT = RELEASE_ROOT.parent + + +# -------------------------------------------------------------------------- +# filesystem helpers +# -------------------------------------------------------------------------- + +def _clone(src: Path, dst: Path) -> None: + """FICLONE (reflink) copy where the filesystem supports it.""" + with open(src, "rb") as reader, open(dst, "wb") as writer: + fcntl.ioctl(writer.fileno(), 0x40049409, reader.fileno()) + + +def materialise(src: Path, dst: Path, mode: str) -> str: + """Place an unchanged file at ``dst`` without ever re-encoding it. + + An existing destination is never trusted on existence alone: it must be the + same inode as the source, or match it by SHA256, otherwise it is replaced. + """ + dst.parent.mkdir(parents=True, exist_ok=True) + if dst.exists(): + if os.path.samefile(src, dst): + return "same-inode" + if dst.stat().st_size == src.stat().st_size and sha256_file(dst) == sha256_file(src): + return "present-verified" + temp = dst.with_name(dst.name + ".hw11-tmp") + temp.unlink(missing_ok=True) + shutil.copy2(src, temp) + os.replace(temp, dst) + if mode in ("hardlink", "reflink"): + link = os.link if mode == "hardlink" else (lambda a, b: _clone(Path(a), Path(b))) + try: + link(src, dst) + return mode + except OSError: + pass + shutil.copy2(src, dst) + return "copy" + + +def load_tensor(path: Path) -> torch.Tensor: + tensor = torch.load(path, map_location="cpu", weights_only=True) + if not isinstance(tensor, torch.Tensor): + raise TypeError(f"{path}: expected a Tensor, got {type(tensor).__name__}") + return tensor + + +# -------------------------------------------------------------------------- +# per-view migration +# -------------------------------------------------------------------------- + +def _declared_shape(registry: Registry, owner: str, spec: dict, kind: str): + """The registry's declared ``(shape, valid_shape)`` for this field.""" + if kind == "attribute": + return None, registry.visibility_valid_shape(spec["axes"]) + schema_id = spec.get("schema_id") + entry = registry.components.get(schema_id) + if entry is None: + raise KeyError(f"{owner}: schema_id {schema_id!r} is not registered") + return entry.get("shape"), entry.get("valid_shape") + + +def _rewrite_reference(spec: dict, bundle_rel: str, keys: list, valid: torch.Tensor) -> dict: + """CONTRACT 5: same-file data/valid refs plus explicit dictionary keys.""" + before = { + "data_ref": spec.get("data_ref"), + "valid_ref": spec.get("valid_ref"), + "valid": spec.pop("valid", ""), + "valid_axes": spec.get("valid_axes"), + } + spec["data_ref"] = bundle_rel + spec["data_key"] = list(keys) + [DATA_TERMINAL] + spec["valid_ref"] = bundle_rel + spec["valid_key"] = list(keys) + [VALID_TERMINAL] + spec["storage"] = {"profile": BUNDLE_PROFILE} + spec["valid_storage"] = {"profile": BUNDLE_PROFILE} + # visibility metadata requires valid_axes (tensor_attributes.visibility); + # v1.0 wrote it as axes[:valid.ndim], so deriving it restates the same value. + axes = spec.get("axes") + if axes and not spec.get("valid_axes"): + spec["valid_axes"] = list(axes)[:valid.ndim] + return before + + +def _stage(registry, src_view, dst_view, writers, consumed, records, staged, + owner, spec, kind, num_frames): + """Stage one registered numeric field into its bundle. No-op when unmerged.""" + ref = spec.get("data_ref") + if not ref: + return + resolved = registry.resolve(ref) + if resolved is None: + return # media / JSONL / assets: preserved verbatim + bundle_rel, keys, entry = resolved + field = "/".join(keys) + + schema_id = spec.get("schema_id") + allowed = entry.get("schema_ids") + if allowed is not None and schema_id not in allowed: + raise ValueError(f"{owner}: schema_id {schema_id!r} not allowed in {bundle_rel}:{field}") + if entry.get("attribute_id") and kind != "attribute": + raise ValueError(f"{owner}: {bundle_rel}:{field} is an attribute entry") + if kind == "attribute" and not entry.get("attribute_id"): + raise ValueError(f"{owner}: {bundle_rel}:{field} is not declared as an attribute") + + source = src_view / ref + if not source.is_file(): + raise FileNotFoundError(f"{owner}: {ref} is registered but missing") + + data = load_tensor(source) + declared_shape, declared_valid_shape = _declared_shape(registry, owner, spec, kind) + if declared_shape and declared_shape[0] == "T" and data.shape[0] != num_frames: + raise ValueError( + f"{owner}: {ref} has {data.shape[0]} frames but metainfo says {num_frames}") + + valid_ref = spec.get("valid_ref") + if valid_ref: + valid = load_tensor(src_view / valid_ref) + consumed.add(valid_ref) + origin = f"source tensor {valid_ref}" + else: + if spec.get("valid") is not True: + raise ValueError(f"{owner}: {ref} has neither valid_ref nor a declared all-known scalar") + valid = expanded_all_known(data, declared_valid_shape) + origin = "expanded declared all-known scalar (CONTRACT 3)" + + writer = writers.get(bundle_rel) + if writer is None: + writer = writers[bundle_rel] = BundleWriter(dst_view, bundle_rel) + + # The registry fixes one entry per numeric field, so two components may share + # it (RHD's uv and xyz both read the same source visibility). Staging it + # once is correct; a second owner with different bytes is a registry mismatch. + identity = (bundle_rel, field) + prior = staged.get(identity) + if prior is None: + writer.put(keys, data, valid) + staged[identity] = {"data": data, "valid": valid, "owners": [owner], + "source_data_ref": ref, "source_valid_ref": valid_ref} + shared_with = None + else: + if not (same_tensor(prior["data"], data) and same_tensor(prior["valid"], valid)): + raise ValueError( + f"{owner}: {identity[0]}:{field} is already staged from " + f"{prior['source_data_ref']} with different values") + prior["owners"].append(owner) + shared_with = list(prior["owners"]) + consumed.add(ref) + + before = _rewrite_reference(spec, bundle_rel, keys, valid) + records.append({ + "owner": owner, + "kind": kind, + "entry": f"{bundle_rel}:{field}", + "source_data_ref": before["data_ref"], + "source_valid_ref": before["valid_ref"], + "source_scalar_valid": before["valid"], + "source_valid_axes": before["valid_axes"], + "valid_origin": origin, + "shared_entry_owners": shared_with, + "dtype": str(data.dtype), + "shape": list(data.shape), + "valid_shape": list(valid.shape), + "valid_true": int(valid.sum()), + "valid_false": int((~valid).sum()), + "nan_count": int(torch.isnan(data).sum()) if data.is_floating_point() else None, + }) + + +def migrate_view(registry, src_root, dst_root, sequence, camera, link_mode): + """Migrate one ``/`` view and return its report entry.""" + src_view = src_root / sequence / camera + dst_view = dst_root / sequence / camera + meta_path = src_view / "metainfo.json" + meta = json.loads(meta_path.read_text(encoding="utf-8")) + if meta.get("schema_version") != V10_SCHEMA_VERSION: + raise ValueError(f"{meta_path}: not {V10_SCHEMA_VERSION}") + if (meta.get("sequence_id"), meta.get("camera_id")) != (sequence, camera): + raise ValueError(f"{meta_path}: sequence_id/camera_id do not match the directory") + num_frames = meta["num_frames"] + + dst_view.mkdir(parents=True, exist_ok=True) + writers, consumed, records, staged = {}, set(), [], {} + + for name, component in meta["components"].items(): + if not component.get("available", True): + continue + _stage(registry, src_view, dst_view, writers, consumed, records, staged, + name, component, "component", num_frames) + for attribute, spec in (component.get("attributes") or {}).items(): + _stage(registry, src_view, dst_view, writers, consumed, records, staged, + f"{name}.{attribute}", spec, "attribute", num_frames) + + # camera distortion lives beside the intrinsic parameters (CONTRACT 5) + camera_meta = meta.get("camera") or {} + if camera_meta.get("distortion_ref"): + ref = camera_meta["distortion_ref"] + resolved = registry.resolve(ref) + if resolved is None: + raise ValueError(f"camera.distortion_ref {ref!r} does not resolve to a bundle") + bundle_rel, keys, _ = resolved + data = load_tensor(src_view / ref) + valid_ref = camera_meta.get("distortion_valid_ref") + if valid_ref: + valid = load_tensor(src_view / valid_ref) + consumed.add(valid_ref) + else: + valid = expanded_all_known(data, camera_meta.get("distortion_valid_shape")) + writer = writers.get(bundle_rel) or writers.setdefault( + bundle_rel, BundleWriter(dst_view, bundle_rel)) + writer.put(keys, data, valid) + consumed.add(ref) + camera_meta["distortion_ref"] = bundle_rel + camera_meta["distortion_key"] = list(keys) + [DATA_TERMINAL] + camera_meta["distortion_valid_ref"] = bundle_rel + camera_meta["distortion_valid_key"] = list(keys) + [VALID_TERMINAL] + + # everything not consumed into a bundle is preserved byte-for-byte + passthrough = {} + for path in sorted(src_view.rglob("*")): + if not path.is_file(): + continue + rel = path.relative_to(src_view).as_posix() + if rel in consumed or rel == "metainfo.json": + continue + passthrough[rel] = materialise(path, dst_view / rel, link_mode) + + # MIGRATION 4.2: write, re-read, compare field by field, byte-exactly + verification = [] + for bundle_rel, writer in sorted(writers.items()): + path = writer.save() + if path is None: + continue + reloaded = torch.load(path, map_location="cpu", weights_only=True) + for keys, leaf in _walk_leaf(writer.tree): + node = reloaded + for key in keys: + node = node[key] + for terminal in (DATA_TERMINAL, VALID_TERMINAL): + if not same_tensor(leaf[terminal], node[terminal]): + raise AssertionError(f"{bundle_rel}:{'/'.join(keys)}:{terminal} not byte-identical") + verification.append({ + "bundle": bundle_rel, + "sha256": sha256_file(path), + "size": path.stat().st_size, + "fields": sum(1 for _ in _walk_leaf(writer.tree)), + "comparison": "byte_view_exact_no_tolerance", + }) + + meta["schema_version"] = SCHEMA_VERSION + meta["release_id"] = RELEASE_ID + _write_json(dst_view / "metainfo.json", meta) + + return { + "sequence_id": sequence, + "camera_id": camera, + "num_frames": num_frames, + "source_metainfo_sha256": sha256_file(meta_path), + "source_metainfo_size": meta_path.stat().st_size, + "output_metainfo_sha256": sha256_file(dst_view / "metainfo.json"), + "bundles": verification, + "fields": records, + "passthrough_files": len(passthrough), + "passthrough_modes": sorted(set(passthrough.values())), + "replaced_source_refs": sorted( + {r["source_data_ref"] for r in records} | {r["source_valid_ref"] for r in records if r["source_valid_ref"]}), + } + + +def _walk_leaf(tree, prefix=()): + for key, value in tree.items(): + if isinstance(value, dict) and set(value) == {DATA_TERMINAL, VALID_TERMINAL}: + yield prefix + (key,), value + elif isinstance(value, dict): + yield from _walk_leaf(value, prefix + (key,)) + + +def _write_json(path: Path, value) -> None: + path = Path(path) + path.parent.mkdir(parents=True, exist_ok=True) + temp = path.with_name(path.name + ".tmp") + temp.write_text(json.dumps(value, ensure_ascii=False, indent=2, allow_nan=False) + "\n", + encoding="utf-8") + temp.replace(path) + + +# -------------------------------------------------------------------------- +# dataset driver +# -------------------------------------------------------------------------- + +def discover_views(src_root: Path): + views = [] + for meta in sorted(src_root.glob("data/*/*/metainfo.json")): + views.append((meta.parent.parent.name, meta.parent.name)) + return views + + +def tool_digest(script_dir: Path, schema_path: Path) -> dict: + return { + "tool": f"{TOOL_ID}/{TOOL_REVISION}", + "migrate_sha256": sha256_file(Path(__file__).resolve()), + "layout_sha256": sha256_file(script_dir / "warehouse.py"), + "schema_sha256": sha256_file(schema_path), + "python": sys.version.split()[0], + "torch": torch.__version__, + } + + +def checkpoint_ok(state_path: Path, expected: dict, digest: dict) -> bool: + """MIGRATION 4.4: re-verify inputs, tool revision and artefacts, not existence.""" + if not state_path.is_file(): + return False + try: + prior = json.loads(state_path.read_text(encoding="utf-8")) + except (json.JSONDecodeError, OSError): + return False + if prior.get("tool") != digest: + return False + # a checkpoint describes one destination; never let it vouch for another + if prior.get("dst_view") != str(expected["dst_view"]): + return False + if prior.get("source_metainfo_sha256") != expected["source_metainfo_sha256"]: + return False + for bundle in prior.get("bundles", []): + path = Path(prior["dst_view"]) / bundle["bundle"] + if not path.is_file() or sha256_file(path) != bundle["sha256"]: + return False + meta = Path(prior["dst_view"]) / "metainfo.json" + if not meta.is_file() or sha256_file(meta) != prior["output_metainfo_sha256"]: + return False + return True + + +def main(argv=None): + #: , located from this package's own position (see DATASET_ROOT) + dataset_root = DATASET_ROOT + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("--src", type=Path, default=dataset_root, + help="dataset root holding shared-v1.0 (default: the adjacent one)") + parser.add_argument("--dst", type=Path, + help="output release directory (default /shared-v1.1)") + parser.add_argument("--schema", type=Path, + help="v1.1 schema.json (default /doc/schema.json)") + parser.add_argument("--link", default="hardlink", choices=["hardlink", "reflink", "copy"], + help="how unchanged media/JSONL is placed (default hardlink)") + parser.add_argument("--views", nargs="*", default=None, + help="restrict to these sequence ids") + parser.add_argument("--limit", type=int, default=None, help="migrate at most N views") + parser.add_argument("--resume", action="store_true", + help="skip views whose checkpoint re-verifies") + parser.add_argument("--dry-run", action="store_true") + args = parser.parse_args(argv) + + src_release = args.src / "shared-v1.0" + dst_release = args.dst or (args.src / "shared-v1.1") + if not src_release.is_dir(): + parser.error(f"{src_release} is not a directory") + schema_path = args.schema or (dst_release / "doc" / "schema.json") + if not schema_path.is_file(): + parser.error(f"v1.1 schema not found at {schema_path} (pass --schema)") + registry = Registry.load(schema_path) + + src_root, dst_root = src_release / "data", dst_release / "data" + views = discover_views(src_release) + if not views: + parser.error(f"no //metainfo.json found under {src_root}") + first = src_root / views[0][0] / views[0][1] / "metainfo.json" + dataset_id = json.loads(first.read_text(encoding="utf-8"))["dataset_id"] + + work = args.src / "tmp" / "migration-v11" + state_dir = work / "checkpoints" + if args.views: + wanted = set(args.views) + views = [v for v in views if v[0] in wanted] + if args.limit: + views = views[:args.limit] + + digest = tool_digest(Path(__file__).resolve().parent, schema_path) + print(f"dataset={dataset_id} views={len(views)} src={src_release} dst={dst_release}") + print(f"tool={digest['tool']} link={args.link}") + if args.dry_run: + for sequence, camera in views: + print(f" would migrate {sequence}/{camera}") + return 0 + + registration = { + "dataset_id": dataset_id, + "source": {"release": "shared-v1.0", "schema_version": V10_SCHEMA_VERSION, + "schema_sha256": sha256_file(src_release / "doc" / "schema.json") + if (src_release / "doc" / "schema.json").is_file() else None, + "path": str(src_release.resolve())}, + "target": {"release": RELEASE_ID, "schema_version": SCHEMA_VERSION, + "schema_sha256": sha256_file(schema_path), "path": str(dst_release.resolve())}, + "tool": digest, + "started": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()), + "views_total": len(views), + "views": [], + "errors": [], + } + + done = skipped = failed = 0 + for index, (sequence, camera) in enumerate(views, 1): + state_path = state_dir / f"{sequence}__{camera}.json" + dst_view = dst_root / sequence / camera + try: + if args.resume and checkpoint_ok(state_path, { + "dst_view": str(dst_view), + "source_metainfo_sha256": sha256_file(src_root / sequence / camera / "metainfo.json"), + }, digest): + skipped += 1 + print(f"[{index}/{len(views)}] {sequence}/{camera} skip (checkpoint re-verified)") + continue + entry = migrate_view(registry, src_root, dst_root, sequence, camera, args.link) + entry["dst_view"] = str(dst_view) + entry["tool"] = digest + entry["timestamp"] = time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()) + _write_json(state_path, entry) + registration["views"].append({k: entry[k] for k in ( + "sequence_id", "camera_id", "num_frames", "source_metainfo_sha256", + "output_metainfo_sha256", "bundles", "passthrough_files", + "replaced_source_refs")}) + done += 1 + print(f"[{index}/{len(views)}] {sequence}/{camera} ok " + f"fields={len(entry['fields'])} bundles={len(entry['bundles'])} " + f"passthrough={entry['passthrough_files']}") + except Exception as error: # noqa: BLE001 - recorded, never hidden + failed += 1 + registration["errors"].append({ + "sequence_id": sequence, "camera_id": camera, + "error": f"{type(error).__name__}: {error}", + "traceback": traceback.format_exc(), + }) + print(f"[{index}/{len(views)}] {sequence}/{camera} FAILED: {error}", file=sys.stderr) + _write_json(work / "registration.json", registration) + + registration["finished"] = time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()) + registration["stage"] = "complete" if failed == 0 else "failed" + registration["counts"] = {"migrated": done, "skipped": skipped, "failed": failed} + _write_json(work / "registration.json", registration) + print(f"done={done} skipped={skipped} failed={failed}") + print(f"registration: {work / 'registration.json'}") + return 1 if failed else 0 + + +if __name__ == "__main__": + raise SystemExit(main()) \ No newline at end of file diff --git a/RHD/shared-v1.1/script/rhd_v1_1/read_sequence.py b/RHD/shared-v1.1/script/rhd_v1_1/read_sequence.py new file mode 100644 index 0000000000000000000000000000000000000000..cf280064a8f6d12c937a507545e3a3bf75a61881 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/read_sequence.py @@ -0,0 +1,438 @@ +"""CONTRACT 6.5: read one complete shard through the v1.1 reader, every component. + +Acceptance item 5 asks for a check the byte-level ones cannot give. ``verify.py`` +compares a view's bytes against its own v1.0 source, which proves repackaging +preserved them, but it never decodes media and never crosses components -- a +release whose bundles are each individually byte-perfect and whose RGB, camera and +annotations no longer line up would pass it. ``validate.py`` does cross +components, but per view and against the schema, not against the media. + +So this opens the finished release the way a consumer would, through +``Registry.resolve`` and ``BundleReader``, and checks the joins: + + frames the RGB's real frame count (ffprobe, demux only -- ``nb_frames`` is + absent in Matroska) equals the metainfo ``num_frames``, the length of + ``frames.jsonl`` and the ``T`` axis of every field the view declares. + Depth, depth validity and the segment mask are counted the same way. + camera the directory the view lives in, its ``camera_id``, its ``camera`` + block and the intrinsic component's ``schema_id`` all name the same + camera + presence a component declaring ``available: false`` leaves no file behind, and + every declared one opens; a media component's standalone bool + validity is a real file of the declared length (CONTRACT 4) + frames.jsonl + one row per frame, indices contiguous, ``sample_id`` unique, the + split directory in ``sample_id`` equal to the declared ``split``, and + ``source_locator.annotation_index`` equal to ``source_frame_id`` -- + the frame-level association the release claims + visibility RHD's own join: ``xyz`` and ``uv`` are two components sharing one + ``visibility`` leaf. Reading it through each component's declared + attribute and finding the same bytes is what "written once and + referenced twice" (RAW_MAPPING.md) has to mean in the finished tree. + +What it does not do: it never decodes pixels, compares an image to anything, or +forms an opinion about whether a mask looks right. CONTRACT 6.5 keeps that -- +human visual acceptance -- separate from this, and this tool is on the packaging +side of that line. +""" + +from __future__ import annotations + +import argparse +import json +import subprocess +import sys +from pathlib import Path + +import torch + +from rhd_common import RELEASE_ROOT, TMP_ROOT, load +from warehouse import BundleReader, Registry + + +def wildcard(segment: str) -> bool: + return "<" in segment and ">" in segment + + +def registered_entry(registry, bundle_rel: str, keys: list) -> bool: + """Is ``bundle_rel`` + ``keys`` an entry the registry declares? + + ``Registry.resolve`` answers the migrator's question -- given a *v1.0* ref, + where did those bytes go. A consumer asks the other direction: the v1.1 + metainfo names a bundle and a key path, and that pair has to be a registered + entry. Same templates, matched from the target side. + """ + ref = Path(bundle_rel).parts + for bundle in registry.bundles.values(): + template = Path(bundle["path"]).parts + if len(ref) != len(template) or ref[-1] != template[-1]: + continue + if not all(wildcard(w) or w == g for w, g in zip(template[:-1], ref[:-1])): + continue + for name in bundle["entries"]: + wanted = name.split("/") + if len(wanted) == len(keys) and all( + wildcard(w) or w == k for w, k in zip(wanted, keys) + ): + return True + return False + + +def packet_count(path: Path) -> int: + """Frames in an encoded video, by demux -- not by decoding.""" + out = subprocess.run( + ["ffprobe", "-v", "error", "-select_streams", "v:0", "-count_packets", + "-show_entries", "stream=nb_read_packets", "-of", "csv=p=0", str(path)], + capture_output=True, text=True, check=True, + ).stdout.strip() + return int(out) + + +def view_dirs(root: Path, sequence: str) -> list[Path]: + sequence_dir = root / "data" / sequence + if not sequence_dir.is_dir(): + raise SystemExit(f"no such shard in the release: {sequence}") + return sorted((p for p in sequence_dir.iterdir() if p.is_dir()), + key=lambda p: (len(p.name), p.name)) + + +def all_sequences(root: Path) -> list[str]: + return sorted(p.name for p in (root / "data").iterdir() if p.is_dir()) + + +def read_media(registry, reader, view: Path, name: str, component: dict, + record: dict, problem) -> None: + """A preserved file (mkv or jsonl) and its standalone validity, if declared. + + A bundled leaf holds its own validity; a media component may not, so CONTRACT 4 + keeps that validity beside it -- a bool Tensor for RGB and the mask, a bool + video for depth. Either way the length has to match the declared frames. + """ + ref = view / component["data_ref"] + if not ref.is_file(): + problem(f"{name}: preserved file {component['data_ref']} is missing") + return + frames = None + if ref.suffix == ".mkv": + frames = packet_count(ref) + declared = component["axes"].index("T") + record["media"].append({"component": name, "ref": component["data_ref"], + "bytes": ref.stat().st_size, "frames": frames, + "declared_T_axis": declared}) + if frames != record["num_frames"]: + problem(f"{name}: {frames} packets, metainfo declares " + f"{record['num_frames']}") + else: + record["media"].append({"component": name, "ref": component["data_ref"], + "bytes": ref.stat().st_size, "frames": None}) + + valid_ref = component.get("valid_ref") + if not valid_ref: + record["media"][-1]["valid"] = None + return + valid_path = view / valid_ref + if not valid_path.is_file(): + problem(f"{name}: declared validity {valid_ref} is missing") + return + if valid_ref.endswith(".pt"): + #: CONTRACT 4: media validity stays a standalone bool Tensor. It is not + #: registered as a bundle, so the reader cannot address it by key + payload = load_tensor(valid_path) + length = payload.shape[0] if payload.ndim else 0 + record["media"][-1]["valid"] = {"ref": valid_ref, "kind": "pt", + "dtype": str(payload.dtype), + "shape": list(payload.shape)} + if payload.dtype != torch.bool: + problem(f"{name}: validity {valid_ref} is {payload.dtype}, not bool") + if length != record["num_frames"]: + problem(f"{name}: validity {valid_ref} holds {length} frames, " + f"metainfo declares {record['num_frames']}") + else: + frames = packet_count(valid_path) + record["media"][-1]["valid"] = {"ref": valid_ref, "kind": "media", + "frames": frames} + if frames != record["num_frames"]: + problem(f"{name}: validity {valid_ref} holds {frames} frames, " + f"metainfo declares {record['num_frames']}") + + +def load_tensor(path: Path) -> torch.Tensor: + """A standalone ``.pt`` outside the registry, read the way the release stores it.""" + with path.open("rb") as stream: + return torch.load(stream, map_location="cpu", weights_only=True) + + +def read_view(registry, reader, view: Path) -> dict: + """Open every component of one view; return what the reader found.""" + meta = load(view / "metainfo.json") + where = f"{view.parent.name}/{view.name}" + record = {"view": where, "camera_id": meta.get("camera_id"), + "view_type": meta.get("view_type"), "num_frames": meta.get("num_frames"), + "fields": [], "media": [], "absent": [], "problems": []} + problem = record["problems"].append + + #: the view's own directory name and its declared camera must agree; the whole + #: release is laid out as //, so a mismatch would mean the + #: calibration and the pixels come from different cameras + if meta.get("camera_id") != view.name: + problem(f"directory {view.name} but camera_id {meta.get('camera_id')!r}") + + for name, component in meta["components"].items(): + ref = component.get("data_ref") + if not component.get("available", True): + #: an omitted component must not leave a file claiming otherwise + if ref and (view / ref).exists(): + problem(f"{name}: available=false but {ref} exists") + record["absent"].append(name) + continue + if not ref: + problem(f"{name}: available but declares no data_ref") + continue + #: a component carrying ``data_key`` is bundled numeric data; one with only + #: ``data_ref`` is a preserved media/JSONL file (validate.py rebuilds on the + #: same predicate). The registry entry is matched from the target side. + if "data_key" not in component: + read_media(registry, reader, view, name, component, record, problem) + continue + leaves = [(name, component["data_ref"], component["data_key"], + component["valid_key"], list(component.get("axes") or []))] + for attribute, spec in (component.get("attributes") or {}).items(): + leaves.append((f"{name}.{attribute}", spec["data_ref"], spec["data_key"], + spec["valid_key"], list(spec.get("axes") or []))) + for owner, bundle, data_key, valid_key, axes in leaves: + try: + data = reader.get(view, bundle, data_key) + valid = reader.get(view, bundle, valid_key) + except (KeyError, TypeError, FileNotFoundError) as error: + problem(f"{owner}: reader could not open {bundle}: {error}") + continue + if not isinstance(data, torch.Tensor) or valid.dtype != torch.bool: + problem(f"{owner}: {bundle} does not hold (Tensor, bool Tensor)") + continue + frames = data.shape[axes.index("T")] if "T" in axes else None + if frames is not None and frames != meta["num_frames"]: + problem(f"{owner}: {frames} frames on its T axis, " + f"metainfo declares {meta['num_frames']}") + if valid.shape != tuple(data.shape[: valid.ndim]): + problem(f"{owner}: valid {list(valid.shape)} is not a prefix of " + f"data {list(data.shape)}") + if not registered_entry(registry, bundle, data_key[:-1]): + problem(f"{owner}: {bundle}:{'/'.join(data_key[:-1])} is not a " + f"registered bundle entry") + record["fields"].append({ + "component": owner, "entry": f"{bundle}:{'/'.join(data_key)}", + "dtype": str(data.dtype), "shape": list(data.shape), + "T": frames, "valid_true": int(valid.sum()), + "valid_false": int((~valid).sum()), + }) + return record + + +def check_visibility(registry, reader, view: Path, meta: dict) -> list[str]: + """RHD's own join: one ``visibility`` leaf, read through two components. + + v1.0 stored a single ``annotation/keypoints/visibility.pt`` referenced by both + the xyz and the uv component; v1.1's registry fixes one entry for it, so the + migration wrote the leaf once and both components point at it. A reader that + finds different bytes through the two declarations would mean the migration + silently kept one and dropped the other -- the failure mode RAW_MAPPING.md says + it refuses to paper over. + """ + problems = [] + specs = [(name, (component.get("attributes") or {}).get("visibility")) + for name, component in meta["components"].items() + if isinstance(component, dict)] + specs = [(name, spec) for name, spec in specs if spec] + if len(specs) < 2: + problems.append(f"expected two components declaring a visibility attribute, " + f"found {len(specs)}") + return problems + reference = None + for name, spec in sorted(specs): + try: + data = reader.get(view, spec["data_ref"], spec["data_key"]) + valid = reader.get(view, spec["data_ref"], spec["valid_key"]) + except (KeyError, TypeError, FileNotFoundError) as error: + problems.append(f"{name}.visibility: reader could not open " + f"{spec['data_ref']}: {error}") + continue + if reference is None: + reference = (name, data, valid) + continue + if data.shape != reference[1].shape or data.dtype != reference[1].dtype: + problems.append(f"{name}.visibility and {reference[0]}.visibility differ " + f"in shape/dtype") + elif data.contiguous().numpy().tobytes() != reference[1].contiguous().numpy().tobytes(): + problems.append(f"{name}.visibility and {reference[0]}.visibility " + f"are different bytes") + elif valid.contiguous().numpy().tobytes() != reference[2].contiguous().numpy().tobytes(): + problems.append(f"{name}.visibility and {reference[0]}.visibility have " + f"different validity bytes") + return problems + + +#: RHD ships two official directories, _published_v2/{training,evaluation}, +#: and the release maps them onto the train/test splits (split_scheme +#: "RHD_official_training_evaluation"). A shard whose own frames name one +#: directory while its split label says the other would file one split's frames +#: under the other's label, so the three places that state it are read together. +SOURCE_DIRECTORY_SPLIT = {"training": "train", "evaluation": "test"} + + +def check_frames(view: Path, meta: dict) -> list[str]: + """``frames.jsonl`` is what makes a sample_type=image shard a sequence.""" + problems = [] + path = view / (meta["sampling"].get("frames_ref") or "camera/frames.jsonl") + if not path.is_file(): + return [f"frames table {path.name} is missing"] + rows = [json.loads(line) for line in path.read_text(encoding="utf-8").splitlines() + if line.strip()] + if len(rows) != meta["num_frames"]: + problems.append(f"frames.jsonl holds {len(rows)} rows, metainfo declares " + f"{meta['num_frames']}") + seen = set() + for index, row in enumerate(rows): + if row.get("frame_index") != index: + problems.append(f"frames.jsonl row {index} has frame_index " + f"{row.get('frame_index')!r}") + break + sample = row.get("sample_id") + if sample in seen: + problems.append(f"sample_id {sample!r} appears twice") + break + seen.add(sample) + #: sample_id is "//"; both parts have to agree + #: with what the metainfo declares about this shard + parts = str(sample).split("/") + if len(parts) == 3: + if parts[0] != meta["dataset_id"]: + problems.append(f"sample_id {sample!r} names dataset {parts[0]!r}") + break + if SOURCE_DIRECTORY_SPLIT.get(parts[1]) != meta.get("split"): + problems.append(f"sample_id {sample!r} is filed under {parts[1]!r} " + f"but the shard split is {meta.get('split')!r}") + break + locator = row.get("source_locator") or {} + if locator.get("annotation_index") != int(row.get("source_frame_id")): + problems.append(f"frame {index}: annotation_index " + f"{locator.get('annotation_index')!r} != source_frame_id " + f"{row.get('source_frame_id')!r}") + break + return problems + + +def check_shard(meta: dict, frames_problems: list[str]) -> list[str]: + """The shard-level claim: the split label, the locator and the frames agree.""" + problems = list(frames_problems) + prefix = (meta.get("split_source_locator") or {}).get("member_prefix") or "" + if not prefix: + problems.append("split_source_locator names no member_prefix") + return problems + directory = prefix.rstrip("/").split("/")[-1] + if SOURCE_DIRECTORY_SPLIT.get(directory) != meta.get("split"): + problems.append(f"split {meta.get('split')!r} does not match the source " + f"directory {directory!r}") + sequence = meta.get("sequence_id") or "" + if sequence and not sequence.startswith(directory): + #: shard ids carry their source directory, e.g. evaluation_00000512 + problems.append(f"sequence_id {sequence!r} does not start with " + f"{directory!r}") + return problems + + +def sweep(root: Path, registry, reader, sequence: str, quiet: bool) -> dict: + records, metas, shard_problems = [], {}, [] + for view in view_dirs(root, sequence): + meta = load(view / "metainfo.json") + record = read_view(registry, reader, view) + #: the visibility join and the frame table are per-view checks, so their + #: findings are recorded against the view that failed; split/sequence + #: consistency is stated once for the shard + record["problems"].extend(check_visibility(registry, reader, view, meta)) + record["problems"].extend(check_frames(view, meta)) + records.append(record) + metas[view.name] = meta + for name, meta in sorted(metas.items()): + shard_problems.extend(check_shard(meta, [])) + + per_view_problems = [(r["view"], p) for r in records for p in r["problems"]] + + if not quiet: + print(f"{sequence}: {len(records)} view(s)") + for record in records: + print(f" {record['view']:<28} {record['view_type']:<4} " + f"cam={record['camera_id']} frames={record['num_frames']} " + f"fields={len(record['fields'])} media={len(record['media'])} " + f"absent={len(record['absent'])}") + for field in record["fields"]: + print(f" {field['component']:<26} {field['dtype']:<14} " + f"{str(field['shape']):<20} invalid={field['valid_false']}") + for media in record["media"]: + print(f" {media['component']:<26} {media['ref']:<28} " + f"{media['bytes']} B frames={media['frames']}") + + for view, problem in per_view_problems: + print(f"FAIL {view}: {problem}", file=sys.stderr) + for problem in shard_problems: + print(f"FAIL {sequence}: {problem}", file=sys.stderr) + + return { + "sequence": sequence, + "views": records, + "shard_problems": shard_problems, + "view_problems": {record["view"]: record["problems"] for record in records}, + "accepted": not shard_problems and not per_view_problems, + "scope": "repackaging equivalent by reading the release; not visual acceptance", + } + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("sequence", nargs="?", + help="shard id, e.g. training_00000000 (omit with --all)") + parser.add_argument("--all", action="store_true", + help="walk every shard in the release") + parser.add_argument("--root", type=Path, default=RELEASE_ROOT) + parser.add_argument("--schema", type=Path, default=RELEASE_ROOT / "doc" / "schema.json", + help="v1.1 schema.json (default /doc/schema.json)") + parser.add_argument("--report", type=Path, + help="write the full record here as JSON " + "(default: tmp/rhd-tools/read_sequence.json with --all)") + parser.add_argument("--quiet", action="store_true") + args = parser.parse_args(argv) + + if not args.sequence and not args.all: + parser.error("name a shard, or pass --all to walk the release") + registry = Registry.load(args.schema) + reader = BundleReader() + sequences = all_sequences(args.root) if args.all else [args.sequence] + + records = [sweep(args.root, registry, reader, sequence, args.quiet) + for sequence in sequences] + accepted = all(record["accepted"] for record in records) + failed = [record["sequence"] for record in records if not record["accepted"]] + + report = { + "release": "shared-v1.1", + "shards": len(records), + "shards_accepted": len(records) - len(failed), + "failed": failed, + "records": records if args.all else records[0], + "accepted": accepted, + "scope": "repackaging equivalent by reading the release; not visual acceptance", + } + target = args.report or (TMP_ROOT / "read_sequence.json" if args.all else None) + if target: + target.parent.mkdir(parents=True, exist_ok=True) + target.write_text(json.dumps(report, ensure_ascii=False, indent=2), + encoding="utf-8") + print(f"wrote {target}") + if not args.quiet and args.all: + print(f"{len(records) - len(failed)}/{len(records)} shard(s) accepted") + print("ACCEPTANCE_PASS" if accepted else "ACCEPTANCE_FAIL") + return 0 if accepted else 1 + + +if __name__ == "__main__": + sys.dont_write_bytecode = True + raise SystemExit(main()) \ No newline at end of file diff --git a/RHD/shared-v1.1/script/rhd_v1_1/render.py b/RHD/shared-v1.1/script/rhd_v1_1/render.py new file mode 100644 index 0000000000000000000000000000000000000000..b3772a05c8caa9bfc410240dfedab8e17138f6a4 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/render.py @@ -0,0 +1,1076 @@ +#!/usr/bin/env python3 +"""Render sampled RHD shared-v1.1 views to self-contained HTML review pages. + +CONTRACT 6.5 keeps "the repackaging preserved the bytes" apart from "a human looked +at it". The published H2O and dex-ycb sets carry sampled per-view pages for the +second half, and ARCTIC's v1.1 release carries them too; this gives RHD the same +artifact, written against the v1.1 layout rather than ported from any of them: + +* every value is read through the released reader -- ``Registry``/``BundleReader`` + plus ``rhd_common.check_view``, the calls ``validate.py`` and ``read_sequence.py`` + already make -- so a page shows what the release declares rather than a re-derived + copy of it. ``data_key`` in a component, the same split those two use, marks a + bundled numeric field; media and JSONL are read as the preserved files they are. +* the v1.0 renderer (``v1_0_snapshot/script/render_full_random_review.py``) read + ``annotation/keypoints/*.pt`` directly and required ``raw/RHD_v1-1.zip`` to + re-check the pixels against the source. Neither applies here: this reads the v1.1 + bundles, and the raw archive is not on this machine. The panels below are that + renderer's own vocabulary and panel set, re-pointed at the bundles. +* RHD uniquely publishes **both** the native 2D keypoints (``uv``) and the + camera-frame 3D keypoints (``xyz``) with the same pinhole K, so unlike the other + releases this page can run the published ``projection_qc``: it projects the saved + xyz through the view's own intrinsic and compares the result with the saved uv. + ARCTIC has no uv series and dex-ycb no xyz, so neither could. The deviation is + recorded per frame (median / max pixels, counts within 1 px and 3 px) and stated in + the caption, never used to "fix" the published values. +* ``visibility`` is drawn as the release declares it: solid marker where the source + says the joint is visible, hollow where it is not. It is a bundled attribute of + both keypoint components -- one shared leaf -- and the page reads it once. + +Every page is one self-contained file (PNG previews as base64 data URIs, no script, +no external reference), and the sampled frames are the only pixels decoded. + +Run -- the ordering matters, see the 收尾验收顺序 in README.md: + python shared-v1.1/script/rhd_v1_1/render.py +""" + +from __future__ import annotations + +import argparse +import base64 +import html +import io +import json +import multiprocessing +import os +import random +import subprocess +import sys +import time +from concurrent.futures import ProcessPoolExecutor +from pathlib import Path + +#: set before the sibling imports below, not inside main(): the first ``import +#: rhd_common`` is what would write a __pycache__ into the release tree, and it +#: happens while this module body runs. The release must ship no bytecode cache, so +#: the switch has to be flipped before that line -- and inherited by the decoder +#: children, which re-import this module (os.environ, set in main, covers those) +sys.dont_write_bytecode = True + +import cv2 +import numpy as np +import torch +from PIL import Image, ImageDraw + +from rhd_common import BundleReader, check_view, load, save +from warehouse import Registry + +PROJECTION_SCOPE = ("saved camera-frame xyz (metres) through the view's own pinhole " + "intrinsic, compared against the saved native uv; not a media pixel " + "comparison") +REPORT_SCOPE = ("v1.1 registry, keys, shapes, validity and timeline; not a media " + "pixel comparison") +DECODE_SCOPE = ("ffmpeg select= demux filter over the preserved MKV; only the frames " + "listed in selected_frames are decoded, each checked against its " + "expected byte count") + +#: Preview colours are RHD's own vocabulary rather than a new one. The v1.0 review +#: renderer drew 左手 (255,90,70) and 右手 (30,180,255) and its pages state the same in +#: words -- 「颜色:红左手、蓝右手」 (doc/history-v1.0/validation/index.html, whose 24 +#: sampled sheets ship with this release). Those pages are in the tree, so a reviewer +#: may read the two side by side; reusing the vocabulary is what keeps that reading +#: correct. +HAND_COLORS = {"left": (255, 90, 70), "right": (30, 180, 255)} +#: The published ``source_index_map`` ([0,4,3,2,1, 8,7,6,5, 12,11,10,9, 16,15,14,13, +#: 20,19,18,17]) walks the native RHD layout one finger at a time -- five joints for the +#: thumb, four for each other finger -- so consecutive registered indices within each +#: group are that finger's chain. The lines below trace those groups to make the pose +#: legible at 320x320, where 21 joints of a hand 50 px across otherwise merge into an +#: unreadable blob. This is a reading of the published map for the reviewer's benefit: +#: the release itself declares joint *order*, not a skeleton, and the page does not claim +#: otherwise. +FINGER_CHAINS = ((0, 1, 2, 3, 4), (5, 6, 7, 8), (9, 10, 11, 12), (13, 14, 15, 16), + (17, 18, 19, 20)) +#: the segment mask's region ids, from the release's own mapping: 1 person, 2-17 left +#: hand, 18-33 right hand, background released as 65534 +SEGMENT_RANGES = {"left": (2, 17), "right": (18, 33)} +SEGMENT_COLORS = {"left": np.array([255, 90, 70], np.uint8), + "right": np.array([30, 180, 255], np.uint8)} +#: RHD annotates **both** hands in every image and normally renders only one of them +#: inside the 320x320 frame; the source marks each joint with ``visibility``, which is +#: essentially "this joint lies inside the picture" plus occlusion (measured: on four +#: full views ``visibility`` agrees with "the published uv lies inside the frame" on +#: 97.0-97.9% of joints, and *every* disagreement is an in-frame joint marked +#: invisible -- a joint marked visible while lying outside the frame is 0-1 in 21,504). +#: So a page whose sampled frames sit near ``in_frame`` 0.5 is showing the dataset's +#: normal shape, not a defect, and the note below says so with the measured numbers. +#: +#: The other half of the same fact: the published ``uv`` is the *raw* projection, so a +#: joint can lie arbitrarily far outside the picture, and a hand close to the camera +#: plane has a published uv in the millions of pixels -- at z = 1e-4 m the projection of +#: a point half a metre off axis really is ~1e6 px. Those are source values, not +#: errors, but they make an absolute pixel tolerance meaningless outside the frame: a +#: 6,246 px "deviation" on a coordinate of 15.24 million px is a 4e-4 relative one. +#: Hence the scan below splits the joints into the ones whose uv lies inside the frame +#: (checked in pixels) and the ones outside it (checked against their own magnitude), +#: and counts the joints that cannot be projected at all. +VISIBILITY_RULE = ("发布的 uv 是原始投影值,画外关节的坐标可以任意大;本页按发布的 uv 是否" + "落在画内分两组核验——画内点按像素偏差、画外点按相对自身量级的偏差,另" + "单列\"源标为可见却落在画外\"的点数(该方向才可能是标注与标定不一致)") +#: a sampled frame carrying any joint that the source marks visible while its published +#: uv lies outside the picture is called out by frame number in the header +VISIBLE_OUTSIDE_TOLERANCE = 0 +#: depth at or below which the projection is not compared in pixels: below a millimetre +#: the published uv is itself in the 1e5 px range, where a pixel tolerance says nothing +#: about agreement. Points under it are counted, not dropped. +PLANE_THRESHOLD_M = 1e-3 +#: the tolerance the captions quote for the in-frame xyz-vs-uv agreement +UV_TOLERANCE_PX = 1.0 +#: one frame_index -> one row of camera/frames.jsonl, the same ref validate.py reads +FRAMES_REF = "camera/frames.jsonl" + + +# -- helpers carried from the published v1.0 renderer ----------------------- + + +def decode(path: Path, indices, pix_fmt: str, dtype, width: int, height: int, + channels: int): + """Decode exactly the requested frames of a preserved video. + + Same recipe as the published renderer (``HAND_WAREHOUSE_FFMPEG_THREADS``, one + decoder thread by default), with ``select=`` so a 512-frame stream is not read end + to end for a handful of stills. The byte count is checked rather than trusted: a + short read would silently misalign every frame after it, and ``-vsync 0`` plus an + explicit ``-frames:v`` is what makes ``select=`` yield exactly ``len(indices)`` + frames. + """ + order = sorted(indices) + select = "+".join(f"eq(n\\,{index})" for index in order) + threads = os.environ.get("HAND_WAREHOUSE_FFMPEG_THREADS", "1") + argv = ["ffmpeg", "-v", "error", "-nostdin", "-filter_threads", threads, + "-threads", threads, "-noautorotate", "-i", str(path), "-map", "0:v:0", + "-vf", f"select={select}", "-vsync", "0", "-frames:v", str(len(order)), + "-threads", threads, "-f", "rawvideo", "-pix_fmt", pix_fmt, "-"] + raw = subprocess.run(argv, capture_output=True, check=True).stdout + #: rawvideo is bytes, so the count is elements times the itemsize -- a 16-bit + #: mask yields two bytes per pixel, and getting that wrong would silently reshape + #: the stream instead of failing + expected = (len(order) * height * width * channels * np.dtype(dtype).itemsize) + if len(raw) != expected: + raise ValueError(f"{path}: decoded {len(raw)} bytes, expected {expected}") + frames = np.frombuffer(raw, dtype=dtype).reshape(len(order), height, width, channels) + return {index: frames[position].copy() for position, index in enumerate(order)} + + +def snapshot(path: Path, indices, width: int, height: int): + """RGB frames of a preserved MKV, keyed by frame index.""" + return decode(path, indices, "rgb24", np.uint8, width, height, 3) + + +def picture(image: Image.Image) -> str: + """A preview as a data URI. Released tensors and videos are never resized.""" + image = image.copy() + image.thumbnail((800, 450)) + output = io.BytesIO() + image.save(output, format="PNG") + return ('') + + +def depth_image(packed: np.ndarray, width: int) -> np.ndarray: + """The float32 z depth of one frame, unpacked from its two uint16 half-words. + + The release stores the bit pattern of a float32 as two columns of uint16 (low half + left, high half right, ``mkv/depth_float32_bits/v1``), exactly as ``RAW_MAPPING.md`` + describes and as the v1.0 renderer read it. ``packed`` is the decoded row of + 2*width uint16 values. + """ + low = packed[:, :width].astype(np.uint32) + high = packed[:, width:].astype(np.uint32) + return (low | (high << 16)).view(np.float32) + + +def select_frames(n: int, valids, media_valid, extra=()): + """The published sampling policy, driven by the release's own validity. + + Quarter points plus both ends, plus the first frame each series is valid and the + first it is not -- an invalid row is exactly what a reviewer wants to see once. + ``extra`` carries frames the caller has already decided are worth seeing (this + renderer passes the frame whose xyz-vs-uv deviation is largest in the whole view), + so a page always shows the boundary case rather than only easy frames. Truncated + to twelve, and the last frame is always kept. + """ + picks = {0, n // 4, n // 2, 3 * n // 4, n - 1} | {int(f) for f in extra} + for valid in valids: + if valid is None: + continue + flags = np.asarray(valid, dtype=bool).reshape(n, -1).any(axis=1) + for present in (np.flatnonzero(flags), np.flatnonzero(~flags)): + if len(present): + picks.add(int(present[0])) + if media_valid is not None: + flags = np.asarray(media_valid, dtype=bool) + for present in (np.flatnonzero(flags), np.flatnonzero(~flags)): + if len(present): + picks.add(int(present[0])) + return sorted(set(sorted(picks)[:12]) | {n - 1}) + + +def project(xyz, intrinsic, width: int, height: int): + """Camera-frame xyz through the view's own pinhole intrinsic. + + ``uv = K @ xyz`` with the third component as the divisor -- the camera frame the + release declares (``coordinate_frame: camera``), the pinhole model it declares + (``camera.model: pinhole``, and no RHD view carries a distortion vector), and the + same arithmetic the v1.0 renderer used. Returns the pixel coordinates, a mask of + points in front of the camera, and a mask of points inside the image. + """ + image = xyz @ intrinsic.T + with np.errstate(invalid="ignore", divide="ignore"): + uv = image[..., :2] / image[..., 2:] + front = np.isfinite(uv).all(axis=-1) & (image[..., 2] > 1e-6) + inside = (front & (uv[..., 0] >= 0) & (uv[..., 0] < width) + & (uv[..., 1] >= 0) & (uv[..., 1] < height)) + return uv, front, inside + + +def dot(painter: ImageDraw.ImageDraw, x: float, y: float, color, radius: int, + filled: bool = True): + """One joint: filled where the source marks it visible, hollow where it does not. + + Every marker carries a white ring, because the fill colour is drawn straight onto a + hand whose pixels are a similar hue and a bare dot of this size disappears into it. + """ + box = (x - radius, y - radius, x + radius, y + radius) + if filled: + painter.ellipse(box, fill=color, outline=(255, 255, 255), width=1) + else: + painter.ellipse(box, outline=color, width=2) + + +def draw_hand(painter: ImageDraw.ImageDraw, points, drawable, visible, color, radius): + """One hand's joints on a panel: the finger chains, then the markers over them. + + ``points`` is the (21, 2) array to draw, ``drawable`` the joints that may be drawn + at all (annotated, in front of the camera, inside the picture), and ``visible`` the + source's per-joint flag. Returns how many markers were drawn. + """ + line_color = tuple(int(component * 0.55) for component in color) + for chain in FINGER_CHAINS: + run = [(float(points[joint, 0]), float(points[joint, 1])) + for joint in chain if drawable[joint]] + if len(run) > 1: + painter.line(run, fill=line_color, width=max(1, radius // 2)) + drawn = 0 + for joint in range(len(points)): + if not drawable[joint]: + continue + dot(painter, float(points[joint, 0]), float(points[joint, 1]), color, radius, + filled=True if visible is None else bool(visible[joint])) + drawn += 1 + return drawn + + +# -- per-view report -------------------------------------------------------- + + +def numeric_records(view: Path, meta: dict, reader) -> dict: + """One record per bundled numeric field, read through the released reader. + + ``check_view`` asserts these fields; this restates them for the report, so the two + cannot disagree. A bundled attribute (``visibility``) is recorded under the + component that declares it, as ``validate.py`` and ``read_sequence.py`` name it; + the registry fixes one entry, so both keypoint components report the same leaf. + """ + records = {} + for name, component in meta["components"].items(): + if not component.get("available", True) or "data_key" not in component: + continue + for owner, spec in [(name, component)] + [ + (f"{name}.{attribute}", attribute_spec) + for attribute, attribute_spec in (component.get("attributes") or {}).items()]: + data, valid = reader.field(view, spec) + records[owner] = { + "shape": list(data.shape), "dtype": str(data.dtype), + "valid_true": int(valid.sum()), "valid_total": int(valid.numel()), + "nan_count": (int(torch.isnan(data).sum()) + if data.is_floating_point() else None), + } + return records + + +def view_report(view: Path, meta: dict, fields: dict, consumed: set, selected: list, + projection: dict, media: list) -> dict: + """The published report shape, composed from the released checker's evidence.""" + bundles = sorted({component["data_ref"] for component in meta["components"].values() + if "data_key" in component}) + return { + "view": f"{view.parent.name}/{view.name}", + "sequence_id": meta["sequence_id"], + "camera_id": meta["camera_id"], + "view_type": meta["view_type"], + "split": meta["split"], + "num_frames": meta["num_frames"], + "camera": {"model": meta["camera"]["model"], + "schema_id": meta["camera"]["schema_id"], + "image_size": meta["camera"]["image_size"]}, + "numeric_components": fields, + "bundle_files": len(bundles), + "bundles": bundles, + "media": media, + "consumed_files": sorted(consumed), + "selected_frames": selected, + "decode_scope": DECODE_SCOPE, + "projection": projection, + "scope": REPORT_SCOPE, + } + + +def colour_legend() -> str: + """The colour vocabulary and what is deliberately not drawn, in one place.""" + def swatch(color, label: str) -> str: + css = "rgb(" + ",".join(str(int(component)) for component in color) + ")" + return ('    ' + html.escape(label)) + + return ('

配色沿用 RHD v1.0 复核页自己的约定(「红左手、蓝右手」),' + "便于与 ../history-v1.0/validation/ 里的 24 张抽查页并排读:" + + " · ".join([swatch(HAND_COLORS["left"], "左手"), + swatch(HAND_COLORS["right"], "右手")]) + + "
手槽取自发布的 hand_slots: [left, right],21 个关节保持" + "发布的近端→远端顺序(keypoint_schema: rhd21/v1," + "原生 tip→palm 已按 source_index_map 重排)。RHD 的 21 点只" + "统一其原生体系顺序,不宣称与 MANO 关节位置等价;release 里没有 MANO、" + "没有物体、没有接触,这些面板也不画。

" + '

本页能做别人做不到的一件事:RHD 同时发布了原生 2D ' + "关键点(uv)和相机系 3D 关键点(xyz)以及同一套" + "针孔 K,所以第 4 个面板可以把 xyz 经该视图自己的 " + "K 投到像素上,再与发布的 uv 逐点比对" + "(H2O/dex-ycb/ARCTIC 都缺其中一条序列,做不了这项对照)。偏差记在每帧的" + "projection.frames 里,面板标题上也会写出中位与最大偏离;" + "偏差只被记录,不用来「修正」发布值。

") + + +# -- one view --------------------------------------------------------------- + + +def unmarked(reason: str) -> str: + """Why a frame carries no geometry, stated rather than drawn as an empty panel.""" + return reason + + +def render_one(view: Path, destination: Path, root: Path) -> dict: + registry = Registry.load(root / "doc/schema.json") + meta = load(view / "metainfo.json") + n = meta["num_frames"] + width, height = meta["camera"]["image_size"] + components = meta["components"] + reader = BundleReader() + #: the same structural check validate.py and read_sequence.py make; a page that + #: skipped it could show a view the release's own reader rejects + consumed = check_view(view, meta, registry, reader) + fields = numeric_records(view, meta, reader) + + bundled = {name: reader.field(view, component) + for name, component in components.items() + if component.get("available", True) and "data_key" in component} + intrinsic = bundled["intrinsic"] + visibility = None + attribute = (components["keypoints_xyz"].get("attributes") or {}).get("visibility") + if attribute: + visibility = reader.field(view, attribute)[0] + + rgb_valid = None + if components["rgb"]["valid_ref"].endswith(".pt"): + rgb_valid = torch.load(view / components["rgb"]["valid_ref"], map_location="cpu", + weights_only=True).numpy() + + #: The xyz-vs-uv agreement is pure tensor arithmetic, so it is taken over **every** + #: frame of the view, not only the sampled ones -- a page that only checked its own + #: five frames would say nothing about the other 507. The same scan says which + #: frame deviates most *inside the picture*, and that frame is forced into the + #: sample below so a reviewer always sees the worst case next to the panels. + uv_all = bundled["keypoints_uv"][0].numpy().astype(np.float64) + xyz_all = bundled["keypoints_xyz"][0].numpy() + intrinsic_all = intrinsic[0].numpy() + projected_all = np.einsum("thjc,tdc->thjd", xyz_all, intrinsic_all) + with np.errstate(invalid="ignore", divide="ignore"): + pixels_all = projected_all[..., :2] / projected_all[..., 2:] + depth_all = projected_all[..., 2] + annotated_all = np.asarray(bundled["keypoints_xyz"][1].numpy(), dtype=bool) + finite_all = np.isfinite(pixels_all).all(axis=-1) + #: a point is projected only when the projection is finite and the depth is + #: positive; a negative depth mirrors to a plausible-looking pixel otherwise + behind_all = annotated_all & (depth_all <= 0) + plate_all = annotated_all & (depth_all > 0) & (depth_all < PLANE_THRESHOLD_M) & finite_all + comparable = (annotated_all & (depth_all >= PLANE_THRESHOLD_M) & finite_all + & np.isfinite(uv_all).all(axis=-1)) + deviation = np.linalg.norm(pixels_all - uv_all, axis=-1) + #: in/out of the picture is decided from the published uv rather than from the + #: projection, so the classification does not depend on the quantity being checked. + #: The two agree to within the in-frame tolerance anyway (worst 0.161 px release-wide). + in_frame = (comparable & (uv_all[..., 0] >= 0) & (uv_all[..., 0] < width) + & (uv_all[..., 1] >= 0) & (uv_all[..., 1] < height)) + outside = comparable & ~in_frame + #: the out-of-frame points flattened, each with the magnitude it is normalised by, so + #: a reported ratio can always be read back as the absolute deviation it came from + outside_dev = deviation[outside] + outside_scale = np.abs(uv_all[outside]).max(axis=-1) + outside_relative = outside_dev / np.maximum(outside_scale, 1.0) + #: -1 marks a frame with nothing to compare inside the picture, so a frame that is + #: entirely out of frame never wins the "worst frame" draw + frame_max = np.where(in_frame, deviation, -1.0).reshape(n, -1).max(axis=1) + seen_all = visibility.numpy() if visibility is not None else np.ones_like(comparable) + worst = int(np.argmax(frame_max)) + + #: every bundled field drives the sampling, in a fixed order so two runs of this + #: script agree: a field whose validity starts later than the quarter points pulls + #: its first valid frame in as well + selected = select_frames(n, + [valid.numpy().reshape(n, -1).any(axis=1) + for _, (_, valid) in sorted(bundled.items())], + rgb_valid, extra=(worst,)) + frames = {row["frame_index"]: row for row in + (json.loads(line) for line in + (view / FRAMES_REF).read_text(encoding="utf-8").splitlines() if line.strip())} + + rgb = snapshot(view / components["rgb"]["data_ref"], selected, width, height) + masks = decode(view / components["segment"]["data_ref"], selected, "gray16le", + np.uint16, width, height, 1) + #: the depth video is the float32 bit pattern split into two 16-bit halves side by + #: side, so its declared encoded width is twice the picture's + packed = decode(view / components["depth"]["data_ref"], selected, "gray16le", + np.uint16, 2 * width, height, 1) + depth_valid = decode(view / components["depth"]["valid_ref"], selected, "gray", + np.uint8, width, height, 1) + + radius = max(2, round(width * 0.008)) + in_frame_dev = deviation[in_frame] + visible_outside_mask = annotated_all & seen_all & outside + view_scan = { + "frames_scanned": int(n), + "points_scanned": int(annotated_all.sum()), + #: the joints that cannot be compared in pixels at all, counted rather than + #: dropped: at or behind the camera plane, and within a millimetre of it + "behind_plane_points": int(behind_all.sum()), + "near_plane_points": int(plate_all.sum()), + "comparable_points": int(comparable.sum()), + "in_frame_points": int(in_frame.sum()), + "outside_frame_points": int(outside.sum()), + #: a selection with nothing in it reports null rather than a number computed + #: from no points at all + "median_px": (round(float(np.median(in_frame_dev)), 4) if in_frame_dev.size else None), + "in_frame_max_px": (round(float(in_frame_dev.max()), 4) if in_frame_dev.size else None), + "frames_with_in_frame_points": int((frame_max >= 0).sum()), + "frames_all_in_frame_points_within_1px": int( + ((frame_max >= 0) & (frame_max <= UV_TOLERANCE_PX)).sum()), + #: out-of-frame points are compared against their own magnitude: their published + #: uv is the raw projection and can be millions of pixels wide. Each extreme is + #: reported together with the point that attained it, because the two extremes + #: are different points and neither number means anything alone -- 14.6 px is + #: 2e-4 of a 7.6e4 px coordinate, while the worst ratio of 2.2e-2 belongs to a + #: point only 2.6 px from the origin whose absolute deviation is 0.057 px + "outside_frame_within_1px": int((outside_dev <= UV_TOLERANCE_PX).sum()), + "outside_frame_max_px": (round(float(outside_dev.max()), 4) + if outside_dev.size else None), + "outside_frame_max_px_uv_scale": (round(float(outside_scale[outside_dev.argmax()]), 4) + if outside_dev.size else None), + "outside_frame_max_relative": (float(f"{outside_relative.max():.3g}") + if outside_dev.size else None), + "outside_frame_max_relative_px": (round(float(outside_dev[outside_relative.argmax()]), 4) + if outside_dev.size else None), + "outside_frame_max_relative_uv_scale": ( + round(float(outside_scale[outside_relative.argmax()]), 4) + if outside_dev.size else None), + "worst_frame": worst, + "worst_frame_in_frame_max_px": (round(float(frame_max[worst]), 4) + if worst >= 0 and frame_max[worst] >= 0 else None), + "visibility_true": int((annotated_all & seen_all).sum()), + "visible_outside_frame": int(visible_outside_mask.sum()), + "visible_outside_frame_max_px": (round(float(deviation[visible_outside_mask].max()), 4) + if visible_outside_mask.any() else None), + "visible_near_plane_points": int((annotated_all & seen_all & plate_all).sum()), + "visible_behind_plane_points": int((annotated_all & seen_all & behind_all).sum()), + "invisible_in_frame": int((annotated_all & ~seen_all & in_frame).sum()), + "plane_threshold_m": PLANE_THRESHOLD_M, + } + projection = { + "model": meta["camera"]["model"], "calibrated": True, + "coordinate_frame": "camera", "scope": PROJECTION_SCOPE, + "uv_tolerance_px": UV_TOLERANCE_PX, "visibility_rule": VISIBILITY_RULE, + "view_scan": view_scan, "points": 0, "inside": 0, "off_image": 0, + "uv_compared": 0, "uv_within_1px": 0, "uv_within_tolerance": 0, "frames": {}, + "note": "RHD publishes uv and xyz with one pinhole K, so this is the published " + "projection_qc rather than a one-sided count: the saved xyz is projected " + "through the view's own intrinsic and compared with the saved uv, split " + "into the joints whose published uv lies inside the picture (pixel " + "tolerance) and those outside it (relative to their own magnitude). " + "view_scan covers every frame of the view; the per-frame entries below " + "cover only the sampled frames whose pixels were decoded.", + } + panels_by_frame, details_by_frame = {}, {} + visible_outside, not_annotated = [], [] + for index in selected: + panels, skipped = [], [] + image = Image.fromarray(rgb[index]) + panels.append((f"原生 RGB(MKV 解出的第 {index} 帧,未重编码)", picture(image))) + details = { + "frame_index": index, + "source": frames.get(index), + "components": {name: {"shape": record["shape"], "dtype": record["dtype"], + "valid_true": record["valid_true"], + "valid_total": record["valid_total"], + "nan_count": record["nan_count"]} + for name, record in fields.items()}, + "media_valid": {"rgb": None if rgb_valid is None else bool(rgb_valid[index]), + "depth_true_pixels": int((depth_valid[index] != 0).sum()), + "depth_pixels": int(depth_valid[index].size)}, + } + + # segmentation + mask = masks[index][..., 0] + coloured = np.zeros_like(rgb[index]) + counts = {} + for hand, (low, high) in SEGMENT_RANGES.items(): + active = (mask >= low) & (mask <= high) + counts[hand] = int(active.sum()) + coloured[active] = SEGMENT_COLORS[hand] + active = coloured.any(-1) + overlay = rgb[index].copy() + overlay[active] = (0.5 * overlay[active] + 0.5 * coloured[active]).astype(np.uint8) + panels.append((f"分割区域(左手红 {counts['left']} px / 右手蓝 {counts['right']} px," + f"叠加在 RGB 上;区域号 {SEGMENT_RANGES['left'][0]}–" + f"{SEGMENT_RANGES['right'][1]},背景号 65534)", + picture(Image.fromarray(overlay)))) + + # native uv, solid where the source says the joint is visible + uv = bundled["keypoints_uv"][0][index].numpy() + uv_valid = bundled["keypoints_uv"][1][index].numpy() + seen = visibility[index].numpy() if visibility is not None else None + if not uv_valid.any(): + reason = "该帧全部 valid 为假(源未标注,故不绘制)" + panels.append(("原生 UV:" + reason, None)) + skipped.append(("原生 UV", reason)) + else: + drawn = Image.fromarray(rgb[index].copy()) + painter = ImageDraw.Draw(drawn) + shown = {} + #: uv is (hand, joint, coordinate) -- the joint count is axis 1, not 2 + joints = uv.shape[1] + for hand, slot in (("left", 0), ("right", 1)): + in_frame = np.zeros(joints, bool) + for joint in range(joints): + x, y = float(uv[slot, joint, 0]), float(uv[slot, joint, 1]) + in_frame[joint] = (uv_valid[slot, joint] and 0 <= x < width + and 0 <= y < height) + shown[hand] = draw_hand(painter, uv[slot], + uv_valid[slot] & in_frame, + None if seen is None else seen[slot], + HAND_COLORS[hand], radius) + panels.append((f"原生 UV 关键点(发布的 2D 像素坐标;实心=源标为可见" + f"(基本等于落在画内)、空心=源标为不可见(画外或被遮挡);" + f"左手 {shown['left']} 点、右手 {shown['right']} 点在画内)", + picture(drawn))) + + # xyz projected with the view's own K, compared against the published uv + xyz = bundled["keypoints_xyz"][0][index].numpy() + xyz_valid = bundled["keypoints_xyz"][1][index].numpy() + K = intrinsic[0][index].numpy() + if not bool(intrinsic[1][index]): + projection["frames"][index] = {"intrinsic_valid": False} + panels.append(("XYZ 投影:该帧 intrinsic 的 valid 为假,不做投影", None)) + skipped.append(("XYZ 投影", "该帧 intrinsic 的 valid 为假")) + elif not xyz_valid.any(): + projection["frames"][index] = { + "annotated": False, "valid_points": 0, "behind_plane_points": 0, + "near_plane_points": 0, "in_frame_points": 0, "outside_frame_points": 0, + "visible_outside_frame": 0, "uv_compared": 0, "uv_median_px": None, + "uv_max_px": None, "uv_within_1px": None, "uv_within_tolerance": None, + "outside_uv_max_px": None, "outside_uv_max_relative": None} + not_annotated.append(index) + reason = "该帧全部 valid 为假(源未标注,数值非有限值,故不绘制也不投影)" + panels.append(("XYZ 投影:" + reason, None)) + skipped.append(("XYZ 投影", reason)) + else: + pixels, front, inside = project(xyz, K, width, height) + #: the panels draw from the projection, so their mask is the projected one; + #: the QC below splits the points the same way the whole-view scan does, by + #: where the *published* uv lies + drawable = front & xyz_valid & inside + uv_row = uv_all[index] + fin_row = np.isfinite(pixels).all(axis=-1) + depth_row = depth_all[index] + dev_row = deviation[index] + behind_row = xyz_valid & (depth_row <= 0) + plate_row = xyz_valid & (depth_row > 0) & (depth_row < PLANE_THRESHOLD_M) & fin_row + cmp_row = (xyz_valid & (depth_row >= PLANE_THRESHOLD_M) & fin_row + & np.isfinite(uv_row).all(axis=-1)) + in_row = (cmp_row & (uv_row[..., 0] >= 0) & (uv_row[..., 0] < width) + & (uv_row[..., 1] >= 0) & (uv_row[..., 1] < height)) + out_row = cmp_row & ~in_row + #: the direction that would mean annotation and calibration disagree: the + #: source calls a joint visible and its own published uv lies outside + outside_visible = int((seen & out_row).sum()) if seen is not None else 0 + entry = {"annotated": True, + "valid_points": int((xyz_valid & (depth_row > 0) & fin_row).sum()), + "behind_plane_points": int(behind_row.sum()), + "near_plane_points": int(plate_row.sum()), + "in_frame_points": int(in_row.sum()), + "outside_frame_points": int(out_row.sum()), + "visible_outside_frame": outside_visible, + "uv_compared": int(in_row.sum()), "uv_median_px": None, + "uv_max_px": None, "uv_within_1px": None, "uv_within_tolerance": None, + "outside_uv_max_px": None, "outside_uv_max_relative": None} + if in_row.any(): + distance = dev_row[in_row] + entry["uv_median_px"] = round(float(np.median(distance)), 4) + entry["uv_max_px"] = round(float(distance.max()), 4) + entry["uv_within_1px"] = int((distance <= 1.0).sum()) + entry["uv_within_tolerance"] = int((distance <= UV_TOLERANCE_PX).sum()) + projection["uv_compared"] += int(in_row.sum()) + projection["uv_within_1px"] += entry["uv_within_1px"] + projection["uv_within_tolerance"] += entry["uv_within_tolerance"] + if out_row.any(): + out_rel = dev_row[out_row] / np.maximum( + np.abs(uv_row[out_row]).max(axis=-1), 1.0) + entry["outside_uv_max_px"] = round(float(dev_row[out_row].max()), 4) + entry["outside_uv_max_relative"] = float(f"{out_rel.max():.3g}") + projection["points"] += entry["valid_points"] + projection["inside"] += int(drawable.sum()) + projection["off_image"] += entry["valid_points"] - int(drawable.sum()) + projection["frames"][index] = entry + details["projection"] = entry + if outside_visible > VISIBLE_OUTSIDE_TOLERANCE: + visible_outside.append(index) + if not drawable.any(): + panels.append((f"XYZ 投影:{entry['valid_points']} 个有效关键点全部落在画外", None)) + skipped.append(("XYZ 投影", f"{entry['valid_points']} 个有效点全部落在画外")) + else: + drawn = Image.fromarray(rgb[index].copy()) + painter = ImageDraw.Draw(drawn) + shown = {} + for hand, slot in (("left", 0), ("right", 1)): + #: in front of the camera and inside the picture, but whether the + #: marker is filled or hollow is the source's own visible flag -- the + #: same vocabulary as the UV panel, so the two can be read against + #: each other + shown[hand] = draw_hand( + painter, pixels[slot], + front[slot] & xyz_valid[slot] & inside[slot], + None if seen is None else seen[slot], HAND_COLORS[hand], radius) + warning = (f"该帧有 {outside_visible} 个关节源标为可见、而发布的 uv 落在画外(多为 uv " + "恰好等于 320.0 或 0.0 的边界值,数值上仍与投影一致);" + if outside_visible > VISIBLE_OUTSIDE_TOLERANCE else "") + agreement = ("" if entry["uv_median_px"] is None else + f";与发布 uv 逐点比对(画内 {entry['uv_compared']} 点):" + f"中位偏离 {entry['uv_median_px']} px、最大 " + f"{entry['uv_max_px']} px,≤1 px 的 {entry['uv_within_1px']} 点" + + (f";画外 {entry['outside_frame_points']} 点按自身量级的最大相对" + f"偏离 {entry['outside_uv_max_relative']}" + if entry["outside_uv_max_relative"] is not None else "")) + panels.append((warning + + f"XYZ 投影(相机系米制经本视图自己的 K;左手 " + f"{shown['left']} 点、右手 {shown['right']} 点在画内,实心=" + f"源标为可见)" + agreement, picture(drawn))) + + # depth + depth = depth_image(packed[index][:, :, 0], width) + lo, hi = np.percentile(depth, [2, 98]) + stretched = np.clip((depth - lo) / max(hi - lo, 1e-6), 0, 1) + depth_panel = cv2.cvtColor( + cv2.applyColorMap((stretched * 255).astype(np.uint8), cv2.COLORMAP_VIRIDIS), + cv2.COLOR_BGR2RGB) + panels.append((f"z 深度(float32 位串,逐图拉伸;显示范围 {lo:.3f}–{hi:.3f} m)", + picture(Image.fromarray(depth_panel)))) + details["media_valid"]["depth_all_true"] = bool((depth_valid[index] != 0).all()) + + if skipped: + details["not_drawn"] = [{"what": what, "why": why} for what, why in skipped] + panels_by_frame[index] = panels + details_by_frame[index] = details + + #: every listed stream is demuxed for exactly the selected frames -- decode() raises + #: if a frame's byte count is off, so each count here is established, not assumed. + #: The field previously read 0 for depth and segment, which contradicted the z-depth + #: and segmentation panels that are drawn from those very decodes. + media = [{"component": name, "ref": component["data_ref"], + "frames_decoded": len(selected)} + for name, component in components.items() + if component.get("available", True) and "data_key" not in component] + report = view_report(view, meta, fields, consumed, selected, projection, media) + report["not_drawn"] = sorted({what for details in details_by_frame.values() + for what, _ in details.get("not_drawn", [])}) + report["visible_outside_frame_frames"] = sorted(visible_outside) + report["not_annotated_frames"] = sorted(not_annotated) + + title = f"{view.parent.name}_{view.name}" + sections = [] + for index in selected: + figures = [] + for caption, source in panels_by_frame.get(index) or []: + if source is None: + figures.append('

' + caption + "

") + else: + figures.append("
" + source + "
" + caption + + "
") + sections.append( + f"

帧 {index} / {n}

" + + '
' + "".join(figures) + "
" + + "
帧号、来源、全部数值组件与有效性
"
+            + html.escape(json.dumps(details_by_frame[index], ensure_ascii=False, indent=2))
+            + "
") + + css = ("body{font:16px sans-serif;max-width:1500px;margin:auto;padding:1rem;" + "background:#f5f7fa;color:#18232f;line-height:1.5}" + "section,details{background:#fff;padding:1rem;margin:1rem 0;border-radius:8px}" + "figure{margin:.5rem}figcaption{font-size:.85rem;max-width:800px}" + ".panels{display:flex;flex-wrap:wrap}img{max-width:100%;border:1px solid #ddd}" + "pre{white-space:pre-wrap;overflow:auto;font-size:12px}" + ".note{background:#fff7e6;border-left:3px solid #e0a800;padding:.6rem;" + "font-size:.9rem;max-width:800px}" + ".legend{background:#eef3fa;border-left:3px solid #4a76a8;padding:.6rem;" + "font-size:.9rem;max-width:800px}.swatch{border:1px solid #b9c3d0}") + header = ("

" + html.escape(title) + "

直接读取 v1.1 bundle(" + + html.escape(meta["sequence_id"]) + " 的 " + html.escape(meta["view_type"]) + + " 视图,split=" + html.escape(meta["split"]) + ",共 " + str(n) + + " 帧独立图像)。预览仅供人工复核,不是训练输入(CONTRACT §6.5);本次只解码" + "抽样的 " + str(len(selected)) + " 帧,不是全部帧。本 release 另带 v1.0 的 24 " + "张抽查页(doc/history-v1.0/validation/),两者并存,本页不替代它。

") + header += colour_legend() + header += ('

全视图数值扫描(不止抽样帧,本视图 ' + + str(view_scan["frames_scanned"]) + " 帧全部参与):发布的 " + "xyz 经本视图自己的 K 投影后与发布的 " + "uv 逐点比对。画内(发布的 uv 落在 320×320 内)" + + str(view_scan["in_frame_points"]) + " 个点:中位偏离 " + + f"{view_scan['median_px']:g} px、最大 " + + f"{view_scan['in_frame_max_px']:g} px;" + + str(view_scan["frames_all_in_frame_points_within_1px"]) + "/" + + str(view_scan["frames_with_in_frame_points"]) + " 帧的画内点全部在 " + + f"{UV_TOLERANCE_PX:g} px 以内。" + "画外 " + str(view_scan["outside_frame_points"]) + " 个点:发布的 uv 是" + "原始投影,可以任意大,像素阈值对它没有意义,故按相对自身量级核验——其中 " + + str(view_scan["outside_frame_within_1px"]) + " 个点绝对偏差仍在 " + + f"{UV_TOLERANCE_PX:g} px 以内。两个极值来自不同的点,故各自带上它自己的" + "量级:绝对偏差最大 " + f"{view_scan['outside_frame_max_px']:g} px" + "(该点坐标量级 " + f"{view_scan['outside_frame_max_px_uv_scale']:.3g}" + " px,相对 " + f"{view_scan['outside_frame_max_px'] / view_scan['outside_frame_max_px_uv_scale']:.2g}" + ");相对偏差最大 " + f"{view_scan['outside_frame_max_relative']:g}" + "(该点绝对偏差仅 " + f"{view_scan['outside_frame_max_relative_px']:g}" + " px、离原点 " + f"{view_scan['outside_frame_max_relative_uv_scale']:g}" + " px,比值大只因分母小)。" + "另有 " + str(view_scan["behind_plane_points"]) + " 个关节深度 ≤0(在相机平面上" + "或之后)、" + str(view_scan["near_plane_points"]) + " 个深度 < " + + f"{PLANE_THRESHOLD_M:g} m(其 uv 本身就在 1e5 px 量级),这两类不成对比较," + "只计数。偏差最大的画内帧已强制进抽样,见下方。

") + header += ('

RHD 每张图标注双手,而通常只有一只手落在 320×320 ' + "画内(本视图 " + str(view_scan["in_frame_points"]) + "/" + + str(view_scan["points_scanned"]) + " 个关节落在画内),源用 " + "visibility 标出每个关节是否可见。实测该标量与" + "「发布的 uv 是否落在画内」在绝大多点上一致,不一致的全部是" + "「画内但被标为不可见」(本视图 " + str(view_scan["invisible_in_frame"]) + + " 个,多为被另一只手遮挡),而「标为可见却落在画外」只有 " + + str(view_scan["visible_outside_frame"]) + " 个" + + ("" if view_scan["visible_outside_frame_max_px"] is None else + "(其偏差 ≤ " + f"{view_scan['visible_outside_frame_max_px']:g} px," + "即数值上完全一致,只是 uv 恰好落在边界上)") + + "。" + html.escape(VISIBILITY_RULE) + + "。可见与不可见只影响绘制时的实心/空心,不影响有效性判定:不可见关节仍然" + "有源给出的 xyz/uv,故仍参与上述比对。画外关节占多数是本数据集" + "「每图标注双手、通常只有一只在画内」的正常形态,不是标定缺陷。

") + if visible_outside: + header += ('

抽样的 ' + str(len(selected)) + " 帧里有 " + + str(len(visible_outside)) + " 帧存在「源标为可见、但发布的 uv 落在画外」" + "的关节(帧 " + + "、".join(str(index) for index in visible_outside) + + ")。实测这些点多是 uv 恰好等于边界值(320.0 / 0.0),偏差仍在 0.1 px " + "内,即标注与标定并未冲突;列出帧号只是让复核者可以自己确认。逐帧数量与" + "最大偏差记在本视图报告的 projection.frames 里" + "(visible_outside_frame)。

") + if not_annotated: + header += ('

抽样的 ' + str(len(selected)) + " 帧里有 " + + str(len(not_annotated)) + " 帧源未给出关键点(帧 " + + "、".join(str(index) for index in not_annotated) + + "):该帧全部 valid 为假,数值按发布的写法为非有限值,页面不绘制也不" + "投影。这是源未标注,不是投影失败。

") + page = ('' + + html.escape(title) + "" + header + + "".join(sections) + + "
全部组件元信息及原始来源
"
+            + html.escape(json.dumps(meta, ensure_ascii=False, indent=2)) + "
" + + "
持久化 QC 结果
"
+            + html.escape(json.dumps(report, ensure_ascii=False, indent=2))
+            + "
") + + destination.mkdir(parents=True, exist_ok=True) + (destination / (title + ".html")).write_text(page, encoding="utf-8") + #: saved before _page is added: the file on disk is the report, and _page is a + #: convenience index.html needs in memory + save(destination / (title + ".report.json"), report) + report["_page"] = title + ".html" + print(destination / (title + ".html"), "selected_frames", selected, flush=True) + return report + + +def render_task(task): + for variable in ("OMP_NUM_THREADS", "MKL_NUM_THREADS", "OPENBLAS_NUM_THREADS", + "NUMEXPR_NUM_THREADS", "HAND_WAREHOUSE_FFMPEG_THREADS"): + os.environ[variable] = "1" + torch.set_num_threads(1) + view, destination, root = map(Path, task) + return render_one(view, destination, root) + + +# -- sampling --------------------------------------------------------------- + + +def shard_facts(root: Path, sequence: str) -> dict: + """Split, frame count and source directory of one shard, from its own metadata.""" + views = sorted((root / "data" / sequence).glob("*/metainfo.json")) + if len(views) != 1: + raise SystemExit(f"{sequence}: expected exactly one camera, found {len(views)}") + meta = load(views[0]) + return {"sequence": sequence, "split": meta["split"], "num_frames": meta["num_frames"], + "member_prefix": meta["split_source_locator"]["member_prefix"], + "camera": meta["camera_id"]} + + +def plan_views(facts: dict, seed: int, train_slots: int) -> list: + """Stratified sample: the whole evaluation split, plus a seeded training draw. + + RHD's two splits are wildly unequal -- 81 training shards against 6 evaluation + ones -- so an equal-allocation draw would either exhaust one stratum or drown the + other. The rule here is stated rather than balanced: **every** evaluation shard is + rendered (all six, the whole official test split), and ``train_slots`` training + shards are drawn uniformly with the seed. The training split's partial tail shard + is forced into the sample, because it is the one training shard whose frame count + is not the shard size and therefore the boundary case a reviewer should see once. + The draw is repeatable from the record in ``V1_1_VALIDATION.json``. + """ + rng = random.Random(seed) + evaluation = sorted(sequence for sequence, fact in facts.items() if fact["split"] == "test") + training = sorted(sequence for sequence, fact in facts.items() if fact["split"] == "train") + if not evaluation or not training: + raise SystemExit("one of the two splits is empty") + shard_size = max(fact["num_frames"] for fact in facts.values()) + #: the training shards that are not full: the tail of the 41,258-image split + forced = sorted(sequence for sequence in training + if facts[sequence]["num_frames"] != shard_size)[:1] + remaining = [sequence for sequence in training if sequence not in forced] + if len(remaining) < train_slots - len(forced): + raise SystemExit(f"the training split cannot fill {train_slots} slots") + drawn = sorted(rng.sample(remaining, train_slots - len(forced))) + return sorted(evaluation + forced + drawn) + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("--root", type=Path, + default=Path(__file__).resolve().parents[2], + help="the shared-v1.1 release root (default: this script's own)") + parser.add_argument("--out", type=Path, + help="where the pages go (default /doc/validation)") + parser.add_argument("--seed", type=int, default=20261014) + parser.add_argument("--reference-shards", type=int, default=12, + help="views to render; the whole evaluation split is always " + "included and the rest are training shards") + parser.add_argument("--workers", type=int, default=4, + help="at most 8, one decoder thread each") + parser.add_argument("--views", nargs="+", + help="render these views (sequence/camera) instead of sampling") + args = parser.parse_args(argv) + if not 1 <= args.workers <= 8: + parser.error("at most 8 workers and one decoder thread each") + + root = args.root.resolve() + destination = (args.out or root / "doc/validation").resolve() + + facts = {path.name: shard_facts(root, path.name) + for path in sorted((root / "data").iterdir()) if path.is_dir()} + if args.views: + views = [] + for token in args.views: + sequence, _, camera = token.partition("/") + view = root / "data" / sequence / (camera or "camera") + if not (view / "metainfo.json").is_file(): + parser.error(f"no such view: {token}") + views.append(view) + sequences = sorted({view.parent.name for view in views}) + sampling = {"kind": "explicit", "views": args.views, + "rule": "explicit view list; no sampling applied"} + else: + evaluation = [sequence for sequence, fact in facts.items() if fact["split"] == "test"] + train_slots = args.reference_shards - len(evaluation) + if train_slots < 0: + parser.error(f"--reference-shards {args.reference_shards} is smaller than the " + f"{len(evaluation)} shards of the evaluation split") + sequences = plan_views(facts, args.seed, train_slots) + views = [] + for sequence in sequences: + found = sorted((root / "data" / sequence).glob("*/metainfo.json")) + if len(found) != 1: + raise SystemExit(f"{sequence}: {len(found)} views enumerated") + views.append(found[0].parent) + shard_size = max(fact["num_frames"] for fact in facts.values()) + sampling = { + "seed": args.seed, + "rule": "the whole evaluation split (all of its shards) plus training shards " + "drawn uniformly inside the split with the seed, with the training " + "split's partial tail shard forced into the sample; one page per " + "shard (RHD has one camera per shard)", + "evaluation_shards_rendered": len(evaluation), + "training_slots": train_slots, + "forced_training_shard": sorted(sequence for sequence, fact in facts.items() + if fact["split"] == "train" + and fact["num_frames"] != shard_size)[:1], + "shard_size": shard_size, + "selections": [{"sequence": sequence, "split": facts[sequence]["split"], + "num_frames": facts[sequence]["num_frames"], + "member_prefix": facts[sequence]["member_prefix"], + "camera": facts[sequence]["camera"]} for sequence in sequences], + "pools": {split: sum(1 for fact in facts.values() if fact["split"] == split) + for split in ("train", "test")}, + "sequences_in_release": len(facts), + } + + start = time.monotonic() + #: no .pyc may land in the release tree, and a spawn child re-imports this module + #: before any guard inside it runs -- so the switch has to be in the environment + #: the children inherit, not only in this interpreter + os.environ["PYTHONDONTWRITEBYTECODE"] = "1" + with ProcessPoolExecutor(max_workers=args.workers, + mp_context=multiprocessing.get_context("spawn")) as pool: + reports = list(pool.map(render_task, + [(str(view), str(destination), str(root)) for view in views])) + + compared = sum(entry["projection"]["uv_compared"] for entry in reports) + within_1 = sum(entry["projection"]["uv_within_1px"] for entry in reports) + within_tol = sum(entry["projection"]["uv_within_tolerance"] for entry in reports) + scan = [entry["projection"]["view_scan"] for entry in reports] + report = { + "review_kind": "全量后抽样", + "views": len(views), + "sequences": len(sequences), + "dataset_id": "RHD", + "release_id": "shared-v1.1", + "sampling": sampling, + "wall_seconds": round(time.monotonic() - start, 3), + "decode_scope": DECODE_SCOPE, + "projection_qc": { + #: the whole-view scan: every frame of every rendered view was projected and + #: compared, so these numbers do not stop at the sampled frames + "views_scanned": len(scan), + "frames_scanned": sum(item["frames_scanned"] for item in scan), + "points_scanned": sum(item["points_scanned"] for item in scan), + #: counted, not dropped: joints at or behind the camera plane, and joints + #: within a millimetre of it, have no meaningful pixel comparison + "behind_plane_points": sum(item["behind_plane_points"] for item in scan), + "near_plane_points": sum(item["near_plane_points"] for item in scan), + "comparable_points": sum(item["comparable_points"] for item in scan), + "in_frame_points": sum(item["in_frame_points"] for item in scan), + "outside_frame_points": sum(item["outside_frame_points"] for item in scan), + #: the worst median across views, so the headline is the pessimistic one + "median_px": (max(item["median_px"] for item in scan) if scan else None), + "in_frame_max_px": (max(item["in_frame_max_px"] for item in scan) + if scan else None), + "frames_with_in_frame_points": sum( + item["frames_with_in_frame_points"] for item in scan), + "frames_all_in_frame_points_within_1px": sum( + item["frames_all_in_frame_points_within_1px"] for item in scan), + "outside_frame_within_1px": sum( + item["outside_frame_within_1px"] for item in scan), + "outside_frame_max_px": (max(item["outside_frame_max_px"] for item in scan) + if scan else None), + "outside_frame_max_relative": (max(item["outside_frame_max_relative"] + for item in scan) if scan else None), + "visible_outside_frame": sum(item["visible_outside_frame"] for item in scan), + "invisible_in_frame": sum(item["invisible_in_frame"] for item in scan), + "plane_threshold_m": PLANE_THRESHOLD_M, + "tolerance_px": UV_TOLERANCE_PX, + "sampled_frames": {"compared_points": compared, "within_1px": within_1, + "within_tolerance": within_tol}, + "visibility_rule": VISIBILITY_RULE, + "scope": PROJECTION_SCOPE, + "note": "saved xyz projected through each view's own K, compared with the " + "saved uv; RHD is the only release holding both series. The " + "whole-view scan covers every frame of every rendered view; " + "sampled_frames covers only the frames whose pixels were decoded. " + "Points at or within a millimetre of the camera plane are counted " + "separately rather than compared in pixels, and in-frame points are " + "separated from out-of-frame ones by where the published uv itself " + "lands, so a far out-of-frame joint cannot inflate the in-frame " + "maximum.", + }, + "reports": reports, + "scope": "post-full sampled shards, read directly from v1.1 bundles; evidence for " + "human acceptance, not training input; manual review pending", + } + save(destination / "V1_1_VALIDATION.json", report) + + page_names = sorted(path.name for path in destination.glob("*.html") + if path.name != "index.html") + index_css = ("body{font:16px sans-serif;max-width:1100px;margin:auto;padding:1rem;" + "background:#f5f7fa;color:#18232f;line-height:1.5}" + ".legend{background:#eef3fa;border-left:3px solid #4a76a8;padding:.6rem;" + "font-size:.9rem;max-width:800px}.swatch{border:1px solid #b9c3d0}" + "table{border-collapse:collapse;width:100%}td,th{border:1px solid #ccd3de;" + "padding:4px 8px;text-align:left;font-size:.9rem}") + rows = [] + for entry in sorted(reports, key=lambda item: (item["sequence_id"], item["camera_id"])): + metrics = entry["projection"]["view_scan"] + rows.append("" + + html.escape(entry["view"]) + "" + + html.escape(entry["split"]) + "" + str(entry["num_frames"]) + + "" + str(len(entry["selected_frames"])) + "" + + str(metrics["in_frame_points"]) + " / " + + str(metrics["points_scanned"]) + "" + + f"{metrics['median_px']:g} px" + + f"{metrics['in_frame_max_px']:g} px" + + str(metrics["frames_all_in_frame_points_within_1px"]) + " / " + + str(metrics["frames_with_in_frame_points"]) + "" + + str(metrics["outside_frame_within_1px"]) + " / " + + str(metrics["outside_frame_points"]) + "" + + str(metrics["visible_outside_frame"]) + "") + index = ('' + "RHD shared-v1.1 review" + "

RHD shared-v1.1 全量后抽样人工复查

" + "

数值按字节一致(CONTRACT §6);媒体不重新编码,与 v1.0 共享 inode。" + "抽样规则与种子见 V1_1_VALIDATION.json,本页所列视图即全部入选视图:" + + str(len(views)) + " 个视图 / " + str(len(sequences)) + " 段(评估 split 全 " + + str(sampling.get("evaluation_shards_rendered", 0)) + " 片 + 训练 split 抽 " + + str(sampling.get("training_slots", 0)) + " 片)。全量读取器 sweep 的 87/87 " + "结果见 read_sequence_sweep.json,逐字段字节验收见 " + "validate_report.json 与发布树外的 " + "tmp/rhd-tools/acceptance.json。

" + + colour_legend() + + "

每页只解码该视图抽样的帧;抽样帧之外的帧不在页面里。但 xyz↔uv 投影比对" + "扫的是每个入选视图的全部帧(纯张量运算,不解码像素),全量结果见 " + "V1_1_VALIDATION.json 的 projection_qc。表里的「画内」是" + "发布的 uv 落在 320×320 内的关节数(RHD 每图标注双手,通常只有一只在画内," + "故画外关节占多数,属正常形态);「画内最坏点」只统计画内点的最大像素偏差。" + "画外点的 uv 是原始投影、可以任意大,像素阈值对它没有意义,故按其自身量级" + "核验,且两个极值各自带上它自己的坐标量级(见 V1_1_VALIDATION.json 的 " + "outside_frame_max_px_uv_scale 与 " + "outside_frame_max_relative_uv_scale)。深度 ≤0 或 <1 mm 的" + "关节不参与像素比较,只计数。v1.0 的 24 张抽查页" + "见 ../history-v1.0/validation/。

" + "" + "" + "" + "" + + "".join(rows) + "
视图split帧数本页抽样帧画内 / 全部关节画内偏差中位画内最坏点画内点全部≤1px 的帧画外点绝对偏差≤1px标为可见却在画外
" + "") + (destination / "index.html").write_text(index, encoding="utf-8") + print("POST_FULL_HTML_DONE", len(views), "views", round(report["wall_seconds"], 2), + "seconds", destination / "index.html", flush=True) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) \ No newline at end of file diff --git a/RHD/shared-v1.1/script/rhd_v1_1/rhd_common.py b/RHD/shared-v1.1/script/rhd_v1_1/rhd_common.py new file mode 100644 index 0000000000000000000000000000000000000000..7d55e6af57bdb5228d7a0552eda0af040ac7dee2 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/rhd_common.py @@ -0,0 +1,351 @@ +"""Shared helpers for the published RHD shared-v1.1 tools. + +Adapted from the shared-v1.0 version: numeric tensors and their validity now live +in per-group bundles (``camera/camera.pt``, ``annotation/keypoints/keypoints.pt``) +addressed by the dictionary keys registered in ``doc/schema.json``, instead of one +``.pt`` per component with a sibling ``*_valid.pt``. Media and JSONL validity +files keep their standalone bool Tensor form and are not bundled (CONTRACT 4). +""" +from pathlib import Path +import codecs, collections, hashlib, io, json, pickle, subprocess + +import numpy as np +import torch + +from warehouse import BUNDLE_PROFILE, BundleReader, BundleWriter, Registry, expanded_all_known + +#: this module lives in /shared-v1.1/script/rhd_v1_1, so the release tree +#: and the dataset root beside it are found without arguments. +SCRIPT_DIR = Path(__file__).resolve().parent +RELEASE_ROOT = SCRIPT_DIR.parent.parent +DATASET_ROOT = RELEASE_ROOT.parent +RAW_ROOT = DATASET_ROOT / "raw" / "data" +TMP_ROOT = DATASET_ROOT / "tmp" / "rhd-tools" +REGISTRY = Registry.load(RELEASE_ROOT / "doc/schema.json") +_FFMPEG_EXE = None + +def ffmpeg_exe(): + """Resolve the bundled FFmpeg lazily: reading tensors must not require it.""" + global _FFMPEG_EXE + if _FFMPEG_EXE is None: + import imageio_ffmpeg + _FFMPEG_EXE = imageio_ffmpeg.get_ffmpeg_exe() + return _FFMPEG_EXE + +def load(path): + return json.loads(Path(path).read_text(encoding="utf-8")) + +def save(path, value): + path = Path(path); path.parent.mkdir(parents=True, exist_ok=True) + tmp = path.with_suffix(path.suffix + ".tmp") + tmp.write_text(json.dumps(value, ensure_ascii=False, indent=2, allow_nan=False), encoding="utf-8") + tmp.replace(path) + +def write_jsonl(path, rows): + path = Path(path); path.parent.mkdir(parents=True, exist_ok=True) + path.write_text("".join(json.dumps(x, ensure_ascii=False, allow_nan=False) + "\n" for x in rows), encoding="utf-8") + +def save_tensor(path, value): + """Standalone validity: a CPU bool Tensor at the root, never a dict (CONTRACT 4).""" + path = Path(path); path.parent.mkdir(parents=True, exist_ok=True) + torch.save(torch.as_tensor(np.asarray(value).copy()), path) + +lines = write_jsonl +tensor = save_tensor + +def ffmpeg(args, data=None): + result = subprocess.run([ffmpeg_exe(), "-v", "error", "-y", *map(str, args)], input=data, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + if result.returncode: + raise RuntimeError(result.stderr.decode(errors="replace")) + return result.stdout + +#: the shared-v1.0 release imported these names but never bound ``ff``, so its +#: converter and review renderer raised NameError on the first media call. +ff = ffmpeg + +def storage(profile, codec, pixel_format, size, source_lossy, parameters): + version = ffmpeg(["-version"]).decode().splitlines()[0] + return {"profile": profile, "codec": codec, "pixel_format": pixel_format, + "encoded_size": size, "source_lossy": source_lossy, + "decoder": version, "encoder_parameters": parameters} + +class RestrictedUnpickler(pickle.Unpickler): + def find_class(self, module, name): + allowed = { + ("numpy.core.multiarray", "_reconstruct"): np.core.multiarray._reconstruct, + ("numpy._core.multiarray", "_reconstruct"): np.core.multiarray._reconstruct, + ("numpy", "ndarray"): np.ndarray, ("numpy", "dtype"): np.dtype, + ("numpy.core.numeric", "_frombuffer"): np.core.numeric._frombuffer, + ("numpy._core.numeric", "_frombuffer"): np.core.numeric._frombuffer, + ("_codecs", "encode"): codecs.encode, + ("collections", "OrderedDict"): collections.OrderedDict, + } + if (module, name) not in allowed: + raise pickle.UnpicklingError(f"Unsupported class: {module}.{name}") + return allowed[(module, name)] + +Restricted = RestrictedUnpickler + +class View: + """Writer for one ``/`` view of the shared-v1.1 release.""" + + def __init__(self, dataset, sequence, camera, frame_ids, size, source, kind="image", split="unknown", root=None): + assert dataset == "RHD" and camera == "camera" and kind == "image" + self.root = Path(root) if root is not None else RELEASE_ROOT + self.path = self.root / "data" / sequence / camera + self.path.mkdir(parents=True, exist_ok=True) + self.count = len(frame_ids) + archive = Path(source["archive"]).name + self.source = dict(source) + self.checks = [] + self.bundles = {} + self.meta = { + "schema_version": "hand-warehouse/1.1", "dataset_id": "RHD", + "release_id": "shared-v1.1", "sequence_id": sequence, "camera_id": "camera", + "sample_type": "image", "num_frames": self.count, + "hand_slots": ["left", "right"], "split": split, + "split_scheme": "RHD_official_training_evaluation", + "split_source_locator": {"archive": "raw/data/" + archive, "member_prefix": split + "/"}, + "sampling": {"type": "independent", "source_fps": None, "frames_ref": "camera/frames.jsonl", + "shard_max_images": 512, + "selection": "all source independent images sorted by source ID"}, + "camera": {"model": "unknown", "schema_id": None, "image_size": size}, + "components": {}, "storage_revision": "lossless-video-2026-09-18"} + self.frames = [{"frame_index": i, "source_frame_id": str(fid), "timestamp_ns": None, + "clock_domain": None, "source_locator": {**self.source, "source_frame_id": str(fid)}} + for i, fid in enumerate(frame_ids)] + + @property + def p(self): return self.path + @property + def T(self): return self.count + @property + def m(self): return self.meta + + def writer(self, rel): + if rel not in self.bundles: self.bundles[rel] = BundleWriter(self.path, rel) + return self.bundles[rel] + + def register(self, name, schema, bundle_rel, keys, axes, valid_ndim, method, metadata): + self.meta["components"][name] = { + "available": True, "schema_id": schema, "data_ref": bundle_rel, + "data_key": list(keys) + ["data"], "axes": axes, + "valid_ref": bundle_rel, "valid_key": list(keys) + ["valid"], + "valid_axes": axes[:valid_ndim], + "storage": {"profile": BUNDLE_PROFILE}, "valid_storage": {"profile": BUNDLE_PROFILE}, + "provenance": {"kind": "format_conversion", "method": method}, + "source_locator": dict(self.source), **metadata} + + def add(self, name, ref, schema, axes, valid, method="source values retained", **metadata): + """Register a media/JSONL component: standalone bool Tensor validity, not bundled.""" + valid_ref = Path(ref).with_name(Path(ref).stem + "_valid.pt").as_posix() + save_tensor(self.path / valid_ref, valid) + self.meta["components"][name] = { + "available": True, "schema_id": schema, "data_ref": ref, "axes": axes, + "valid_ref": valid_ref, "valid_axes": axes[:np.asarray(valid).ndim], + "provenance": {"kind": "format_conversion", "method": method}, + "source_locator": dict(self.source), **metadata} + + def numeric(self, name, data_ref, schema, value, valid, axes, **metadata): + """Stage a per-frame numeric tensor from its v1.0 ``data_ref``.""" + method = metadata.pop("method", "source values retained") + bundle_rel, keys, entry = REGISTRY.resolve(data_ref) + assert bundle_rel is not None, (name, data_ref, "does not resolve to a bundle") + assert schema in entry.get("schema_ids", [schema]), (name, schema, entry) + self.bundled(name, bundle_rel, keys, schema, value, valid, axes, method, **metadata) + + def bundled(self, name, bundle_rel, keys, schema, value, valid, axes, + method="source values retained", **metadata): + """Stage one already-resolved bundle field. + + Used by the converter (via :meth:`numeric`) and by the rewrite check, which + re-serializes a released view through the same writer so the two paths + cannot drift apart. + """ + keys = list(keys) + value = np.asarray(value, np.float32).copy(); valid = np.asarray(valid, bool) + assert value.shape[:valid.ndim] == valid.shape and value.shape[0] == self.count + assert np.isfinite(value[valid]).all() + value[~valid] = np.nan + self.writer(bundle_rel).put(keys, torch.as_tensor(value), torch.as_tensor(valid)) + self.register(name, schema, bundle_rel, keys, axes, valid.ndim, method, metadata) + #: the byte-exact round trip is asserted in finish(), once the bundle is on + #: disk; the writer only accumulates in memory until then. + self.checks.append({"test": "tensor_bundle_serialization_exact", "file": bundle_rel, + "keys": keys, "shape": list(value.shape), "valid_count": int(valid.sum())}) + + def attribute(self, components, name, ref, axes, value, method="source values retained", **metadata): + """Stage one bundled numeric attribute from its v1.0 ``data_ref``. + + CONTRACT 3: an attribute the source declared all-known keeps its data and gains + an explicit all-true bool valid at the attribute's valid shape. + """ + bundle_rel, keys, entry = REGISTRY.resolve(ref) + assert bundle_rel is not None and entry.get("attribute_id"), (name, ref) + self.attribute_bundled(components, name, bundle_rel, keys, axes, value, method, **metadata) + + def attribute_bundled(self, components, name, bundle_rel, keys, axes, value, + method="source values retained", **metadata): + """Stage one already-resolved bundled attribute. + + The registry fixes one ``visibility`` entry, so both keypoint components share + it: the same ``(bundle, keys)`` is registered on each named component. + """ + keys = list(keys) + data = torch.as_tensor(np.asarray(value, bool)) + valid = expanded_all_known(data, REGISTRY.visibility_valid_shape(axes)) + self.writer(bundle_rel).put(keys, data, valid) + block = {"data_ref": bundle_rel, "data_key": keys + ["data"], "axes": axes, + "dtype": "bool", "visibility_type": "bool", + "valid_ref": bundle_rel, "valid_key": keys + ["valid"], + "valid_axes": axes[:valid.ndim], + "storage": {"profile": BUNDLE_PROFILE}, + "valid_storage": {"profile": BUNDLE_PROFILE}, + "provenance": {"kind": "format_conversion", "method": method}, + "source_locator": dict(self.source), **metadata} + for component in components: + self.meta["components"][component].setdefault("attributes", {})[name] = dict(block) + self.checks.append({"test": "attribute_all_known_expanded", "attribute": name, + "file": bundle_rel, "keys": keys, "components": list(components), + "valid": int(valid.sum()), "shape": list(valid.shape)}) + + def intrinsic(self, value): + self.meta["camera"].update(model="pinhole", schema_id="camera/pinhole/v1") + self.numeric("intrinsic", "camera/intrinsic.pt", "camera/pinhole/v1", value, + np.ones(self.count, bool), ["T", "row", "column"]) + + def finish(self): + """Flush bundles, re-read every field, then write frames.jsonl and metainfo.""" + for rel, writer in self.bundles.items(): + path = writer.save() + if path is None: continue + reloaded = BundleReader().bundle(self.path, rel) + for keys, leaf in walk_leaf(writer.tree): + node = reloaded + for key in keys: node = node[key] + for terminal in ("data", "valid"): + assert raw_bytes(node[terminal]) == raw_bytes(leaf[terminal]), (rel, keys, terminal) + write_jsonl(self.path / "camera/frames.jsonl", self.frames) + save(self.path / "metainfo.json", self.meta) + save(TMP_ROOT / "checks" / f'{self.meta["sequence_id"]}__camera.checks.json', + {"checks": self.checks, "frames": self.count, "input": self.source}) + +def walk_leaf(tree, prefix=()): + for key, value in tree.items(): + if isinstance(value, dict) and set(value) == {"data", "valid"}: + yield prefix + (key,), value + elif isinstance(value, dict): + yield from walk_leaf(value, prefix + (key,)) + +def raw_bytes(value): + value = value.detach().cpu().contiguous() + try: return value.numpy().tobytes() + except (TypeError, RuntimeError): return value.view(torch.uint8).numpy().tobytes() + +REGISTRY_READER = BundleReader() + +def stray_validity(rel, registry=REGISTRY): + """A standalone validity file whose data field the registry merges into a bundle. + + CONTRACT 6.1 names this failure explicitly: a numeric component's validity left + behind as its own file because its name was not recognised. Asked of the + registry rather than of a list of names, so it keeps catching new components. + """ + return rel.endswith('_valid.pt') and registry.resolve(rel[:-len('_valid.pt')] + '.pt') is not None + +def shape_symbols(meta, component, registry=REGISTRY): + """Authoritative values for the symbolic axes a registry template may use.""" + symbols = {"T": meta["num_frames"]} + schema = component.get("keypoint_schema") + if schema: symbols["K"] = registry.schema["keypoints"][schema]["count"] + return symbols + +def resolve_shape(template, tensor, symbols): + """Resolve a registry shape template against a real tensor. + + ``T`` and ``K`` come from the view metadata and the registry, so mismatches are + caught; any other symbolic axis falls back to the tensor's own extent. + """ + dims = [] + for axis, dim in enumerate(template): + assert axis < tensor.ndim, (list(template), list(tensor.shape)) + dims.append(symbols[dim] if isinstance(dim, str) and dim in symbols + else (tensor.shape[axis] if isinstance(dim, str) else dim)) + return dims + +def check_attributes(base, name, component, registry, reader=REGISTRY_READER, symbols=None): + """Validate every bundled numeric attribute on a component (CONTRACT 3, 5).""" + required = registry.schema["tensor_attributes"]["visibility"]["required_metadata"] + assert symbols, (name, "caller must supply the view's shape symbols") + for attribute, spec in (component.get("attributes") or {}).items(): + where = f"{name}.{attribute}" + for key in required: + assert key in spec, (where, key) + assert spec["data_ref"] == spec["valid_ref"], (where, "must share one bundle file") + assert spec["storage"]["profile"] == BUNDLE_PROFILE, where + assert spec["valid_storage"]["profile"] == BUNDLE_PROFILE, where + data, valid = reader.field(base, spec) + assert data.dtype == torch.bool and valid.dtype == torch.bool, (where, data.dtype, valid.dtype) + expected = resolve_shape(registry.visibility_valid_shape(spec["axes"]), data, symbols) + assert list(data.shape) == expected, (where, list(data.shape), expected) + assert list(valid.shape) == list(data.shape), (where, "valid shape must match data") + assert list(spec["valid_axes"]) == list(spec["axes"])[:valid.ndim], (where, spec.get("valid_axes")) + assert bool(valid.all()), (where, "expanded all-known validity must be all true") + return set() + +def check_view(base, meta, registry=REGISTRY, reader=REGISTRY_READER): + """Structural checks for one view; returns the file paths consumed into bundles. + + Shared by validate_rhd.py and render_full_random_review.py so both exercise the + same registry-driven reader instead of loading ``.pt`` files directly. + """ + total = meta["num_frames"]; consumed = set() + assert meta["schema_version"] == "hand-warehouse/1.1" and meta["release_id"] == "shared-v1.1", base + for key in registry.schema["view_metadata"]["required_fields"]: + assert key in meta, (base, key) + assert meta["view_type"] in registry.schema["view_metadata"]["view_type_values"], (base, meta["view_type"]) + for name, component in meta["components"].items(): + spec = registry.components.get(component.get("schema_id")) + if "data_key" in component: + assert spec is not None, (name, component.get("schema_id"), "unregistered") + for key in ("data_key", "valid_key", "storage", "valid_storage", "valid_ref", "valid_axes"): + assert key in component, (name, key) + assert component["data_ref"] == component["valid_ref"], (name, "bundled refs must share a file") + assert component["storage"]["profile"] == BUNDLE_PROFILE, name + for key in spec.get("required_metadata", []): + assert key in component, (name, key) + data, valid = reader.field(base, component) + assert valid.dtype == torch.bool, (name, "valid must be bool") + symbols = shape_symbols(meta, component, registry) + assert list(data.shape) == resolve_shape(spec["shape"], data, symbols), (name, list(data.shape)) + assert list(valid.shape) == resolve_shape(spec["valid_shape"], valid, symbols), (name, list(valid.shape)) + assert list(component["valid_axes"]) == list(component["axes"])[:valid.ndim], (name, "valid_axes") + assert not data.is_floating_point() or bool(torch.isfinite(data[valid]).all()), (name, "non-finite where valid") + consumed.add(component["data_ref"]) + else: + assert spec is not None, (name, component.get("schema_id"), "unregistered") + assert "valid_key" not in component, (name, "media/JSONL must not carry valid_key") + assert (base / component["data_ref"]).is_file(), (name, component["data_ref"]) + for key in spec.get("required_metadata", []): + assert key in component, (name, key) + if component["data_ref"].endswith(".pt"): + valid = torch.load(base / component["valid_ref"], map_location="cpu", weights_only=True) + assert valid.dtype == torch.bool, (name, "standalone validity must be a bool Tensor") + symbols = shape_symbols(meta, component, registry) + assert list(valid.shape) == resolve_shape(spec["valid_shape"], valid, symbols), (name, list(valid.shape)) + consumed.add(component["valid_ref"]) + else: + for key in registry.schema["video_metadata"]["required"]: + assert key in component["storage"], (name, key) + assert component["storage"]["profile"] in spec["allowed_storage_profiles"], (name, component["storage"]["profile"]) + assert (base / component["data_ref"]).is_file() + consumed.add(component["data_ref"]) + check_attributes(base, name, component, registry, reader, + shape_symbols(meta, component, registry)) + return consumed + +def sha256(path): + h = hashlib.sha256() + with Path(path).open("rb") as stream: + for block in iter(lambda: stream.read(8 << 20), b""): h.update(block) + return h.hexdigest() \ No newline at end of file diff --git a/RHD/shared-v1.1/script/rhd_v1_1/spec/CONTRACT.md b/RHD/shared-v1.1/script/rhd_v1_1/spec/CONTRACT.md new file mode 100644 index 0000000000000000000000000000000000000000..c237e8d95df74f237ec4be1b0a3b0ac06a0ca935 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/spec/CONTRACT.md @@ -0,0 +1,161 @@ +# 手物数据仓库统一约定 v1.1:张量合并存储 + +格式版本:`hand-warehouse/1.1`。张量存储约定:`pt/tensor_bundle/v1`。 + +状态:合同草案,2026-10-09。本版规定新的文件布局与读取方式,配套 [schema.json](schema.json) 注册表已更新;尚未迁移现有数据,也未适配生产转换器、读取器或可执行校验器。不能仅修改现有 metainfo 的版本号就宣称符合本版。 + +本版以 [v1.0 合同](../hand-warehouse-1.0/CONTRACT.md) 为语义基础:任务范围、两层序列/相机组织、数据类型、单位、坐标系、时间对齐、左右手顺序、官方划分、view_type、来源、可用监督规则、媒体无损编码和验收要求均保留。下文仅替代数值张量组件的独立 Tensor 文件、对应 `*_valid.pt` 及文件引用规定;这些旧文件名仅用于识别对应逻辑字段。媒体和 JSONL 组件的有效性文件及引用保持 v1.0,不纳入合并。未明确改变的语义继续执行 v1.0。 + +本版按用户约定作为 v1.0 的小版本存储修订,后续所有数据集逐步迁移到 v1.1。数值字段与 valid 语义不变,但 `.pt` 物理结构和引用方式改变,旧读取器不能未经适配直接读取新字典。各数据集在原 `shared-v1.0` 目录内逐步升级,完整验收后将目录更名为 `shared-v1.1`,不长期保留两套发布树。最终 `metainfo.schema_version=hand-warehouse/1.1`、`release_id=shared-v1.1`;尚未迁移的数据集仍使用原目录和版本。升级与发布流程见 [MIGRATION.md](MIGRATION.md)。实施前须按配套 v1.1 注册表完成读写/校验工具;不得将 v1.0 的 schema.json 改个版本号作为已完成适配的证明。正式发布时须提供完整合同与匹配注册表,不依赖本地草案目录中的相对链接。 + +## 1. 合并边界 + +1. 数值张量与对应有效性必须在同一个 `.pt` 文件、同一个字段字典内保存:`{"data": Tensor, "valid": BoolTensor}`。这些数值张量组件不再生成独立的 `*_valid.pt`;媒体和 JSONL 的有效性文件不受此规则影响。 +2. 按组件合并经常一起读取的小张量:相机内参、外参、畸变放在一个 `camera.pt`;MANO 参数与整手可见性放在一个 `mano.pt`;手关键点的二维、三维与可见性放在一个 `keypoints.pt`。 +3. 每个物体的数值字段及全部部件数值字段合并为一个 `object.pt`。不同物体、不同相机、不同序列不合成一个全局大文件,以保留按需下载和读取能力。 +4. RGB、深度、栅格 mask 继续使用原无损媒体格式,不把解码后的大数组或媒体字节塞进 `.pt`。它们的有效性文件保持原文件名、Tensor/媒体格式、形状和引用方式,不包装为字典。 +5. `metainfo.json`、`camera/frames.jsonl`、实例映射、物体身份/运动学定义与网格资产保留原格式。此次不把 JSON、JSONL、OBJ、纹理全部打进一个字典。 + +合并只改变存储方式,不改变采样、帧数、张量内容或有效性判定。不为减少字段数而将多个组件的 valid 合成一个公共 valid。 + +## 2. 目录 + +```text +/shared-v1.1/ + doc/ # 完整合同、匹配 schema、字段映射、验收报告 + script/ # 转换、读取和校验代码 + data/// + metainfo.json + observation/ + rgb.mkv + rgb_valid.pt # 原独立 bool Tensor,保持不变 + depth.mkv + depth_valid.mkv # 逐像素有效性,保留压缩媒体格式 + camera/ + frames.jsonl + camera.pt # intrinsic、extrinsic、distortion + annotation/ + mano/mano.pt # motion、visibility + keypoints/keypoints.pt # uv、xyz、visibility、whole_hand_visibility + object// + metainfo.json + articulation.json # 仅关节/部件结构实际存在时 + object.pt # 位姿、可见性、几何点、关节、部件数值 + assets/ # 原网格、材质、纹理及依赖 + segment/ + mask.mkv # 或 polygons.jsonl,按所选表示 + instances.jsonl # 仅需要实例/区域编码映射时 + mask_valid.pt # 原帧级 bool Tensor,保持不变 + contact/ + relations.jsonl + relations_valid.pt # 原帧级 bool Tensor,保持不变 + __/ + contact.pt # vertex_region、vertex_distance +``` + +只创建实际提供的组件和字段。以上不是每个数据集必须填满的模板;缺失内参、MANO、深度等不能通过占位文件伪装为已提供。序列/相机的两层结构不变,物体与模态目录属于相机内部组件。 + +## 3. 字典结构与有效性 + +本次合并的数值组件 `.pt` 根对象为字符串键的 Python `dict`,内部仅允许嵌套字符串键字典和 CPU `torch.Tensor`,不保存自定义类、模型、NumPy 对象或任意可执行对象。元信息、schema、单位和来源放在 metainfo,不在每个张量条目中重复保存。读取使用 `torch.load(path, map_location="cpu", weights_only=True)`。第 4 节保留的独立有效性 `.pt` 根对象仍为 CPU bool Tensor,不适用字典结构要求。 + +例如,`camera/camera.pt` 的逻辑结构为: + +```python +{ + "intrinsic": {"data": K, "valid": K_valid}, + "extrinsic": {"data": T_camera_from_world, "valid": extrinsic_valid}, + "distortion": {"data": distortion, "valid": distortion_valid}, +} +``` + +以上变量均为 Tensor。未提供的字段整个省略;例如无世界系外参时不保存 `extrinsic`,不填单位矩阵。没有单独畸变向量的模型不创建 `distortion`:Fisheye624 仍使用既定 `[T,15]` 内参参数布局。 + +数值字段统一为 `data` 与 `valid` 两个叶子。源属性原先显式声明全已知 `valid=true` 时,迁移可按该属性的有效性形状展开为全 true 的 bool Tensor;这是已有有效性声明的等价表示,不是根据数值或姿态推测有效性。有效性必须为 bool Tensor,不能用 Python `True` 代替字段内的 Tensor。静态数值字段同样配套 valid,形状采用其语义定义的标量或逐元素有效性;静态网格等外部资产仍可在 metainfo 中声明标量 valid。 + +valid 的形状不要求与 data 完全相同,但必须与该字段定义一致。例如 MANO 为 `[T,2,61]` / `[T,2]`,内参为 `[T,3,3]` / `[T]`,关键点为 `[T,2,K,3]` / `[T,2,K]`。按 schema 将 valid 扩展到相应数值维度,不允许依靠碰巧可广播推断语义。 + +浮点默认 float32,无效浮点位置仍为 NaN;bool 和整数沿用该组件的占位/保留值规则,不因没有 NaN 而视为有效。valid 表达可用监督,不只是“值有限”或“记录存在”;适用官方 QA 与已经确认的排除规则继续保留。不能用 `isfinite(data)` 重建 valid,不能因为迁移而把 false 改成 true。 + +不同字段的 valid 独立保存和解释。visibility 的 valid 不复用姿态 valid;内参 valid 不代替外参 valid。既有相机模型要求内参与单独畸变向量共用有效性时,在两个字段内保存相同 bool 值并校验一致,而不改变该模型的联合标定规则。 + +## 4. 固定分组与字段名 + +下表中的键路径用 `/` 展示字典层级;它不是文件系统路径。数值字段均在列出的键下继续存储 `data`、`valid`。 + +| 文件 | 数值字段键 | 内容 | +|---|---|---| +| `camera/camera.pt` | `intrinsic`、`extrinsic`、`distortion` | 逐帧标定;形状、参数顺序与相机模型定义不变 | +| `annotation/mano/mano.pt` | `motion`、`visibility` | MANO `[T,2,61]` 与源整手可见性;各有独立有效性 | +| `annotation/keypoints/keypoints.pt` | `uv`、`xyz`、`visibility`、`whole_hand_visibility` | 手关键点及源可见性;整手与逐点可见性不混用 | +| `annotation/object//object.pt` | `pose`、`visibility`、`dimensions`、`joint_state` | 该物体的数值标注 | +| 同上 | `keypoints/xyz`、`keypoints/template_xyz` | 相机系逐帧点或物体系静态模板点 | +| 同上 | `parts//pose`、`parts//dimensions`、`parts//keypoints/xyz`、`parts//keypoints/template_xyz` | 部件数值字段,部件身份仍由 articulation 登记 | +| 同上 | `meshes//vertex_part_ids` | `[V] int64` 顶点部件标签,valid 为 `[V]`,未知 -1 对应 false;每个 mesh 单独绑定拓扑 | +| `annotation/contact/__/contact.pt` | `vertex_region`、`vertex_distance` | 已登记拓扑上的接触区域/距离与同形有效性 | + +顶点部件标签使用注册类型 `object/vertex_part_ids/v1`。物体的 mesh_id、part_id 必须在 metainfo/运动学定义中可解析;不同拓扑不能误用同一顶点数组。未提供的可见性、关节值或模板点不生成空字段。 + +**媒体和 JSONL 的有效性保持原样,不参与字典合并:** + +| 数据本体 | 有效性文件 | 存储形式 | +|---|---|---| +| `observation/rgb.mkv` | `observation/rgb_valid.pt` | 独立 CPU bool Tensor `[T]` | +| `annotation/segment/mask.mkv` 或 `polygons.jsonl` | 原 `valid_ref` 指定的文件,通常为 `annotation/segment/mask_valid.pt` | 独立 CPU bool Tensor `[T]`;沿用原路径 | +| `annotation/contact/relations.jsonl` | `annotation/contact/relations_valid.pt` | 独立 CPU bool Tensor `[T]` | +| `observation/depth.mkv` | `observation/depth_valid.mkv` | 原逐像素 bool 无损视频 `[T,H,W]` | + +不新建仅包装上述 valid 的 observation.pt、segment.pt 或关系级 contact.pt。现有媒体/JSONL 的 `valid_ref`、`valid_axes` 及适用的 `valid_storage` 保持原定义;深度编码、NaN 位串还原与像素有效性规则不变。实体对的接触区域/距离是数值张量,仍按上表合并到各实体对的 contact.pt。 + +## 5. metainfo 的文件与字典键引用 + +文件定位与字典内部定位分开登记,不在文件名中拼接自定义分隔符: + +| 字段 | 定义 | +|---|---| +| `data_ref` | 相对当前相机视图根目录的 POSIX 文件路径 | +| `data_key` | 非空字符串列表,按顺序访问 `.pt` 嵌套字典,最终必须得到 data Tensor | +| `valid_ref` | 有效性所在文件;合并的数值字段必须与 data_ref 相同,媒体/JSONL 保留独立有效性文件 | +| `valid_key` | 非空字符串列表,最终必须得到 bool Tensor | +| `storage.profile` / `valid_storage.profile` | 合并字典采用 `pt/tensor_bundle/v1`;媒体及其独立有效性保持原配置,不将独立 bool Tensor 声明为 bundle | + +数值字段必须显式登记 data_key 与 valid_key。例如内参登记: + +```json +{ + "available": true, + "schema_id": "camera/pinhole/v1", + "data_ref": "camera/camera.pt", + "data_key": ["intrinsic", "data"], + "axes": ["T", "row", "column"], + "valid_ref": "camera/camera.pt", + "valid_key": ["intrinsic", "valid"], + "valid_axes": ["T"], + "storage": {"profile": "pt/tensor_bundle/v1"}, + "valid_storage": {"profile": "pt/tensor_bundle/v1"} +} +``` + +这是引用结构片段,实际组件仍须补齐 provenance、source_locator 等必填内容。MANO 的 schema_id 仍可为 `mano/axis_angle61/v1`:它描述解码后的数值语义,不因为物理文件合并而改动。顶层 schema_version 与 storage.profile 标识新的存储方式。 + +媒体和 JSONL 的 data_ref 不设置 data_key;RGB 的 valid_ref 仍为 `observation/rgb_valid.pt`,不设置 valid_key。分割、关系和深度的有效性同样保持原引用方式,不新增任何字典键字段。只有引用合并字典时才使用 data_key/valid_key。 + +同样规则适用于 attributes 中的可见性等数值字段。相机模型已有的 `distortion_ref` 改为指向 `camera/camera.pt`,新增 `distortion_key=["distortion", "data"]`;对应有效性由同组件的 `distortion_valid_ref` 与 `distortion_valid_key=["distortion", "valid"]` 登记。带 `_key` 的引用必须指向匹配的 bundle 文件,不能指向目录或媒体。 + +读取器按文件路径缓存已加载字典,再按 key 取字段。同一 camera.pt 的三个字段不应触发三次反序列化。按组件下载时取所需 bundle 的整个文件;本约定不承诺 `.pt` 内单个键的远端局部下载。组件合并会增加最小下载粒度,这是减少文件数的明确取舍。 + +## 6. 迁移与验收 + +各数据集分别迁移:先适配工具并做代表性完整序列验证,再迁移全量并核对结果,最后按授权更新远端发布;一个数据集完成不代表其他数据集已完成。迁移状态和输入/输出固定版本逐数据集登记。 + +本地先在既有 `shared-v1.0` 内完成受控升级,校验完成后更名为 `shared-v1.1`。暂存、回滚、锁、旧文件清理、版本更新及 HF 路径切换遵循 [MIGRATION.md](MIGRATION.md);不复制完整媒体、不改 raw、不重新编码。多文件原地更新期间须保持维护状态,不能让读取任务使用半迁移视图。 + +每次迁移必须检查: + +1. 所有组件、属性及其字典键可解析;无越界文件引用、缺失键或未登记字段;已合并的数值组件不得遗留旧独立 `*_valid.pt`。媒体/JSONL 的原独立有效性文件必须保留,不得误删或重打包。 +2. 每个迁移前后的数值字段 dtype、shape、逐元素值、NaN 位置以及 bool valid 完全一致。数值张量还应按统一连续字节视图比较,确认没有更改 NaN 位串等内容;不能用近似容差代替单纯重打包的一致性。 +3. T、帧映射、相机方向、手槽、split、来源和 valid_policy 不变。固定标定仍按既有 `[T,...]` 规则保存;本次不额外改成单份静态标定加广播。 +4. 媒体与其他未修改文件按原可信摘要核对。新 `.pt` 的文件 SHA256 通常改变,必须重新生成发布清单;新文件指纹不等于转换语义正确性的证明。 +5. 用新读取器运行代表性完整序列及所有相机,检查 RGB、相机与实际存在的标注是否正确关联;报告明确“重打包数值一致”与“人工视觉验收”的不同范围。 + +只有完成匹配注册表、读写工具及上述验收后才能生产/发布 v1.1。上传仍须单独得到授权;本文档更新本身不启动数据迁移或上传;被替代旧文件的清理属于后续迁移发布步骤,必须遵守MIGRATION.md 中先验收、安全切换和固定提交核验要求。 diff --git a/RHD/shared-v1.1/script/rhd_v1_1/spec/MIGRATION.md b/RHD/shared-v1.1/script/rhd_v1_1/spec/MIGRATION.md new file mode 100644 index 0000000000000000000000000000000000000000..b867163fccbc578f22eb6be8181f866bfecb6813 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/spec/MIGRATION.md @@ -0,0 +1,68 @@ +# 数据集 v1.0 → v1.1 升级规范 + +日期:2026-10-09。目标格式:`hand-warehouse/1.1`。字段与字典布局见 [CONTRACT.md](CONTRACT.md)。 + +## 1. 升级单位与最终布局 + +以一个完整数据集为单位逐步升级。每个数据集在既有目录内完成数值文件重组、工具适配与验证,完成后将目录由 `shared-v1.0` 更名为 `shared-v1.1`。最终使用: + +```text +/ + raw/ # 保持原样 + shared-v1.1/ + data/ + doc/ + script/ +``` + +这是对“发布目录永久保持 shared-v1.0”安排的修订:不长期保留两套发布树,也不复制一整套媒体再制作新版本。尚未升级的数据集继续使用自己的 `shared-v1.0`;不同数据集处于不同版本是正常的。 + +完成后视图元数据统一为 `schema_version=hand-warehouse/1.1`、`release_id=shared-v1.1`。目录名与元数据版本均须正确,不能只更名而不改变内容。发布记录保留旧版本的固定提交以便追溯。 + +## 2. 变更范围 + +- 合并相机、MANO、关键点、物体、实体对接触等数值张量及各自 valid;具体分组遵循合同。 +- 保持媒体及其独立有效性文件不变,包括 RGB、深度、mask 和相应 valid。JSONL、资产按合同保留;不重新编码媒体,不改 raw。 +- 不改变张量 dtype、shape、数值、NaN 位串、valid、帧映射、T、单位、坐标系、左右手、划分及监督策略。 +- 更新匹配的 schema、读取/转换/校验脚本、metainfo 引用、发布清单和正式文档。不得仅替换版本字符串冒充工具适配。 +- 删除已经完整合并且验收通过的旧数值文件与对应独立 valid;不得按 `*_valid.pt` 通配删除,媒体/JSONL 有效性不在清理范围。 + +## 3. 启动与登记 + +启动前核对项目并行上限、实际进程、锁和空间。取得数据集迁移锁并暂停该目录的转换、发布和读取任务;多文件原地更新不是整体原子操作,不得让消费者读取半迁移视图。 + +在发布树外的 `tmp/` 为每个数据集登记:源 schema/release、源 HF 固定提交、源文件清单及摘要、目标版本、工具摘要、变更/删除的精确路径清单、checkpoint、阶段、错误和验收结果。原始数据长期保留。 + +准备可恢复的基线:保存即将被替换的小型元数据和脚本,以及旧数值文件的临时备份或已核验可恢复的远端固定版本。不复制未变化的大型媒体。空间预算包含临时新文件和回滚所需文件;空间不足时停止新增工作,不删 raw 腾空间。 + +## 4. 原地升级 + +1. 先选代表性完整序列及全部相机,在 `tmp/` 验证新写入器、读取器和引用;覆盖实际存在的组件与有效性组合。遵循项目人工验收要求后再全量。 +2. 全量按完整视图处理。读取旧数值及 valid,写临时字典,重新读取并逐字段精确比较;不得用近似误差判断纯重打包的一致性。 +3. 验证通过后在同一文件系统原子替换单个文件,再更新该视图 metainfo。只有新字段与引用完整可读、且回滚依据可用,才能移除该视图被替代的旧文件。 +4. 每个视图保存完成 checkpoint;续跑必须核对输入和工具版本、产物摘要及当前引用,不能只依据文件存在而跳过。整个数据集完成前保持维护状态。 +5. 完成全部视图后校验完整路径集合、无重复/缺失、所有键引用、全部数值一致性和未变文件摘要,并更新正式文档及脚本。生成直接读取新格式的随机完整序列报告,按项目流程人工确认。 + +失败时停止该数据集迁移,保留 checkpoint 和回滚材料,不伪装完成,不自动删除整棵目录或从 raw 重做转换。 + +## 5. 本地最终更名 + +全量验收通过后,在维护状态下统一设置最终 `release_id=shared-v1.1`,更新当前使用的配置、入口、清单和链接,然后将原目录重命名为 `shared-v1.1`。 + +重命名前核对源/目标绝对路径均位于该数据集根目录;目标目录必须不存在,不合并、不覆盖已有同名目录。同一文件系统内执行目录重命名,避免复制全部媒体。更名后再次解析相对引用并检查脚本默认路径,最后解除本地维护状态。 + +历史报告中说明当时版本的文字与固定摘要作为历史证据保留,不批量篡改;当前入口须明确报告所属版本,并链接本次迁移验收结果。 + +## 6. HF 发布与路径更换 + +本地目录重命名不等于 HF 路径已经更换。远端须在得到发布授权后,基于旧的固定提交执行受控更新;发布前再次核对源 HEAD 和相关文件内容,冲突时停止调查。 + +优先复用仓库已有内容,以平台实际支持且经过验证的服务端复制/提交操作,将未变化媒体映射到 `shared-v1.1`;仅新的字典、元数据、文档和脚本需要提供新内容。不承诺路径更换必然零网络传输或零耗时;先验证实际行为,不盲目重新上传全套媒体。 + +理想情况下,在一个提交中添加目标路径并删除旧路径,使默认分支完整切换。若文件数或 API 限制不允许,使用经过验证的临时分支准备与核验,完成后受控切换;若只能分批更新默认分支,必须明确维护状态,旧版本保留到目标完整核验通过,不提前删除唯一完整的旧树。短暂的核验用路径并存不代表长期发布两套版本。 + +最终必须在同一固定提交上验证:目标 `shared-v1.1` 的文件集合、大小与内容摘要全部匹配清单,所有引用有效;旧 `shared-v1.0` 路径已移除;raw 未变化。服务端更换路径仍须执行这些核验,不能用“文件名已改”替代。 + +完成后更新数据集登记与下载示例,记录最终提交,清理本次临时文件并通知一次,再安排下一个数据集。旧提交历史保留历史版本;本流程减少当前发布树的重复文件,不承诺清除 HF 历史存储。 + +本文仅规定后续实施流程,编写本文不等于已经启动迁移、修改数据或获得新的发布授权。 diff --git a/RHD/shared-v1.1/script/rhd_v1_1/spec/schema.json b/RHD/shared-v1.1/script/rhd_v1_1/spec/schema.json new file mode 100644 index 0000000000000000000000000000000000000000..087342ba7440c3b656e342d1b954bd90a5878af1 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/spec/schema.json @@ -0,0 +1,1590 @@ +{ + "schema_version": "hand-warehouse/1.1", + "validity_revision": "usable-annotation-2026-09-20", + "annotation_validity": { + "meaning": "annotation usable for supervision, not merely record presence", + "formula": "source_annotation_present AND numerical_checks_pass AND applicable_official_QA_pass AND NOT explicitly_reviewed_local_exclusion", + "without_official_qa": "omit QA term; declare source rules; do not fabricate QA", + "policy_field": "components..valid_policy", + "visibility_is_independent": true, + "invalid_float_value": "NaN", + "hot3d": "broadcast per-camera frame manual QA conservatively to hand/object labels and pose-derived visibility; retain RGB and source calibration; keep native QA in raw and review report", + "hot3d_visibility": "native visibility_ratio[%] already ranges from 0 to 1; do not divide by 100" + }, + "hand_slots": [ + "left", + "right" + ], + "view_metadata": { + "required_fields": [ + "schema_version", + "dataset_id", + "release_id", + "sequence_id", + "camera_id", + "sample_type", + "num_frames", + "hand_slots", + "sampling", + "camera", + "components", + "split", + "view_type" + ], + "view_type_values": [ + "ego", + "exo", + "unknown" + ], + "view_type_policy": "required per camera view; use ego or exo whenever the source data or capture setup establishes the viewpoint; use unknown only when no trustworthy source determines it; never omit or guess", + "schema_version": "hand-warehouse/1.1", + "release_id": "shared-v1.1" + }, + "keypoints": { + "mano21/v1": { + "count": 21, + "names": [ + "wrist", + "thumb_1", + "thumb_2", + "thumb_3", + "thumb_4", + "index_1", + "index_2", + "index_3", + "index_4", + "middle_1", + "middle_2", + "middle_3", + "middle_4", + "ring_1", + "ring_2", + "ring_3", + "ring_4", + "little_1", + "little_2", + "little_3", + "little_4" + ], + "source_index_map": null, + "note": "adapter maps official MANO joint and fingertip convention" + }, + "rhd21/v1": { + "count": 21, + "names": [ + "wrist", + "thumb_1", + "thumb_2", + "thumb_3", + "thumb_4", + "index_1", + "index_2", + "index_3", + "index_4", + "middle_1", + "middle_2", + "middle_3", + "middle_4", + "ring_1", + "ring_2", + "ring_3", + "ring_4", + "little_1", + "little_2", + "little_3", + "little_4" + ], + "source_index_map_per_hand": [ + 0, + 4, + 3, + 2, + 1, + 8, + 7, + 6, + 5, + 12, + 11, + 10, + 9, + 16, + 15, + 14, + 13, + 20, + 19, + 18, + 17 + ] + } + }, + "camera": { + "opencv_fisheye4": { + "K": [ + 3, + 3 + ], + "distortion": [ + "k1", + "k2", + "k3", + "k4" + ], + "projection": "theta=atan(r); theta_d=theta*(1+k1*theta^2+k2*theta^4+k3*theta^6+k4*theta^8); source ReInterHand" + }, + "pinhole": { + "K": [ + 3, + 3 + ] + }, + "fisheye624": { + "parameters": [ + "f", + "cx", + "cy", + "k0", + "k1", + "k2", + "k3", + "k4", + "k5", + "p0", + "p1", + "s0", + "s1", + "s2", + "s3" + ] + }, + "rational8": { + "K": [ + 3, + 3 + ], + "distortion": [ + "k1", + "k2", + "p1", + "p2", + "k3", + "k4", + "k5", + "k6" + ] + } + }, + "segmentation": { + "segment/uint16_labels/v1": { + "storage": "mask.mkv", + "dtype": "uint16", + "mapping": "instances.jsonl", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "reserved_codes": { + "0": "unassigned", + "65535": "ignore" + }, + "region_codes": [ + 1, + 65534 + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "segment/instance_polygons/v1": { + "storage": "polygons.jsonl", + "mapping": "instances.jsonl", + "frame_keys": [ + "frame_index", + "instances" + ], + "instance_keys": [ + "mask_value", + "polygons" + ], + "coordinate_unit": "pixel", + "overlap_allowed": true, + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref" + ], + "polygon_shape": [ + "N", + 2 + ], + "holes_supported": false + }, + "segment/foreground_intensity/v1": { + "storage": "mask.mkv", + "dtype": "uint16", + "value_range": [ + 0, + 255 + ], + "normalization_scale": 0.00392156862745098, + "axes": [ + "T", + "height", + "width" + ], + "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability", + "zero": "background", + "full_scale": "foreground", + "mapping": "foreground_category in component metadata", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "value_range", + "normalization_scale", + "foreground_category", + "entity_id", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + } + }, + "note": "Registry for hand-warehouse/1.1. Read CONTRACT.md and MIGRATION.md. This is a declarative registry, not a JSON Schema document or executable validator. Runtime readers/converters/validators still require adaptation.", + "components": { + "mano/axis_angle61/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 61 + ], + "valid_shape": [ + "T", + 2 + ], + "unit": "m", + "angle_unit": "rad", + "coordinate_frame": "camera", + "layout": { + "pose_axis_angle": [ + 0, + 48 + ], + "shape": [ + 48, + 58 + ], + "translation": [ + 58, + 61 + ] + }, + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "keypoints/uv/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 21, + 2 + ], + "valid_shape": [ + "T", + 2, + 21 + ], + "unit": "pixel", + "required_metadata": [ + "keypoint_schema", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "keypoints/xyz/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 21, + 3 + ], + "valid_shape": [ + "T", + 2, + 21 + ], + "unit": "m", + "required_metadata": [ + "keypoint_schema", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "depth/z_float32/v1": { + "storage": "mkv", + "dtype": "float32", + "shape": [ + "T", + "H", + "W" + ], + "valid_shape": [ + "T", + "H", + "W" + ], + "unit": "m", + "depth_type": "z", + "pixel_grid": "current_rgb", + "coordinate_frame": "current_rgb_camera", + "valid_storage": "mkv", + "allowed_storage_profiles": [ + "mkv/depth_float32_bits/v1" + ], + "allowed_valid_storage_profiles": [ + "mkv/bool_ffv1/v1" + ], + "required_metadata": [ + "storage", + "valid_storage", + "depth_origin" + ], + "depth_origin_values": [ + "measured", + "rendered", + "unknown" + ] + }, + "transform/se3/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4, + 4 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "convention", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object/rigid/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4, + 4 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "convention", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "camera/pinhole/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "camera/rational8/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage", + "distortion_ref", + "distortion_key", + "distortion_valid_ref", + "distortion_valid_key" + ] + }, + "camera/opencv_fisheye4/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage", + "distortion_ref", + "distortion_key", + "distortion_valid_ref", + "distortion_valid_key" + ] + }, + "camera/fisheye624/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 15 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "camera/distortion8/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 8 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "camera/fisheye4_distortion/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4 + ], + "valid_shape": [ + "T" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool", + "required_metadata": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ] + }, + "object/joint_state/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "J" + ], + "valid_shape": [ + "T", + "J" + ], + "required_metadata": [ + "joint_order", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "unit_rule": "revolute radians; prismatic metres; mixed types declared per joint", + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object_keypoints/camera/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "K", + 3 + ], + "valid_shape": [ + "T", + "K" + ], + "unit": "m", + "coordinate_frame": "camera", + "required_metadata": [ + "keypoint_schema", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object/dimensions/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "dimensions_semantics", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "axis_order": [ + "length", + "width", + "height" + ], + "scale_rule": "do not apply to mesh without source-supported size/scale relation", + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object_keypoints/template/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "K", + 3 + ], + "valid_shape": [ + "K" + ], + "unit": "m", + "coordinate_frame": "object", + "static": true, + "required_metadata": [ + "keypoint_schema", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "mesh/obj/v1": { + "storage": "obj", + "unit": "m", + "static": true, + "valid_shape": [], + "dependencies": "MTL and textures retained under owning object" + }, + "rgb/uint8/v1": { + "storage": "mkv", + "dtype": "uint8", + "shape": [ + "T", + "H", + "W", + 3 + ], + "valid_shape": [ + "T" + ], + "color_order": "RGB", + "allowed_storage_profiles": [ + "mkv/mjpeg_copy/v1", + "mkv/source_copy/v1", + "mkv/h264_rgb_lossless/v1", + "mkv/ffv1_rgb/v1" + ], + "required_metadata": [ + "storage" + ] + }, + "contact/relations/v1": { + "storage": "jsonl", + "valid_shape": [ + "T" + ], + "frame_keys": [ + "frame_index", + "relations" + ], + "absence_semantics": "no record is not a negative contact annotation" + }, + "contact/vertex_region/v1": { + "storage": "pt", + "dtype": "bool", + "shape": [ + "T", + "V" + ], + "valid_shape": [ + "T", + "V" + ], + "required_metadata": [ + "source_geometry_ref", + "target_geometry_ref", + "topology_id", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "pilot_status": "defined_not_empirically_validated", + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "contact/vertex_distance/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "V" + ], + "valid_shape": [ + "T", + "V" + ], + "unit": "m", + "required_metadata": [ + "source_geometry_ref", + "target_geometry_ref", + "topology_id", + "distance_definition", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "pilot_status": "defined_not_empirically_validated", + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt", + "tensor_container": "dict", + "valid_dtype": "bool" + }, + "object/articulated/v1": { + "storage": "json", + "required_keys": [ + "parts", + "joints" + ], + "part_keys": [ + "part_id", + "parent_id", + "has_model", + "mesh_ref" + ], + "hierarchy_semantics": "declare mechanical articulation or semantic containment; containment alone does not imply joints", + "acyclic": true + }, + "segment/uint16_labels/v1": { + "storage": "mkv", + "dtype": "uint16", + "mapping": "instances.jsonl", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "reserved_codes": { + "0": "unassigned", + "65535": "ignore" + }, + "region_codes": [ + 1, + 65534 + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "segment/instance_polygons/v1": { + "storage": "jsonl", + "mapping": "instances.jsonl", + "frame_keys": [ + "frame_index", + "instances" + ], + "instance_keys": [ + "mask_value", + "polygons" + ], + "coordinate_unit": "pixel", + "overlap_allowed": true, + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref" + ], + "polygon_shape": [ + "N", + 2 + ], + "holes_supported": false + }, + "segment/foreground_intensity/v1": { + "storage": "mkv", + "dtype": "uint16", + "value_range": [ + 0, + 255 + ], + "normalization_scale": 0.00392156862745098, + "axes": [ + "T", + "height", + "width" + ], + "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability", + "zero": "background", + "full_scale": "foreground", + "mapping": "foreground_category in component metadata", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "value_range", + "normalization_scale", + "foreground_category", + "entity_id", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "object/vertex_part_ids/v1": { + "storage": "pt", + "tensor_container": "dict", + "dtype": "int64", + "shape": [ + "V" + ], + "valid_shape": [ + "V" + ], + "valid_dtype": "bool", + "static": true, + "unknown_value": -1, + "valid_rule": "data != -1; every valid integer resolves in part_id_mapping", + "required_metadata": [ + "mesh_ref", + "topology_id", + "part_id_mapping", + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "allowed_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "allowed_valid_storage_profiles": [ + "pt/tensor_bundle/v1" + ], + "valid_storage": "pt" + } + }, + "storage_revision": "lossless-video-2026-09-18", + "sampling": { + "image": { + "single": { + "T": 1 + }, + "independent": { + "T": ">=2", + "required_frame_fields": [ + "sample_id", + "source_locator" + ], + "temporal_relationship": false + }, + "source_fps": null + }, + "video": { + "sampling_types": [ + "dense", + "sparse" + ] + } + }, + "storage_profiles": { + "mkv/mjpeg_copy/v1": { + "container": "matroska", + "codec": "mjpeg", + "method": "stream_copy_from_source_jpeg", + "logical_dtype": "uint8", + "decoded_pixel_format": "rgb24", + "validation": [ + "source_jpeg_packet_sha256_exact", + "all_packet_count_order_and_dimensions_exact", + "deterministic_decoded_rgb_sample_exact", + "pilot_and_final_selected_whole_sequences_decoded_rgb_exact" + ], + "validation_policy": { + "id": "jpeg-packets-all-rgb-sample16/v1", + "sample_count_per_view": 16, + "short_views": "all_frames_if_T_less_than_16", + "fixed_indices": "0,T-1,T//4,T//2,3*T//4, deduplicated", + "remaining_indices": "sample without replacement to min(T,16) using Python random.Random(seed)", + "seed": "first 8 bytes of SHA256(sequence_id/camera_id/20260920), big-endian integer", + "report": "policy, exact selected frame indices, seed, separate packet and pixel coverage", + "legacy_all_frame_pixel_proofs": "still accepted; preserve historical evidence" + } + }, + "mkv/source_copy/v1": { + "container": "matroska", + "codec": "source_codec_declared_in_metadata", + "method": "stream_copy_only", + "logical_dtype": "uint8", + "decoded_pixel_format": "rgb24", + "validation": [ + "no_reencoding", + "all_decoded_rgb_frames_exact", + "presentation_frame_order_exact" + ] + }, + "mkv/h264_rgb_lossless/v1": { + "container": "matroska", + "codec": "h264", + "encoder": "libx264rgb", + "crf": 0, + "decoded_pixel_format": "rgb24", + "logical_dtype": "uint8", + "gop": "declared_in_encoder_parameters", + "validation": [ + "all_decoded_rgb_frames_exact" + ], + "forbidden": [ + "lossy_rate_control", + "rgb_to_yuv420_subsampling" + ] + }, + "mkv/ffv1_rgb/v1": { + "container": "matroska", + "codec": "ffv1", + "decoded_pixel_format": "rgb24", + "logical_dtype": "uint8", + "validation": [ + "all_decoded_rgb_frames_exact" + ] + }, + "mkv/depth_float32_bits/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_format": "gray16le", + "logical_dtype": "float32", + "logical_shape": [ + "T", + "H", + "W" + ], + "encoded_shape": [ + "T", + "H", + "2*W" + ], + "packing": "IEEE754 little-endian float32 bits; low uint16 in first W columns, high uint16 in last W columns", + "decode": "reinterpret_float32(uint32(low) | (uint32(high) << 16))", + "validation": [ + "all_float32_bits_exact_including_nan" + ] + }, + "mkv/bool_ffv1/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_format": "gray", + "logical_dtype": "bool", + "stored_values": [ + 0, + 1 + ], + "validation": [ + "all_bool_values_exact" + ] + }, + "mkv/uint16_ffv1/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_formats": [ + "gray", + "gray16le" + ], + "logical_dtype": "uint16", + "gray_condition": "all values <=255; decode by exact uint8-to-uint16 promotion", + "validation": [ + "all_integer_values_exact" + ] + }, + "pt/tensor_bundle/v1": { + "container": "pytorch_pt", + "root_type": "dict", + "dictionary_key_type": "nonempty_string", + "allowed_value_types": [ + "dict", + "CPU torch.Tensor" + ], + "tensor_entry": { + "required_keys": [ + "data", + "valid" + ], + "additional_keys": false, + "data_type": "CPU torch.Tensor", + "valid_type": "CPU torch.Tensor", + "valid_dtype": "bool" + }, + "metadata_location": "metainfo.json; do not duplicate strings, paths or custom objects inside bundles", + "missing_entry": "omit entire entry; never fabricate absent modalities", + "load": { + "map_location": "cpu", + "weights_only": true + }, + "valid_shape_rule": "Use the specific component or attribute valid_shape; do not infer broadcasting or share validity across independent fields.", + "validation": [ + "registered layout and key resolution", + "CPU tensors only", + "schema dtype and shape", + "independent bool validity", + "frame alignment unchanged", + "invalid floating positions NaN", + "pure migration exact data bytes and validity equality" + ], + "not_applicable_to": [ + "media payloads", + "media standalone validity tensors", + "JSONL standalone validity tensors" + ] + } + }, + "video_metadata": { + "required": [ + "profile", + "codec", + "pixel_format", + "encoded_size", + "decoder", + "encoder_parameters", + "source_lossy" + ], + "source_lossy_values": [ + true, + false, + "unknown" + ], + "timebase_role": "index_only", + "lossless_reference": "source compressed packets or fixed-decoder source pixels; depth uses normalized standard float32 bits", + "selection": "choose smaller complete candidate only after exact roundtrip validation" + }, + "tensor_storage_revision": "tensor-bundle-2026-10-09", + "release_layout": { + "directory": "shared-v1.1", + "release_id": "shared-v1.1", + "migration": "Upgrade each dataset in place under shared-v1.0 during maintenance, validate completely, then rename to shared-v1.1; do not retain duplicate published trees. See MIGRATION.md." + }, + "tensor_attributes": { + "visibility": { + "storage_profile": "pt/tensor_bundle/v1", + "allowed_dtypes": [ + "bool", + "float32" + ], + "visibility_types": [ + "boolean", + "ratio" + ], + "ratio_range": [ + 0, + 1 + ], + "scopes": { + "whole_hand": { + "shape": [ + "T", + 2 + ], + "valid_shape": [ + "T", + 2 + ] + }, + "hand_keypoint": { + "shape": [ + "T", + 2, + "K" + ], + "valid_shape": [ + "T", + 2, + "K" + ] + }, + "object": { + "shape": [ + "T" + ], + "valid_shape": [ + "T" + ] + } + }, + "required_metadata": [ + "data_ref", + "data_key", + "axes", + "dtype", + "visibility_type", + "meaning", + "valid_ref", + "valid_key", + "valid_axes", + "storage", + "valid_storage", + "provenance", + "source_locator" + ], + "valid_dtype": "bool", + "unknown": "valid=false; ratio data NaN; boolean data is not interpretable without valid", + "all_known": "explicit all-true bool tensor; do not infer from pose validity", + "note": "No source visibility means omit. Expand explicitly declared all-known scalar validity during migration without changing semantics." + } + }, + "tensor_bundles": { + "camera": { + "path": "camera/camera.pt", + "entries": { + "intrinsic": { + "schema_ids": [ + "camera/pinhole/v1", + "camera/rational8/v1", + "camera/opencv_fisheye4/v1", + "camera/fisheye624/v1" + ] + }, + "extrinsic": { + "schema_ids": [ + "transform/se3/v1" + ] + }, + "distortion": { + "schema_ids": [ + "camera/distortion8/v1", + "camera/fisheye4_distortion/v1" + ] + } + } + }, + "mano": { + "path": "annotation/mano/mano.pt", + "entries": { + "motion": { + "schema_ids": [ + "mano/axis_angle61/v1" + ] + }, + "visibility": { + "attribute_id": "visibility", + "scope": "whole_hand" + } + } + }, + "keypoints": { + "path": "annotation/keypoints/keypoints.pt", + "entries": { + "uv": { + "schema_ids": [ + "keypoints/uv/v1" + ] + }, + "xyz": { + "schema_ids": [ + "keypoints/xyz/v1" + ] + }, + "visibility": { + "attribute_id": "visibility", + "scope": "hand_keypoint" + }, + "whole_hand_visibility": { + "attribute_id": "visibility", + "scope": "whole_hand" + } + } + }, + "object": { + "path": "annotation/object//object.pt", + "entries": { + "pose": { + "schema_ids": [ + "object/rigid/v1" + ] + }, + "visibility": { + "attribute_id": "visibility", + "scope": "object" + }, + "dimensions": { + "schema_ids": [ + "object/dimensions/v1" + ] + }, + "joint_state": { + "schema_ids": [ + "object/joint_state/v1" + ] + }, + "keypoints/xyz": { + "schema_ids": [ + "object_keypoints/camera/v1" + ] + }, + "keypoints/template_xyz": { + "schema_ids": [ + "object_keypoints/template/v1" + ] + }, + "parts//pose": { + "schema_ids": [ + "transform/se3/v1" + ], + "convention": "T_camera_from_part" + }, + "parts//dimensions": { + "schema_ids": [ + "object/dimensions/v1" + ] + }, + "parts//keypoints/xyz": { + "schema_ids": [ + "object_keypoints/camera/v1" + ] + }, + "parts//keypoints/template_xyz": { + "schema_ids": [ + "object_keypoints/template/v1" + ], + "coordinate_frame": "part" + }, + "meshes//vertex_part_ids": { + "schema_ids": [ + "object/vertex_part_ids/v1" + ] + } + } + }, + "contact_pair": { + "path": "annotation/contact/__/contact.pt", + "entries": { + "vertex_region": { + "schema_ids": [ + "contact/vertex_region/v1" + ] + }, + "vertex_distance": { + "schema_ids": [ + "contact/vertex_distance/v1" + ] + } + } + } + }, + "bundle_layout_rules": { + "entry_path_syntax": "Slash-separated dictionary keys in this registry only; serialize references as string arrays. Angle-bracket placeholders resolve to registered IDs, not literal keys.", + "entry_leaves": [ + "data", + "valid" + ], + "additional_entries": false, + "all_entries_optional": true, + "omit_empty_bundles": true, + "identifiers": "object/part/mesh and contact entity IDs must resolve in metadata; reject empty, dot, dot-dot or slash-containing IDs", + "per_view": true, + "no_cross_object_or_camera_merge": true, + "numeric_field_valid_ref_equals_data_ref": true, + "attributes_must_be_registered": true + }, + "reference_rules": { + "file_paths": { + "base": "current camera view root", + "format": "relative POSIX", + "reject": [ + "absolute paths", + "parent traversal", + "external URLs", + "unresolved placeholders" + ] + }, + "dictionary_keys": { + "type": "array", + "item_type": "nonempty_string", + "min_items": 1, + "traversal": "literal nested dictionary lookup; never eval; no automatic flattening", + "data_terminal": "data", + "valid_terminal": "valid", + "target_type": "CPU torch.Tensor" + }, + "bundle_component": { + "required": [ + "data_ref", + "data_key", + "valid_ref", + "valid_key", + "storage", + "valid_storage" + ], + "same_file": true, + "same_entry_prefix": true, + "storage_profile": "pt/tensor_bundle/v1", + "valid_storage_profile": "pt/tensor_bundle/v1" + }, + "media_jsonl": { + "forbidden": [ + "data_key", + "valid_key" + ], + "preserve_original_valid_ref": true, + "standalone_valid_pt_root": "CPU bool torch.Tensor; not dict", + "do_not_label_standalone_valid_as_bundle": true + }, + "camera_distortion": { + "models": { + "rational8": "camera/distortion8/v1", + "opencv_fisheye4": "camera/fisheye4_distortion/v1" + }, + "required": [ + "distortion_ref", + "distortion_key", + "distortion_valid_ref", + "distortion_valid_key" + ], + "distortion_ref": "camera/camera.pt", + "distortion_key": [ + "distortion", + "data" + ], + "distortion_valid_ref": "camera/camera.pt", + "distortion_valid_key": [ + "distortion", + "valid" + ], + "valid_equals_intrinsic_valid": true, + "models_without_separate_distortion": [ + "pinhole", + "fisheye624" + ] + }, + "reader_cache": "Cache bundle by resolved file path; loading different fields must not repeatedly deserialize the file." + }, + "standalone_validity": { + "rgb": { + "data_ref": "observation/rgb.mkv", + "valid_ref": "observation/rgb_valid.pt", + "dtype": "bool", + "shape": [ + "T" + ], + "container": "pt", + "root_type": "CPU Tensor" + }, + "segment": { + "data_refs": [ + "annotation/segment/mask.mkv", + "annotation/segment/polygons.jsonl" + ], + "valid_ref": "preserve source release reference; normally annotation/segment/mask_valid.pt", + "dtype": "bool", + "shape": [ + "T" + ], + "container": "pt", + "root_type": "CPU Tensor" + }, + "relations": { + "data_ref": "annotation/contact/relations.jsonl", + "valid_ref": "annotation/contact/relations_valid.pt", + "dtype": "bool", + "shape": [ + "T" + ], + "container": "pt", + "root_type": "CPU Tensor" + }, + "depth": { + "data_ref": "observation/depth.mkv", + "valid_ref": "observation/depth_valid.mkv", + "dtype": "bool", + "shape": [ + "T", + "H", + "W" + ], + "profile": "mkv/bool_ffv1/v1" + } + } +} diff --git a/RHD/shared-v1.1/script/rhd_v1_1/validate.py b/RHD/shared-v1.1/script/rhd_v1_1/validate.py new file mode 100644 index 0000000000000000000000000000000000000000..fd05d4d70e3c67bdd6e02dc096651b8ee634b9e7 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/validate.py @@ -0,0 +1,305 @@ +"""Validate the adjacent RHD shared-v1.1 tree and fingerprint its current bytes. + +Adapted from the shared-v1.0 version: numeric components are read through their +registered bundle keys instead of one ``.pt`` per component, media/JSONL validity +must still be a standalone bool Tensor, and a merged field may not leave a +standalone ``*_valid.pt`` behind (CONTRACT 6.1, 6.5). RHD's own rules are added on +top: + +* 87 views -- 81 ``training_*`` and 6 ``evaluation_*``, 512 independent images each, + the official training/evaluation split restated in every view's ``split``; +* ``frames.jsonl`` is one row per released image in source order, and + ``annotation_index`` names the row of the official annotation array the frame + draws from, which for RHD is the source image id itself; +* the ``visibility`` attribute is a single bundled field shared by both keypoint + components, so it is checked once per component and its validity is all true + (CONTRACT 3). + +Scope: this checks the released content and layout. It does not independently prove +official source correctness, and it is not human visual acceptance (CONTRACT 6). + +Run: python shared-v1.1/script/rhd_v1_1/validate.py --expect-views 87 \ + --report shared-v1.1/doc/validation/validate_report.json +""" + +from __future__ import annotations + +import argparse +import json +import sys +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +from rhd_common import ( # noqa: E402 + REGISTRY, + REGISTRY_READER, + RELEASE_ROOT, + TMP_ROOT, + View, + check_view, + load, + save, + sha256, + stray_validity, +) + +#: the manifest is written outside the release tree. A file inside the tree cannot +#: describe its own final bytes, and a copy that excludes itself leaves one release +#: file that no digest covers; H2O, dex-ycb and ARCTIC keep theirs in +#: ``tmp/-tools/`` for the same reason. +MANIFEST_PATH = TMP_ROOT / "PUBLISH_MANIFEST.json" + +#: the expected frame census, keyed by the split the view metadata declares: the +#: official 41,258 training images and 2,728 evaluation images, sharded 512 at a time +EXPECTED_COUNTS = {"train": 41258, "test": 2728} +FRAMES_REF = "camera/frames.jsonl" +#: RHD's official split, as the sample id's directory and the frame's ``split`` +SOURCE_DIRECTORY_SPLIT = {"training": "train", "evaluation": "test"} + + +def release_files(): + """Every file of the release, in path order -- one definition, used twice. + + Both the report (written before the manifest) and the manifest itself need this + set. Two filters that could drift apart would let the report name a file count + the manifest it cites does not have. + """ + for path in sorted(RELEASE_ROOT.rglob("*")): + #: bytecode caches are not release content. Nothing else is skipped: the + #: manifest lives outside the tree, so it never has to exclude itself and the + #: release's byte total is the manifest's own total. + if not path.is_file() or ".cache" in path.parts or "__pycache__" in path.parts: + continue + yield path + + +def check_frames(view_dir, meta): + """RHD's frames.jsonl: one row per released image, in source order. + + ``source_frame_id`` is the source image id the row descends from, and + ``annotation_index`` names the row of the official annotation array it draws + from -- for RHD the two coincide, and a divergence means the frame was matched + to the wrong annotation record. + """ + rows = [ + json.loads(line) + for line in (view_dir / FRAMES_REF).read_text(encoding="utf-8").splitlines() + if line.strip() + ] + assert len(rows) == meta["num_frames"], (view_dir, len(rows), meta["num_frames"]) + sample_ids, previous = set(), None + for index, row in enumerate(rows): + assert row["frame_index"] == index, (view_dir, index, row["frame_index"]) + assert row["sample_id"] not in sample_ids, (view_dir, "duplicate sample_id", row["sample_id"]) + sample_ids.add(row["sample_id"]) + source_frame = int(row["source_frame_id"]) + if previous is not None: + assert source_frame > previous, (view_dir, "source frames out of order", index) + previous = source_frame + assert row["source_locator"]["annotation_index"] == source_frame, ( + view_dir, index, row["source_locator"]["annotation_index"], source_frame) + #: sample_id carries the dataset, the source directory and the image id; the + #: directory has to agree with the split the view metadata declares + dataset, directory, image = row["sample_id"].split("/") + assert dataset == meta["dataset_id"], (view_dir, index, row["sample_id"]) + assert SOURCE_DIRECTORY_SPLIT[directory] == meta["split"], ( + view_dir, index, row["sample_id"], meta["split"]) + return rows + + +def check_shard(meta): + """The split bookkeeping has to name the shard this view actually came from.""" + locator = meta["split_source_locator"] + assert meta["split_scheme"] == "RHD_official_training_evaluation", meta["split_scheme"] + directory = locator["member_prefix"].rstrip("/").split("/")[-1] + assert SOURCE_DIRECTORY_SPLIT[directory] == meta["split"], (meta["sequence_id"], locator) + assert meta["sequence_id"].startswith(directory + "_"), meta["sequence_id"] + + +def rewrite_check(view_dir, meta, tmp): + """Rebuild a view's bundles with the adapted writer and compare field bytes.""" + view = View("RHD", meta["sequence_id"], meta["camera_id"], range(meta["num_frames"]), + list(meta["camera"]["image_size"]), + {"archive": "raw/data/RHD_v1-1.zip", "annotation": "rewrite-check"}, + split=meta["split"], root=tmp) + written = set() + #: pass 1 -- register every numeric component; pass 2 -- attach attributes, which + #: may name a component registered later in the metadata's own ordering. + for name, component in meta["components"].items(): + if "data_key" not in component: + continue + data, valid = REGISTRY_READER.field(view_dir, component) + view.bundled(name, component["data_ref"], component["data_key"][:-1], + component["schema_id"], data.numpy(), valid.numpy(), component["axes"]) + for name, component in meta["components"].items(): + for attribute, spec in (component.get("attributes") or {}).items(): + if (attribute, spec["data_ref"]) in written: + continue + written.add((attribute, spec["data_ref"])) + owners = [n for n, c in meta["components"].items() + if (c.get("attributes") or {}).get(attribute, {}).get("data_ref") == spec["data_ref"]] + attribute_data = REGISTRY_READER.get(view_dir, spec["data_ref"], spec["data_key"]) + view.attribute_bundled(owners, attribute, spec["data_ref"], spec["data_key"][:-1], + spec["axes"], attribute_data.numpy()) + view.finish() + compared = 0 + bundles = sorted({c["data_ref"] for c in meta["components"].values() if "data_key" in c}) + for bundle in bundles: + released = REGISTRY_READER.bundle(view_dir, bundle) + rebuilt = REGISTRY_READER.bundle(view.path, bundle) + + def leaves(node, prefix=()): + for key, value in node.items(): + if isinstance(value, dict) and set(value) == {"data", "valid"}: + yield prefix + (key,), value + elif isinstance(value, dict): + yield from leaves(value, prefix + (key,)) + + got = dict(leaves(rebuilt)) + assert set(got) == set(dict(leaves(released))), (meta["sequence_id"], bundle, sorted(got)) + for keys, leaf in leaves(released): + for terminal in ("data", "valid"): + left, right = leaf[terminal], got[keys][terminal] + assert left.dtype == right.dtype and left.shape == right.shape, (bundle, keys, terminal) + assert left.contiguous().numpy().tobytes() == right.contiguous().numpy().tobytes(), ( + bundle, keys, terminal) + compared += 1 + return {"sequence_id": meta["sequence_id"], "camera_id": meta["camera_id"], + "bundles": bundles, "tensors_compared": compared} + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("--views", nargs="*", default=None, help="restrict to these sequences") + parser.add_argument("--limit", type=int, default=None, help="validate at most N views") + parser.add_argument("--rewrite-check", type=int, default=0, metavar="N", + help="also re-serialise N views with the adapted writer and compare field bytes") + parser.add_argument("--expect-views", type=int, default=87, metavar="N", + help="fail unless exactly N views are released (default: 87, the full " + "RHD release). Without it a run that silently covered a fraction " + "of the tree would still report a pass.") + parser.add_argument("--report", type=Path, default=RELEASE_ROOT / "doc/validation/validate_report.json") + parser.add_argument("--no-manifest", action="store_true", + help=f"do not rebuild the release manifest ({MANIFEST_PATH}). It " + "hashes the whole release tree whatever --views says, so an " + "incremental check would pay for a manifest the final run " + "overwrites anyway. The accepting run must not pass this " + "(CONTRACT 6.4).") + args = parser.parse_args(argv) + + views = sorted((RELEASE_ROOT / "data").glob("*/*/metainfo.json")) + if args.views: + wanted = set(args.views) + views = [view for view in views if view.parent.parent.name in wanted] + if args.limit: + views = views[: args.limit] + + counts, frames_total, files_total, rewrites = {}, 0, 0, [] + #: the whole-tree sample census: an id released twice anywhere is a defect a + #: per-view check cannot see, so it is taken over one shared set + samples = set() + for position, path in enumerate(views, 1): + view_dir, meta = path.parent, load(path) + if position % 20 == 1 or position == len(views): + print(f" view {position}/{len(views)}: {view_dir.relative_to(RELEASE_ROOT)}", flush=True) + for key in ("dataset_id", "split_scheme", "split_source_locator", "sampling", + "camera", "components", "view_type", "storage_revision"): + assert key in meta, (path, key) + assert meta["dataset_id"] == "RHD", meta["dataset_id"] + assert meta["view_type"] == "exo", meta["view_type"] + assert meta["camera_id"] == view_dir.name, (path, meta["camera_id"]) + assert meta["schema_version"] == "hand-warehouse/1.1", meta["schema_version"] + assert meta["release_id"] == "shared-v1.1", meta["release_id"] + check_shard(meta) + rows = check_frames(view_dir, meta) + counts[meta["split"]] = counts.get(meta["split"], 0) + len(rows) + frames_total += len(rows) + #: the same sample id may not appear twice anywhere in the release + for row in rows: + assert row["sample_id"] not in samples, (view_dir, "sample id released twice", row["sample_id"]) + samples.add(row["sample_id"]) + + check_view(view_dir, meta, REGISTRY) + present = sorted(p.relative_to(view_dir).as_posix() + for p in view_dir.rglob("*") if p.is_file()) + files_total += len(present) + stray = [name for name in present if stray_validity(name)] + assert not stray, (view_dir, "merged field left a standalone validity file", stray) + if len(rewrites) < args.rewrite_check: + rewrites.append(rewrite_check(view_dir, meta, TMP_ROOT / "rewrite-check")) + + assert counts == EXPECTED_COUNTS, counts + #: the parts of the contract that hold release-wide rather than per view + assert len(views) == args.expect_views, (len(views), args.expect_views) + assert len(samples) == frames_total, (len(samples), frames_total) + + result = { + "passed": True, + "views": len(views), "counts": counts, + "frames": frames_total, + "files_per_view": files_total // len(views), + "schema_version": REGISTRY.schema["view_metadata"]["schema_version"], + "release_id": REGISTRY.schema["view_metadata"]["release_id"], + "bundles_per_view": len({c["data_ref"] for c in load(views[0])["components"].values() + if "data_key" in c}), + "rewrite_check": rewrites, + "scope": "released content and layout; does not independently prove official source " + "correctness or visual quality", + } + #: The tmp copy is a convenience for the migration loop, and its *name* is load + #: bearing. It must not be "acceptance.json": the documented chain writes + #: verify.py's byte-level acceptance report to tmp/rhd-tools/acceptance.json, so a + #: structural report saved under that name silently destroys the evidence + #: FULL_MIGRATION_SUMMARY.json is built from. + save(TMP_ROOT / "validate-latest.json", result) + save(args.report, result) + + if args.no_manifest: + #: reported as skipped rather than as a manifest of 0 files, which would + #: read like an empty release + result["release_manifest"] = {"skipped": "incremental check; not an acceptance run", + "path": str(MANIFEST_PATH)} + save(TMP_ROOT / "validate-latest.json", result) + save(args.report, result) + print(json.dumps(result, ensure_ascii=False, indent=2)) + return 0 if result["passed"] else 1 + + #: Named, and counted, here -- before the manifest is rebuilt -- because the + #: manifest has to cover this report's final bytes, so the report cannot carry the + #: manifest's digest. The count is exact all the same: nothing adds or removes a + #: release file between this walk and the hash pass below. + result["release_manifest"] = { + "path": str(MANIFEST_PATH), + "in_release_tree": False, + "files": sum(1 for _ in release_files()), + "note": "rebuilt by this run after this report was written, so it covers the " + "report's final bytes; kept outside the release because a manifest " + "inside it cannot hash itself", + } + save(TMP_ROOT / "validate-latest.json", result) + save(args.report, result) + + manifest = [] + for path in release_files(): + rel = path.relative_to(RELEASE_ROOT).as_posix() + manifest.append({"path": rel, "size": path.stat().st_size, "sha256": sha256(path)}) + payload = { + "release": REGISTRY.schema["view_metadata"]["release_id"], + "scope": result["scope"], + "location": f"{MANIFEST_PATH} (outside the release tree, as in the published " + "H2O and dex-ycb sets)", + "excludes": ["__pycache__/"], + "files": manifest, + "bytes": sum(entry["size"] for entry in manifest), + } + save(MANIFEST_PATH, payload) + print(f"manifest: {len(manifest)} files, {payload['bytes']} B -> {MANIFEST_PATH}") + + print(json.dumps(result, ensure_ascii=False, indent=2)) + return 0 + + +if __name__ == "__main__": + sys.dont_write_bytecode = True + raise SystemExit(main()) \ No newline at end of file diff --git a/RHD/shared-v1.1/script/rhd_v1_1/verify.py b/RHD/shared-v1.1/script/rhd_v1_1/verify.py new file mode 100644 index 0000000000000000000000000000000000000000..3fe20ce4b618188cfbdca9d8359063cf7aba38ec --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/verify.py @@ -0,0 +1,422 @@ +#!/usr/bin/env python3 +"""Acceptance checks for a shared-v1.0 -> shared-v1.1 migration (CONTRACT 6). + +Compares the migrated tree against the source it came from, so every claim is +checked against real bytes rather than re-asserted from the migrator: + +1. every component/attribute and its dictionary keys resolve; no stray files, no + missing keys, no unregistered fields; merged numeric components leave no + standalone ``*_valid.pt``; media/JSONL validity files survive untouched +2. every numeric field is identical to its source in dtype, shape, element-wise + values, NaN positions and bool validity, compared as a unified contiguous byte + view with no tolerance +3. ``num_frames``, sampling, hand slots, split, camera, view type, provenance and + the release's own status keys are unchanged -- the metainfo diff must equal the + allowed set +4. media and other preserved files match their source digests; the release + manifest is regenerated because merged ``.pt`` digests necessarily changed +5. the same registry-driven reader the release ships resolves every bundle field + +The report distinguishes "repackaging is numerically identical" from "human +visual acceptance"; this tool produces evidence for the former only. + +RHD declares no distortion component -- the pinhole calibration in +``camera/intrinsic.pt`` is the whole camera model -- so the separate distortion +checks the other releases carry have no counterpart here, and a distorted vector +appearing in a future source would be caught as an unexpected extra field rather +than silently absorbed. + +Run: python shared-v1.1/script/rhd_v1_1/verify.py --report tmp/rhd-tools/acceptance.json +""" + +from __future__ import annotations + +import argparse +import json +import sys +from pathlib import Path + +import torch + +sys.path.insert(0, str(Path(__file__).resolve().parent)) + +from warehouse import ( # noqa: E402 + BundleReader, + Registry, + same_tensor, + sha256_file, +) + +#: this package lives in /shared-v1.1/script/rhd_v1_1, so the release +#: and the dataset root beside it need no arguments. +RELEASE_ROOT = Path(__file__).resolve().parent.parent.parent +DATASET_ROOT = RELEASE_ROOT.parent +#: Where ``--manifest`` writes. The release manifest is a publication artifact and +#: lives *outside* the release tree: a manifest inside it could not hash its own final +#: bytes. ``rhd_common.MANIFEST_PATH`` holds the same path -- keep the two in step; +#: validate.py is what the documented chain rebuilds the shipping manifest with. +MANIFEST_PATH = DATASET_ROOT / "tmp" / "rhd-tools" / "PUBLISH_MANIFEST.json" + +V10_SCHEMA_VERSION = "hand-warehouse/1.0" +#: what a pass does and does not establish, stated once and reused by the report and +#: by the manifest it writes -- validate.py uses the same wording, so the two +#: manifests a chain can leave at MANIFEST_PATH cannot disagree about their scope +SCOPE = ("released content and layout; does not independently prove official source " + "correctness or visual quality") +#: metainfo keys the migration is allowed to rewrite at the top level. Everything +#: else is a claim the source made and must survive verbatim -- RHD's split +#: bookkeeping, its storage revision, the per-view camera metadata. The version keys +#: change by definition, and ``components`` changes wherever a numeric field joins a +#: bundle. +ALLOWED_TOP_LEVEL_CHANGES = {"schema_version", "release_id", "components"} +#: component fields the migration adds when a numeric field joins a bundle +BUNDLE_FIELDS = {"data_key", "valid_key", "storage", "valid_storage"} +#: component fields that must survive any migration untouched +PRESERVED_FIELDS = ("provenance", "source_locator", "valid_policy", "axes", "valid_axes") + + +class Failure(Exception): + pass + + +def check(condition, message): + if not condition: + raise Failure(message) + + +def is_stray_validity(registry: Registry, rel: str) -> bool: + """True when a standalone ``*_valid.pt`` belongs to a field that was merged. + + Catches the failure CONTRACT 6.1 names explicitly: a numeric component's + validity left behind as its own file because its name was not recognised. + """ + if not rel.endswith("_valid.pt"): + return False + return registry.resolve(rel[: -len("_valid.pt")] + ".pt") is not None + + +def compare_metainfo(source: dict, target: dict, sequence: str, camera: str): + """Assert the metainfo diff is exactly the storage-layout change set.""" + where = f"{sequence}/{camera}" + check(source["schema_version"] == V10_SCHEMA_VERSION, + f"{where}: source is not {V10_SCHEMA_VERSION}") + for key in ("num_frames", "sampling", "hand_slots", "split", "camera", + "view_type", "dataset_id", "sequence_id", "camera_id", "sample_type"): + check(source.get(key) == target.get(key), + f"{where}: {key} changed ({source.get(key)!r} -> {target.get(key)!r})") + check(target["schema_version"] == "hand-warehouse/1.1", f"{where}: schema_version not bumped") + check(target["release_id"] == "shared-v1.1", f"{where}: release_id not bumped") + + #: every remaining top level key, compared to this view's own source rather than + #: to a constant: a release's status keys are per-view claims and need not be + #: uniform across it, so "unchanged" has to mean unchanged against the v1.0 bytes, + #: not equal to one expected value. + for key in sorted(set(source) | set(target)): + if key in ALLOWED_TOP_LEVEL_CHANGES: + continue + check(key in source and key in target, + f"{where}: top level key {key!r} exists on only one side") + check(source[key] == target[key], + f"{where}: {key} changed ({source[key]!r} -> {target[key]!r})") + + source_components = source["components"] + target_components = target["components"] + check(set(source_components) == set(target_components), + f"{where}: component set changed") + + for name, before in source_components.items(): + after = target_components[name] + for key in PRESERVED_FIELDS: + check(before.get(key) == after.get(key), + f"{where}/{name}: {key} changed") + check(before.get("schema_id") == after.get("schema_id"), + f"{where}/{name}: schema_id changed") + check(before.get("available") == after.get("available"), + f"{where}/{name}: availability changed") + # attributes (here: visibility) follow the same rules as components + before_attributes = before.get("attributes") or {} + after_attributes = after.get("attributes") or {} + check(set(before_attributes) == set(after_attributes), + f"{where}/{name}: attribute set changed") + for attribute, before_attribute in before_attributes.items(): + after_attribute = after_attributes[attribute] + for key in ("axes", "dtype", "visibility_type", "meaning", "provenance", + "source_locator"): + check(before_attribute.get(key) == after_attribute.get(key), + f"{where}/{name}.{attribute}: {key} changed") + if "data_key" in after_attribute: + check(before_attribute.get("valid") is True, + f"{where}/{name}.{attribute}: bundled without a declared all-known scalar") + check("valid" not in after_attribute, + f"{where}/{name}.{attribute}: scalar valid must give way to valid_key") + check(after_attribute["data_ref"] == after_attribute["valid_ref"], + f"{where}/{name}.{attribute}: data_ref and valid_ref must share a file") + + +def same_bytes(left: Path, right: Path) -> tuple: + """``(same, how)`` for two paths: the same file, or the same bytes. + + Migration hardlinks media, so in the common case these are one inode and the + answer is structural. Reading the same file twice to prove it equals itself + proves nothing and costs the run. When the inodes differ -- a tree that was + *copied* rather than linked -- the bytes are hashed in streams, so nothing is + assumed equal merely because the migration usually links. + + ``how`` travels into the report, so a reader can see which files were settled by + identity and which by content instead of having to trust that either ran. + """ + left_stat, right_stat = left.stat(), right.stat() + if (left_stat.st_dev, left_stat.st_ino) == (right_stat.st_dev, right_stat.st_ino): + return True, "same inode" + if left_stat.st_size != right_stat.st_size: + return False, "size differs" + return sha256_file(left) == sha256_file(right), "sha256" + + +def verify_view(registry, v10_view, v11_view, reader): + """Run CONTRACT 6 checks for one view; return its evidence record.""" + where = f"{v10_view.parent.name}/{v10_view.name}" + source = json.loads((v10_view / "metainfo.json").read_text(encoding="utf-8")) + target = json.loads((v11_view / "metainfo.json").read_text(encoding="utf-8")) + compare_metainfo(source, target, v10_view.parent.name, v10_view.name) + + consumed, fields, media = set(), [], [] + for name, component in source["components"].items(): + if not component.get("available", True): + continue + for owner, spec, kind in [(name, component, "component")] + [ + (f"{name}.{attribute}", attribute_spec, "attribute") + for attribute, attribute_spec in (component.get("attributes") or {}).items() + ]: + ref = spec.get("data_ref") + if not ref: + continue + resolved = registry.resolve(ref) + after = (target["components"][name] if kind == "component" + else target["components"][name]["attributes"][owner.split(".", 1)[1]]) + if resolved is None: + # preserved verbatim: same reference, same bytes + check(after.get("data_ref") == ref, f"{where}/{owner}: data_ref changed for a media file") + check("data_key" not in after, f"{where}/{owner}: media must not carry data_key") + same, how = same_bytes(v10_view / ref, v11_view / ref) + check(same, f"{where}/{owner}: preserved file {ref} differs") + valid_ref = spec.get("valid_ref") + valid_how = None + if valid_ref: + check(after.get("valid_ref") == valid_ref, + f"{where}/{owner}: media valid_ref changed") + check("valid_key" not in after, f"{where}/{owner}: media must not carry valid_key") + same, valid_how = same_bytes(v10_view / valid_ref, v11_view / valid_ref) + check(same, f"{where}/{owner}: preserved validity {valid_ref} differs") + media.append({"owner": owner, "data_ref": ref, "valid_ref": valid_ref, + "verified": how, "valid_verified": valid_how}) + continue + + bundle_rel, keys, entry = resolved + check(after["data_ref"] == bundle_rel and after["valid_ref"] == bundle_rel, + f"{where}/{owner}: bundled refs must be the same file") + check(after["data_key"] == keys + ["data"], f"{where}/{owner}: data_key mismatch") + check(after["valid_key"] == keys + ["valid"], f"{where}/{owner}: valid_key mismatch") + for key in ("storage", "valid_storage"): + check(after[key]["profile"] == "pt/tensor_bundle/v1", + f"{where}/{owner}: {key} profile must be pt/tensor_bundle/v1") + + data, valid = reader.field(v11_view, after) + check(valid.dtype == torch.bool, f"{where}/{owner}: valid is not bool") + if kind == "attribute": + check(after.get("valid_axes") == list(after["axes"])[:valid.ndim], + f"{where}/{owner}: valid_axes must be axes[:valid.ndim]") + check(after.get("valid_ref") == after.get("data_ref"), + f"{where}/{owner}: visibility must share one bundle file") + source_data = torch.load(v10_view / ref, map_location="cpu", weights_only=True) + check(same_tensor(source_data, data), f"{where}/{owner}: data is not byte-identical") + source_valid_ref = spec.get("valid_ref") + if source_valid_ref: + source_valid = torch.load(v10_view / source_valid_ref, + map_location="cpu", weights_only=True) + check(same_tensor(source_valid, valid), f"{where}/{owner}: valid is not byte-identical") + origin = f"source tensor {source_valid_ref}" + consumed.add(source_valid_ref) + else: + check(spec.get("valid") is True, + f"{where}/{owner}: no valid_ref and no declared all-known scalar") + check(bool(valid.all()), + f"{where}/{owner}: expanded all-known validity must be all true") + origin = "expanded declared all-known scalar" + consumed.add(ref) + fields.append({ + "owner": owner, "entry": f"{bundle_rel}:{'/'.join(keys)}", + "dtype": str(data.dtype), "shape": list(data.shape), + "valid_shape": list(valid.shape), + "valid_true": int(valid.sum()), "valid_false": int((~valid).sum()), + "nan_count": int(torch.isnan(data).sum()) if data.is_floating_point() else None, + "valid_origin": origin, "byte_exact": True, + }) + + # 1: no stray files, nothing lost + source_files = {p.relative_to(v10_view).as_posix() + for p in v10_view.rglob("*") if p.is_file()} + target_files = {p.relative_to(v11_view).as_posix() + for p in v11_view.rglob("*") if p.is_file()} + expected = (source_files - consumed - {"metainfo.json"}) | {"metainfo.json"} | { + f["entry"].split(":")[0] for f in fields} + check(target_files == expected, + f"{where}: file set mismatch; unexpected={sorted(target_files - expected)}, " + f"missing={sorted(expected - target_files)}") + strays = sorted(f for f in target_files if is_stray_validity(registry, f)) + check(not strays, f"{where}: merged numeric fields left standalone validity files: {strays}") + + return { + "sequence_id": v10_view.parent.name, "camera_id": v10_view.name, + "num_frames": source["num_frames"], + "source_files": len(source_files), "target_files": len(target_files), + "merged_fields": len(fields), "preserved_files": len(media), + "media_verified_by": {how: sum(1 for m in media if m["verified"] == how) + for how in sorted({m["verified"] for m in media})}, + "fields": fields, "media": media, + } + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + parser.add_argument("--v10", type=Path, default=DATASET_ROOT / "shared-v1.0", + help="shared-v1.0 release directory") + parser.add_argument("--v11", type=Path, default=RELEASE_ROOT, + help="shared-v1.1 release directory") + parser.add_argument("--schema", type=Path, default=RELEASE_ROOT / "doc" / "schema.json", + help="v1.1 schema.json") + parser.add_argument("--manifest", type=Path, default=MANIFEST_PATH, + help=f"write the v1.1 release manifest here (default: " + f"{MANIFEST_PATH}, outside the release tree)") + parser.add_argument("--report", type=Path, help="write the acceptance report here") + parser.add_argument("--sample", type=int, default=None, + help="verify at most N views (default: all migrated)") + parser.add_argument("--views", nargs="*", default=None, + help="restrict to these sequence ids") + parser.add_argument("--expect-views", type=int, default=87, metavar="N", + help="refuse to report a pass unless exactly N views were verified " + "(default: 87, the full RHD release). Without it a run that " + "silently covered a fraction of the tree would still print " + "ACCEPTANCE_PASS.") + parser.add_argument("--complete", action="store_true", + help="fail when a source view has no migrated counterpart") + parser.add_argument("--no-manifest", action="store_true", + help="skip regenerating the release manifest (CONTRACT 6.4). It " + "hashes every file of the tree regardless of --views, so an " + "incremental check pays for a manifest the final run overwrites " + "anyway. The accepting run passes this as well: the manifest has " + "to be the last thing built, because it must cover this " + "release's own FULL_MIGRATION_SUMMARY.json and its rebuilt " + "doc/*.md, which are written after the acceptance -- validate.py " + "regenerates it at the end, so a manifest built here would be " + "overwritten unread. CONTRACT 6.4 asks that the manifest be " + "regenerated and correct, not that this tool be the one to " + "write it.") + args = parser.parse_args(argv) + + registry = Registry.load(args.schema) + reader = BundleReader() + source_views = sorted(p.parent for p in (args.v10 / "data").glob("*/*/metainfo.json")) + target_data = args.v11 / "data" + migrated, absent = [], [] + for view in source_views: + relative = view.relative_to(args.v10 / "data") + (migrated if (target_data / relative / "metainfo.json").is_file() else absent).append(view) + if args.views: + wanted = set(args.views) + migrated = [v for v in migrated if v.parent.name in wanted] + if args.sample: + migrated = migrated[:args.sample] + + report = {"source": str(args.v10.resolve()), "target": str(args.v11.resolve()), + "schema_sha256": sha256_file(args.schema), "views": [], "failures": [], + "scope": SCOPE, + "views_in_source": len(source_views), "views_migrated": len(migrated), + "views_absent_from_target": [v.relative_to(args.v10 / "data").as_posix() + for v in absent]} + if args.complete: + for view in absent: + rel = view.relative_to(args.v10 / "data").as_posix() + report["failures"].append({"view": rel, "error": "view was not migrated"}) + print(f"FAIL {rel}: view was not migrated", file=sys.stderr) + for view in migrated: + relative = view.relative_to(args.v10 / "data") + target_view = target_data / relative + try: + report["views"].append(verify_view(registry, view, target_view, reader)) + except Failure as error: + report["failures"].append({"view": relative.as_posix(), "error": str(error)}) + print(f"FAIL {relative}: {error}", file=sys.stderr) + + #: a coverage guard: the pass this tool prints has to mean the whole release was + #: compared, not merely that nothing failed among the views that happened to run + if not args.sample and not args.views: + check(len(report["views"]) == args.expect_views, ( + f"verified {len(report['views'])} views, expected {args.expect_views} " + f"(source has {len(source_views)}, {len(absent)} not migrated)")) + + # 4: regenerated release manifest + if args.no_manifest: + #: reported as skipped, not as "0 files" -- an empty manifest in the report + #: would read like a tree with nothing in it + report["manifest"] = {"skipped": "incremental check; not an acceptance run"} + else: + manifest = [] + #: The manifest normally lives outside the release (see MANIFEST_PATH), so it + #: is not part of the tree being hashed and there is nothing to exclude. Only + #: a ``--manifest`` pointed *into* the release has to be skipped: it cannot hash + #: itself without recording the digest it is about to have. + try: + manifest_rel = args.manifest.relative_to(args.v11).as_posix() + except ValueError: + manifest_rel = None + for path in sorted(args.v11.rglob("*")): + rel = path.relative_to(args.v11).as_posix() + if "__pycache__" in path.parts or rel == manifest_rel: + continue + if path.is_file(): + manifest.append({"path": rel, "size": path.stat().st_size, + "sha256": sha256_file(path)}) + report["manifest"] = {"files": len(manifest), + "bytes": sum(v["size"] for v in manifest), + "excludes": [x for x in (manifest_rel, "__pycache__/") if x]} + #: one manifest shape for the whole release: this payload is byte-compatible + #: with the one validate.py rebuilds at the end of the chain, so a standalone + #: run here cannot leave a differently shaped file at the same path. + args.manifest.parent.mkdir(parents=True, exist_ok=True) + args.manifest.write_text( + json.dumps({"release": "shared-v1.1", + "scope": SCOPE, + "location": f"{args.manifest} (outside the release tree, as in the " + "published H2O and dex-ycb sets)", + "excludes": ["__pycache__/"], + "files": manifest, + "bytes": sum(v["size"] for v in manifest)}, + ensure_ascii=False, indent=2) + "\n", encoding="utf-8") + + report["passed"] = not report["failures"] + if args.report: + args.report.parent.mkdir(parents=True, exist_ok=True) + report_path = Path(args.report) + #: tmp copies are conveniences; the name is load bearing because the chain + #: hands this file to write_full_migration_summary.py, which reads the claims + #: out of it instead of restating them by hand. + report_path.write_text(json.dumps(report, ensure_ascii=False, indent=2) + "\n", + encoding="utf-8") + + total_fields = sum(v["merged_fields"] for v in report["views"]) + media_modes = {} + for view in report["views"]: + for mode, count in view["media_verified_by"].items(): + media_modes[mode] = media_modes.get(mode, 0) + count + print(f"views={len(report['views'])} merged_fields={total_fields} " + f"failures={len(report['failures'])} " + + (f"manifest_files={report['manifest']['files']}" + if "files" in report["manifest"] else "manifest=skipped") + + f" media_verified_by={media_modes}") + print("ACCEPTANCE_PASS" if report["passed"] else "ACCEPTANCE_FAIL") + return 0 if report["passed"] else 1 + + +if __name__ == "__main__": + raise SystemExit(main()) \ No newline at end of file diff --git a/RHD/shared-v1.1/script/rhd_v1_1/warehouse.py b/RHD/shared-v1.1/script/rhd_v1_1/warehouse.py new file mode 100644 index 0000000000000000000000000000000000000000..01335de7742478a19d5ce5563bff6372f2446f53 --- /dev/null +++ b/RHD/shared-v1.1/script/rhd_v1_1/warehouse.py @@ -0,0 +1,254 @@ +"""hand-warehouse v1.1 tensor-bundle layout: resolution, writing, cached reading. + +The v1.1 registry (`doc/schema.json`) is declarative; its own `note` says runtime +readers/converters/validators still require adaptation. This module is that +adaptation for the parts every dataset shares: + +* ``Registry.resolve()`` v1.0 ``data_ref`` -> (bundle file, entry key path) +* ``BundleWriter`` builds one nested ``{"data": Tensor, "valid": Bool}`` tree +* ``BundleReader`` loads a bundle once, then fetches fields by key +* ``expanded_all_known()`` CONTRACT 3 expansion of a declared all-known scalar + +Section references are to ``doc/CONTRACT.md`` (hand-warehouse/1.1). +""" + +from __future__ import annotations + +import hashlib +import json +import os +from pathlib import Path, PurePosixPath + +import torch + +SCHEMA_VERSION = "hand-warehouse/1.1" +RELEASE_ID = "shared-v1.1" +BUNDLE_PROFILE = "pt/tensor_bundle/v1" +DATA_TERMINAL = "data" +VALID_TERMINAL = "valid" + +#: CONTRACT 3: axes declared on the three visibility scopes. +VISIBILITY_AXES = { + ("T", "hand", "joint"): "hand_keypoint", + ("T", "hand"): "whole_hand", + ("T",): "object", +} + + +def _parts(value: str): + return PurePosixPath(value).parts + + +def _is_wildcard(segment: str) -> bool: + """A registry template segment is a wildcard when it carries a placeholder. + + Covers both ```` and the composite ``__`` + (CONTRACT 4 contact pairs). + """ + return "<" in segment and ">" in segment + + +def _entry_key(segment: str) -> str: + """``pose.pt`` -> ``pose``; ``parts`` -> ``parts`` (CONTRACT 4: keys, not paths).""" + return segment[:-3] if segment.endswith(".pt") else segment + + +class Registry: + """Read-only view over the declarative v1.1 registry.""" + + def __init__(self, schema: dict): + if schema.get("schema_version") != SCHEMA_VERSION: + raise ValueError(f"not a {SCHEMA_VERSION} registry: {schema.get('schema_version')!r}") + self.schema = schema + self.bundles = schema["tensor_bundles"] + self.components = schema["components"] + self.visibility_scopes = schema["tensor_attributes"]["visibility"]["scopes"] + + @classmethod + def load(cls, path) -> "Registry": + return cls(json.loads(Path(path).read_text(encoding="utf-8"))) + + # -- v1.0 reference -> v1.1 bundle entry -------------------------------- + + def resolve(self, data_ref: str): + """Map a numeric ``data_ref`` to ``(bundle_path, keys, entry_spec)``. + + Returns ``None`` for anything the contract keeps out of bundles: media, + JSONL, mesh/asset files, ``frames.jsonl``, ``metainfo.json``, + ``articulation.json``. The bundle's own entry table decides -- an + unmatched entry is never merged, so no path is guessed into a bundle. + """ + ref = _parts(data_ref) + for bundle in self.bundles.values(): + template = _parts(bundle["path"]) + dir_template, filename = template[:-1], template[-1] + if len(ref) <= len(dir_template): + continue + bound, matched = {}, True + for want, got in zip(dir_template, ref): + if _is_wildcard(want): + bound[want] = got + elif want != got: + matched = False + break + if not matched: + continue + keys = [_entry_key(segment) for segment in ref[len(dir_template):]] + spec = self._entry_spec(bundle, keys) + if spec is None: + continue + directory = [bound.get(segment, segment) for segment in dir_template] + return "/".join(directory + [filename]), keys, spec + return None + + @staticmethod + def _entry_spec(bundle: dict, keys: list): + for name, spec in bundle["entries"].items(): + template = name.split("/") + if len(template) != len(keys): + continue + if all(_is_wildcard(w) or w == k for w, k in zip(template, keys)): + return spec + return None + + def valid_shape_template(self, schema_id: str): + spec = self.components.get(schema_id) + if spec is None: + raise KeyError(f"schema_id {schema_id!r} is not registered") + return spec.get("valid_shape") + + def visibility_valid_shape(self, axes): + scope = VISIBILITY_AXES.get(tuple(axes)) + if scope is None: + raise ValueError(f"visibility axes {list(axes)} match no declared scope") + return self.visibility_scopes[scope]["valid_shape"] + + +def expanded_all_known(data: torch.Tensor, valid_shape) -> torch.Tensor: + """CONTRACT 3: explicit all-true bool tensor of the field's ``valid_shape``. + + Symbolic dims resolve positionally against the data tensor, so the result + restates the source's declared all-known validity -- it is never inferred + from values or from a pose validity (``tensor_attributes.visibility``). + """ + if valid_shape is None: + raise ValueError("field declares no valid_shape; cannot expand all-known validity") + if len(valid_shape) > data.ndim: + raise ValueError(f"valid_shape {list(valid_shape)} exceeds data rank {data.ndim}") + dims = [] + for axis, dim in enumerate(valid_shape): + dims.append(data.shape[axis] if isinstance(dim, str) else int(dim)) + return torch.ones(dims, dtype=torch.bool) + + +class BundleWriter: + """Accumulates one bundle's tree, then replaces the file atomically.""" + + def __init__(self, view_root, rel_path: str): + self.view_root = Path(view_root) + self.rel_path = rel_path + self.tree: dict = {} + + def put(self, keys, data: torch.Tensor, valid: torch.Tensor): + if not keys: + raise ValueError("empty key path") + if not isinstance(data, torch.Tensor) or not isinstance(valid, torch.Tensor): + raise TypeError(f"{'/'.join(keys)}: data and valid must both be Tensors") + if valid.dtype != torch.bool: + raise TypeError(f"{'/'.join(keys)}: valid must be a bool Tensor, got {valid.dtype}") + node = self.tree + for key in keys[:-1]: + node = node.setdefault(key, {}) + if not isinstance(node, dict): + raise TypeError(f"{'/'.join(keys)}: {key!r} already holds a leaf") + leaf = "/".join(keys) + if keys[-1] in node: + raise ValueError(f"duplicate field {leaf}") + node[keys[-1]] = {DATA_TERMINAL: data, VALID_TERMINAL: valid} + return leaf + + def save(self): + """Write to a sibling temp file, fsync, then ``os.replace`` (MIGRATION 4.3).""" + if not self.tree: + return None # bundle_layout_rules.omit_empty_bundles + path = self.view_root / self.rel_path + path.parent.mkdir(parents=True, exist_ok=True) + temp = path.with_name(path.name + ".hw11-tmp") + torch.save(self.tree, temp) + fd = os.open(temp, os.O_RDONLY) + try: + os.fsync(fd) + finally: + os.close(fd) + os.replace(temp, path) + return path + + +class BundleReader: + """Reader cache required by ``reference_rules.reader_cache``.""" + + def __init__(self): + self._cache: dict = {} + + def bundle(self, view_root, rel_path: str): + key = (str(Path(view_root).resolve()), rel_path) + if key not in self._cache: + path = Path(view_root) / rel_path + if not path.is_file(): + raise FileNotFoundError(f"bundle {rel_path} not found in {view_root}") + self._cache[key] = torch.load(path, map_location="cpu", weights_only=True) + return self._cache[key] + + def get(self, view_root, rel_path: str, keys): + if not isinstance(keys, list) or not keys: + raise TypeError(f"{rel_path}: data_key/valid_key must be a non-empty list") + node = self.bundle(view_root, rel_path) + for depth, key in enumerate(keys): + if not isinstance(node, dict): + raise KeyError(f"{rel_path}: {'/'.join(keys[:depth])} is a leaf, not a dict") + if key not in node: + raise KeyError(f"{rel_path}: missing key {key!r} on path {'/'.join(keys)}") + node = node[key] + return node + + def field(self, view_root, component: dict): + """Fetch ``(data, valid)`` for a registered bundle component.""" + for required in ("data_ref", "data_key", "valid_ref", "valid_key"): + if required not in component: + raise KeyError(f"component is missing {required!r}") + data = self.get(view_root, component["data_ref"], component["data_key"]) + valid = self.get(view_root, component["valid_ref"], component["valid_key"]) + if not isinstance(data, torch.Tensor): + raise TypeError(f"{component['data_ref']}: data is {type(data).__name__}, not a Tensor") + if not isinstance(valid, torch.Tensor) or valid.dtype != torch.bool: + raise TypeError(f"{component['valid_ref']}: valid must be a bool Tensor") + return data, valid + + +def raw_bytes(tensor: torch.Tensor) -> bytes: + """Unified contiguous byte view (CONTRACT 6.2), NaN bit patterns included.""" + tensor = tensor.detach().cpu().contiguous() + try: + return tensor.numpy().tobytes() + except (TypeError, RuntimeError): + return tensor.view(torch.uint8).numpy().tobytes() + + +def same_tensor(left: torch.Tensor, right: torch.Tensor) -> bool: + return ( + left.dtype == right.dtype + and tuple(left.shape) == tuple(right.shape) + and raw_bytes(left) == raw_bytes(right) + ) + + +def sha256_file(path, block: int = 8 << 20) -> str: + digest = hashlib.sha256() + with Path(path).open("rb") as stream: + for chunk in iter(lambda: stream.read(block), b""): + digest.update(chunk) + return digest.hexdigest() + + +def sha256_bytes(payload: bytes) -> str: + return hashlib.sha256(payload).hexdigest() \ No newline at end of file diff --git a/RHD/shared-v1.1/script/v1_0_snapshot/doc/CONTRACT.md b/RHD/shared-v1.1/script/v1_0_snapshot/doc/CONTRACT.md new file mode 100644 index 0000000000000000000000000000000000000000..e80d21a1c4af1bfaa2f429b3395a4304e6af6eb0 --- /dev/null +++ b/RHD/shared-v1.1/script/v1_0_snapshot/doc/CONTRACT.md @@ -0,0 +1,459 @@ +# 手物数据仓库统一约定 v1.0 + +格式版本:`hand-warehouse/1.0`。存储约定:`lossless-video-2026-09-18`。 + +范围限于手物交互重建。按本任务纳入的源模态转换,不要求每个数据集填满所有组件。缺失模态、尚未下载、语义未核实分别报告,不能互相替代。 + +shared 层不是 raw 的完整镜像。处理者只需提取本次任务范围明确要求、语义已经核实且能够按本规范可靠转换的字段和模态。raw 中其余字段可以不纳入 shared,但必须在 `RAW_TO_SHARED.md` 中列出主要未纳入内容及原因。不得为了覆盖全部 raw 字段而猜测语义、虚构模态或保存未经定义的字段。未纳入 shared 不等于源数据不存在,原始信息仍以 raw 为准。 + +本文定义各字段的含义与使用规则,机器可读注册表见 [schema.json](schema.json)。两者互相补充;如有冲突,应先核实并统一定义。 + +## 1. 目录 + +```text +hand-datasets/ + / + raw/ + doc/ # 官方说明、来源与校验记录 + script/ # 官方下载脚本、必要包装脚本 + data/ # 保留原始包,不原地解压或改写 + / + doc/ # 发布说明、schema、来源清单 + script/ # 转换、校验脚本及运行配置 + data/ + / + / + metainfo.json + observation/ + rgb.mkv + rgb_valid.pt + depth.mkv # float32 深度的可逆视频编码 + depth_valid.mkv # 逐像素 bool 的无损视频编码 + camera/ + frames.jsonl + intrinsic.pt + intrinsic_valid.pt + extrinsic.pt + extrinsic_valid.pt + annotation/ + mano/ + motion.pt + motion_valid.pt + visibility.pt + keypoints/ + uv.pt + uv_valid.pt + xyz.pt + xyz_valid.pt + visibility.pt # 源数据有时提供 + object/ + / + assets/ # 该物体的网格、材质、纹理及部件资产 + .obj + pose.pt + pose_valid.pt + visibility.pt + metainfo.json # 物体身份、类别、mesh、尺寸与部件引用 + articulation.json + keypoints/ + vertex_part_ids.pt + joint_state.pt + joint_state_valid.pt + parts//pose.pt + parts//pose_valid.pt + segment/ + mask.mkv + mask_valid.pt + instances.jsonl + contact/ + relations.jsonl + __/ # 对应实体间的距离/接触区域 +``` + +目录展示可能存在的组件,不要求填满。具体文件、字段和缺省规则分别见后续对应小节。原始包的解压发生在临时工作区,raw 内原始包保持不变。 + +## 2. 相机视图的 metainfo.json + +### 2.1 顶层字段与发布信息 + +每个相机视图必须有 `metainfo.json`。以下字段除另行说明外均为必填: + +| 字段 | 填写内容 | +|---|---| +| schema_version | 结构版本,本版为 `hand-warehouse/1.0` | +| dataset_id | 数据集的逻辑标识 | +| release_id | 本次数据发布版本,对应目录中的 dataset_version | +| sequence_id | 所属序列或独立图片样本的标识 | +| camera_id | 当前相机视图标识 | +| sample_type | `image` 或 `video`,规则见 2.2 | +| num_frames | 当前视图帧数 T,所有随帧组件按同一时间轴组织 | +| hand_slots | 固定为 `["left", "right"]`;解剖学左右的使用规则见 5.1 | +| sampling | 采样类型、源 FPS、帧索引引用及选择策略,见 2.2 | +| camera | 当前相机模型与图像尺寸,见 2.3 | +| components | 实际提供的组件及其文件、schema、有效性和来源,见 2.5 | +| split | `train/val/test/unknown`,划分协议见 2.4 | +| view_type | 必填,固定为 `ego/exo/unknown`。源数据或采集设置明确相机视角时必须填写 `ego` 或 `exo`;只有无法从可信来源确定时才填写 `unknown`,不得省略或主观猜测。多相机序列须逐视图分别填写。 | + +`dataset_version` 是数据发布版本;`schema_version` 是结构版本,两者独立。原始包校验摘要、官方来源和转换配置应记录在发布清单中。解压发生在临时工作区,原始包保持不变。 + +### 2.2 图片、视频与 sampling + +`sample_type=image`:允许单图 T=1、`sampling.type=single`,也允许将独立图片批量装入一个视频容器,T>1 时 `sampling.type=independent`、`source_fps=null`。分片大小按数据集选择;FreiHAND 默认每片最多 4096 张,训练与评估分开,尾片不补帧。该数量不是其他数据集的强制要求;同批分辨率、相机模型类型及划分协议一致。每行 frames 必须有稳定且唯一的 `sample_id`、原始文件定位;内参、手形状等仍逐帧保留,不能因打包而共享错误的标定或身份。`sequence_id` 在这里仅是批次标识,不代表真实序列;不得按相邻帧推断跟踪、同步或接触延续。源 camera_id、image_variant、split 等随样本变化时放在 frames 的对应字段中。真实采集时间未知则 timestamp_ns=null。合成背景变体不视为真实多相机。 + +`sample_type=video`:`sampling.type=dense/sparse`;`source_fps` 是真实采集 FPS,未知为 null。非连续取样必须保留源帧号和已知源时间,不可用采样后索引除以 FPS 冒充源时间。可另记采样策略与步长。 + +shared 可以仅存所选 RGB 帧对应的数据。OakInk2 图像/动捕不同采样率时用 annotation_matches 明确映射;不要求将未采样动捕点硬塞进 T。多视角身份和源同步关系要保留;选择了哪些帧/相机及原因写在 sampling 中。 + +`sampling.frames_ref` 指向 `camera/frames.jsonl`。帧号、逐帧时间、同步与标注匹配记录的结构见 4.1;MKV 封装时间的约定见 3.1。 + +### 2.3 camera 模型声明 + +`camera` 至少包含 `model`、`schema_id`、`image_size:[W,H]`。模型未知使用 `unknown` 和 `null`,不猜成针孔。实际内参、畸变及外参数组放在 `camera/`,各模型的固定结构见第 4 节。 + +### 2.4 split 与划分协议 + +保留上游划分,不将同一采集序列的相邻帧随意拆到不同集合。 + +有官方划分时必填 split_scheme 和 split_source_locator,split_scheme 区分如 Dex-YCB s0/s1、ARCTIC P1/P2 等选定协议;不知道时 split=unknown 并给理由,不凭空分配。每发布可选择一种协议;存在逐帧差异时 frames 中的 split 覆盖视图默认值,并登记其来源。 + +### 2.5 components 组件登记 + +组件表的键是本发布内唯一名称,例如 `rgb`、`depth`、`mano`、`keypoints_uv`。每个已提供组件声明以下信息;模态特有参数在第 3–5 节对应小节中定义。 + +| 字段 | 约定 | +|---|---| +| available | 本发布是否提供该组件;缺省也表示未提供 | +| schema_id | 已登记的具体存储与语义类型,不得临时创造未登记名称 | +| data_ref | 数据文件路径,相对当前相机视图根目录,使用 POSIX 路径 | +| axes | 数组各维度的含义 | +| valid_ref / valid_axes | 有效性文件及其维度;语义由所属组件规定 | +| storage / valid_storage | 视频数据/视频有效性的存储配置;包含已登记 profile、实际 codec、pixel_format、encoded_size,见 3.1;非视频组件按原数组规则 | +| provenance | source / format_conversion / derived,以及转换或生成方法 | +| source_locator | 原文件、压缩包成员和记录/帧的定位信息 | + +不存在的组件允许缺省或写作 `{ "available": false, "reason": "..." }`,不用引用不存在的文件。静态网格可声明标量有效性;具体见 5.4。观测的 valid 见第 3 节,标注的 valid 与 visibility 区分见 5.1。 + +`provenance.kind` 使用 source/format_conversion/derived,`method` 说明转换或生成方法;发布清单补充脚本版本、参数、输入摘要。`source_locator` 定位到原始文件/压缩包成员和记录、帧号;允许引用有完整溯源清单的前一发布,但链条最终应能回到 raw。不得仅写一个无法定位记录的数据集名字。 + +`.pt` 仅保存 CPU Tensor,不保存 Python 自定义对象;浮点默认 float32,有效性为 bool,浮点无效位置填 NaN。所有随帧数组保留首维 T,单帧也不 squeeze;静态资产按其 schema 单独声明。单位、坐标及固定形状见各组件小节。 + +机器注册表 `schema.json` 中,`components` 固定解码后的数据类型、形状、单位和语义;`storage_profiles` 固定视频内的编码/还原方式。不得临时创造未登记的 schema_id 或 storage.profile。同一语义允许选择其登记的不同无损存储 profile。 + +## 3. observation 观测数据 + +### 3.1 rgb.mkv 与 rgb_valid.pt + +RGB、深度和栅格 mask 在 shared 中统一使用 MKV 视频容器,不展开为逐帧图片或图像 tar。MANO、关键点、位姿等数值标注仍用数组;分割的重叠多边形仍用 JSONL,不为了视频化而有损栅格化。单图可为一帧视频,独立图批量封装规则见 2.2。 + +**无损指共享层不增加信息损失。** 源 JPEG/H.264 等本身可能已是有损编码,原样保留并不恢复已丢失信息;不得重新以有损 JPEG、H.264、H.265、AV1 参数编码。源视频/图片的色彩、位深、分辨率和几何关系不得被静默改变。RGB schema `rgb/uint8/v1` 的统一读取结果是 `[T,H,W,3] uint8`、RGB 通道,有效性仍为 `rgb_valid.pt [T] bool`。超出该 schema 的高位深或 HDR 源必须报告并扩展定义,不能降到 8 位冒充无损。 + +#### 3.1.1 允许的 RGB 存储 profile + +| storage.profile | 编码方式 | 适用规则 | +|---|---|---| +| mkv/mjpeg_copy/v1 | 源 JPEG 压缩帧直接封装成 MJPEG/MKV | 不解码重编码;保持每张 JPEG 码流字节;普通 8 位 JPEG 且 MKV/解码器支持时使用 | +| mkv/source_copy/v1 | 已有视频的 RGB 对应码流直接封装为 MKV | 仅源编码能被 MKV 和选定解码器支持时使用,不伪造帧;需维持正确的呈现顺序与依赖帧 | +| mkv/h264_rgb_lossless/v1 | libx264rgb 的真正无损模式 | 必须 RGB 路径、CRF=0,并通过全帧 RGB 字节比较;不能替换成默认 libx264 YUV420 路径 | +| mkv/ffv1_rgb/v1 | FFV1 的 RGB 可逆编码路径 | 作为通用候选;解码回 RGB 后必须逐字节相同,不做色度降采样 | + +优先尝试源码流直接封装;不能封装或需要选择稀疏帧时,比较 FFV1 与无损 RGB H.264。对完整待发布片段,只在通过无损验收的候选中选择文件较小者,不假设某个编码器总最小;编码时间和随机读取代价记入构建记录。中间候选不作为 shared 多份常驻。H.264 跨帧压缩允许较长 GOP,必须记录 GOP/关键帧间隔,随机取帧需从前一关键帧正确解码,不能把 seek 返回的近似帧当目标帧。 + +普通源视频可以保留它已有的有损码流,但不允许新增有损重编码。源是 VRS 等记录容器时,先查明图像流实际编码:已有兼容 JPEG/视频包可直接提取封装,否则解码后使用真正无损编码;不把整个 VRS 改后缀当 MKV。PNG 不要求直接塞进 MKV,可选上表两种无损重编码方式。 + +#### 3.1.2 视频配置与校验 + +每个视频组件在 metainfo 中登记 `storage`,至少包含: + +| 字段 | 内容 | +|---|---| +| profile | 上述登记的存储 profile;语义仍由组件 schema_id 指定 | +| codec | 文件中实际 codec,例如 mjpeg、h264、ffv1;source_copy 必须写实际 codec | +| pixel_format | 实际编码像素格式;不得仅凭编码器参数猜测 | +| encoded_size | 视频物理像素尺寸 `[width,height]`;深度可能不同于逻辑尺寸,见 3.2 | +| decoder | 解码器名称、版本,以及颜色矩阵/范围/旋转处理等实际像素解释配置;未知的源色彩声明 unknown,不擅自称为 sRGB | +| encoder_parameters | 重编码时的编码器、版本、无损模式和 GOP 等参数;直接封装时记录 stream_copy | +| source_lossy | 源是否已有损:true / false / unknown;不是共享层再有损编码的许可 | + +无损重新编码的 RGB 必须使用同一固定解码配置,比较**全部帧**的统一 RGB 字节、数量及顺序。MJPEG-copy 不重新编码,生产校验采用 `jpeg-packets-all-rgb-sample16/v1`:从 MKV 逐包取回,对全部源 JPEG 的 SHA256、数量、顺序和图像尺寸进行精确核对;每视图另用同一固定解码配置比较最多 16 帧的源与目标 RGB 字节(含首尾与四分位位置,其余由固定种子抽取)。记录策略、实际索引、种子与结果;不足 16 帧时全查。试点与最终完整序列随机抽查,对选中视图的全部帧复核解码 RGB。历史已做全帧像素检查的证明继续保留。 + +逐包一致与像素抽查的范围必须分别声明,不能将抽查写成全量像素检查。不能用 PSNR 高、视觉相似、编码器参数称为 lossless 等替代精确检查。同时保留源编码的色彩标记和必要元数据;原图有 EXIF/色彩/方向等元数据时保留 raw 和必要来源信息;不能静默自动旋转图像而不更新像素对应与标定。以上加速策略仅适用于原 JPEG 码流直接封装,不适用于深度、标签或重新编码的 RGB。 + +所有共享视频的呈现帧顺序与统一 frame_index 一一对应,每个栅格组件恰好 T 帧。MKV 的 `storage_fps` 只服务封装,声明 `timebase_role=index_only`;source_copy 可以保留源 PTS 以避免改坏码流,但真实时间与标注对齐仍以 frames 为准。未知真实时间保留 null。缺失某帧组件时保留索引位置并使用该组件的无效占位/valid 标识,不删帧;不能以重复相邻图像冒充已知观测。 + +### 3.2 depth.mkv 与 depth_valid.mkv + +深度语义仍是 `depth/z_float32/v1`:统一读取结果 `[T,H,W] float32`,米制相机 Z 分量,`depth_type=z`。有效深度有限且大于 0,无效位置为 NaN。`depth_origin=measured/rendered/unknown` 必填,来源不明时 unknown。默认与 RGB 共用像素网格及相机参考系,不处理未注册 RGB-D。射线距离必须依据源定义转换成 z,不能只改声明。 + +#### 3.2.1 float32 的可逆视频编码 + +采用 `mkv/depth_float32_bits/v1`:**不是把深度量化成 uint16**,而是将规范化后每个 IEEE-754 float32 的完整 32 位拆成两个 uint16,使用 FFV1 gray16le 保存。视频物理尺寸为 `[2W,H]`:每行前 W 列存原 float32 位串的低 16 位,后 W 列存高 16 位。读取时先合并为 uint32 位串,再按 float32 重新解释,不能数值 cast 成 float32。 + +```text +u = reinterpret_uint32(depth_float32) +encoded[:, :, :W] = uint16(u & 65535) +encoded[:, :, W:] = uint16(u >> 16) +u_restored = uint32(low) | (uint32(high) << 16) +depth_float32 = reinterpret_float32(u_restored) +``` + +统一采用 little-endian 原始字节接口。`camera.image_size` 始终是逻辑 RGB 尺寸 `[W,H]`,不能改成编码视频的 2W;`storage.encoded_size=[2W,H]`。包括 NaN 在内的 float32 位串必须全帧完全恢复,不允许改成 float16、整数毫米、归一化灰度或 RGB 伪彩色。这里的无损验收基准是完成既定米制/坐标转换后的标准 float32 数组,不声称消除 float64→float32 等原约定转换本身的舍入。 + +#### 3.2.2 逐像素有效性 + +`depth_valid.mkv` 使用 `mkv/bool_ffv1/v1`,FFV1 gray8(FFmpeg pixel_format=`gray`),物理尺寸 `[W,H]`。像素只能为 0 或 1,统一解码为 `[T,H,W] bool`,逐像素含义不变。这样不再把庞大的 bool 数组保存为未压缩 `.pt`;标注的帧级/手级 valid 仍保留原有小数组。 + +登记示例(W、H 以下取 640、480;decoder/encoder_parameters 的实际版本由转换器填写): + +```json +{ + "available": true, + "schema_id": "depth/z_float32/v1", + "data_ref": "observation/depth.mkv", + "axes": ["T", "height", "width"], + "valid_ref": "observation/depth_valid.mkv", + "valid_axes": ["T", "height", "width"], + "unit": "m", + "depth_type": "z", + "depth_origin": "measured", + "invalid_value": "NaN", + "storage": { + "profile": "mkv/depth_float32_bits/v1", + "codec": "ffv1", + "pixel_format": "gray16le", + "encoded_size": [1280, 480], + "source_lossy": false, + "decoder": {"name": "ffmpeg", "version": "填写实际版本"}, + "encoder_parameters": {"name": "ffv1", "level": 3, "version": "填写实际版本"} + }, + "valid_storage": { + "profile": "mkv/bool_ffv1/v1", + "codec": "ffv1", + "pixel_format": "gray", + "encoded_size": [640, 480], + "source_lossy": false, + "decoder": {"name": "ffmpeg", "version": "填写实际版本"}, + "encoder_parameters": {"name": "ffv1", "version": "填写实际版本"} + }, + "provenance": {"kind": "format_conversion", "method": "源深度转米制 z float32;逐位打包为 FFV1"}, + "source_locator": {"file": "raw/data/depth.zip", "member": "depth/0001.png"} +} +``` + +深度和有效性视频都必须逐帧解码验收:float32 位串相同、bool 相同、T 相同,并检查 valid=true 的正有限值和 valid=false 的 NaN。读取器必须按 profile 还原,不能把 depth.mkv 的编码像素直接当深度值。 + +## 4. camera 相机、帧索引与标定 + +### 4.1 frames.jsonl:索引、时间与对应关系 + +`camera/frames.jsonl` 每行对应统一帧号 `frame_index=0..T-1`,是所有组件的唯一行索引。至少包含 `frame_index`、`timestamp_ns`、`clock_domain`、`source_locator`;原始帧号/文件名保存在 `source_frame_id`,不能被新帧号替代。每行还可有 `annotation_matches`,按组件键保存 `source_frame_id`、`source_timestamp_ns`、`clock_domain`、`match_method` 和 `delta_ns`;方法为 exact/index_map/nearest/interpolated,索引映射无时间依据时 delta_ns=null。nearest 必须记录允许误差;interpolated 必须记录两端源标识和权重。delta_ns 仅在同一时间域中计算为源标注时间减图像时间。多相机共享 `sequence_id`;已知同步关系必须用 `sync_id` 或明确的源帧/时间映射表达,不能仅凭相同数组索引认定同步。 + +每个视图必须提供此文件。源时间使用整数纳秒及 `clock_domain`,未知写 JSON `null`;不同时间域不能直接比较。逐帧 split 可以覆盖 metainfo 的视图默认划分,并保留来源,见 2.4。 + +### 4.2 坐标系与标定通则 + +| 项目 | 统一约定 | +|---|---| +| 相机坐标 | 右手系,X 向右、Y 向下、Z 向前,长度单位米 | +| 齐次变换 | 列向量,`p_target = T_target_from_source @ p_source` | +| 图像坐标 | `(u,v)`;左上像素中心为 `(0,0)`,u 向右、v 向下,单位 pixel | +| 固定标定 | 本版展开为 T 份,同一 schema 不混用静态与动态形状 | +| 分辨率或模型变化 | 分开存储为视图/片段,不在同一组件中混装 | +| 未知标定 | 相机内外参允许缺省,不填单位阵冒充已知标定 | + +### 4.3 intrinsic.pt 与畸变参数 + +| model / schema_id | intrinsic.pt 的固定结构 | +|---|---| +| pinhole / camera/pinhole/v1 | `[T,3,3]`,标准 K,最后一行为 `[0,0,1]`;限无畸变或已校正图像 | +| fisheye624 / camera/fisheye624/v1 | `[T,15]`,`[f,cx,cy,k0,k1,k2,k3,k4,k5,p0,p1,s0,s1,s2,s3]`,采用 Project Aria Fisheye624 投影定义 | +| opencv_fisheye4 / camera/opencv_fisheye4/v1 | `intrinsic.pt [T,3,3]` 保存 K;同组件 `distortion_ref` 指向 `[T,4]`,顺序 `[k1,k2,k3,k4]`,使用 OpenCV fisheye 等距角度多项式;已由 ReInterHand 实际原始相机参数验证 | +| rational8 / camera/rational8/v1 | `intrinsic.pt [T,3,3]` 保存 K;同组件必需 `distortion_ref` 指向 `[T,8]`,顺序 `[k1,k2,p1,p2,k3,k4,k5,k6]` | +| unknown / null | 不提供可用 intrinsic,不声称可以投影 | + +有畸变的其他模型必须注册新 schema,固定参数名、顺序和投影公式;不能塞进针孔 K 后遗失畸变项。`metainfo.camera.schema_id` 必须与 intrinsic 组件一致。同一模型的别名不可隐式改变参数布局。 + +`opencv_fisheye4`:对前方点令 `x=X/Z, y=Y/Z, r=sqrt(x²+y²), theta=atan(r)`,`theta_d=theta*(1+k1*theta²+k2*theta⁴+k3*theta⁶+k4*theta⁸)`;`u=fx*x*theta_d/r+cx, v=fy*y*theta_d/r+cy`。光轴 r=0 时使用连续极限 `theta_d/r=1`。四系数不能按普通径向畸变解释,也不能补零冒充 Fisheye624。 + +rational8 对归一化坐标 x=X/Z、y=Y/Z,令 r²=x²+y²,径向项为 `(1+k1*r²+k2*r⁴+k3*r⁶)/(1+k4*r²+k5*r⁴+k6*r⁶)`;再加 p1/p2 切向项并经 K 得到像素。`distortion_ref` 与 intrinsic 共用 `[T]` valid,保存到 camera/distortion.pt。不得把这种畸变三维坐标当作真实相机系 xyz 保存。 + +内参有效性为 `intrinsic_valid.pt [T] bool`;有畸变时使用对应 `distortion_ref`。同一模型的参数名和顺序固定。 + +### 4.4 extrinsic.pt 与 extrinsic_valid.pt + +`extrinsic.pt` 为 `[T,4,4]`,schema `transform/se3/v1`,方向固定 `T_camera_from_world`,有效性 `[T]`。世界坐标含义及源坐标转换记录在 provenance 中;只有相机坐标标注不要求虚构世界坐标。旋转块须正交且 determinant≈1。 + +## 5. annotation 标注数据 + +### 5.1 标注通则:手槽、valid 与 visibility + +手槽固定为 0=left、1=right,指解剖学左右,不按画面位置或可见性重排。本阶段只处理左右手两槽,不处理更多手。实体引用使用 `hand_left`、`hand_right`;手槽不证明跨采集片段的个人身份。 + +#### 5.1.1 valid:标注是否可用于监督 + +标注的 `valid=true` 表示:有对应实际标注、通过本 schema 数值检查,且通过来源明确提供并适用于该组件的有效性/QA 条件。`valid=false` 可由缺标注、无法建立帧对应、源无效占位或官方 QA 不通过导致;不等于画面没有手或手不可见。各组件独立判断,MANO 按 `[T,2]` 标记左右手,关键点按 `[T,2,K]` 标记。 + +**2026-09-20 将标注 valid 从“仅表示存在”修订为“可用于监督”,字段形状不变。** 公式为 `source_annotation_present AND numerical_checks_pass AND applicable_official_QA_pass`。没有官方 QA 时省略最后一项,不伪造 QA;不能把未知当成已通过已存在的 QA。适配器在组件 `valid_policy` 中记录具体规则、来源、聚合/广播作用域。缺失官方必需 QA 的记录须明确处理为未知或暂停验收,不能静默通过。无效浮点项仍填 NaN,原始数据保留在 raw;被排除原值可用于 doc 中明确标识的诊断渲染,不能冒充 shared 有效监督。 + +本地筛选须依据明确的规则,并在 `valid_policy.local_excluded_frame_indices`、排除原因和正式报告中记录。单个可疑投影作为问题记录,不直接硬编码排除该帧。已确认的曝光异常须明确作用范围,不能把一个序列的“前两帧有问题”套到所有序列。RGB 编码完好与几何监督可用是两件事,允许保留原图及帧索引而屏蔽对应标注;未发现问题不等于完成全部人工审核,试点待确认时不能作为已验收发布使用。 + +源字段必须按官方语义映射,不能直接按名字复制: + +| 来源 | 官方含义 | 映射原则 | +|---|---|---| +| [H2O](https://github.com/taeinkwon/h2odataset) 的手标注首位 | 0 未标注、1 已标注 | 可作为对应手标注存在性的依据,不推断未标注原因 | +| [HOT3D](https://github.com/facebookresearch/hot3d#using-mask-files) 的 pose_available、visible、mask_qa_pass | 分别表达姿态存在、可见性、对画面中可见手物位姿的人工 QA | 逐手/物体记录决定存在性,再 AND 当前相机当前帧 QA;QA 是整帧聚合判定,保守排除该帧全部手物几何监督,不声称每个实体均有错误;源可见性基于位姿推导时,其自身 valid 同样受 QA 约束 | +| [Dex-YCB](https://github.com/NVlabs/dex-ycb-toolkit#loading-dataset-and-visualizing-samples) 的全零 pose_m、全 -1 joints | 不可见的手或缺标注共用占位表示 | 对应组件 valid=false;不能从该值判定 visibility=false,也不能声称原因是动捕缺失 | +| [ARCTIC](https://github.com/zc-alexfan/arctic/blob/master/docs/data/data_doc.md) 的 is_valid/left_valid/right_valid | 是否有效用于官方评估 | 核实每项筛选依据;不把可见性/评估选择直接等同 QA。本次原始 mano.npy 不含这些派生评估标记,按原记录与数值检查生成 valid,并声明没有额外官方 QA 输入 | + +源 valid=false 若代表评估筛选或其他条件,应检查实际标注和源约定后映射;不能一律清空坐标。反之,占位零或 -1 只有在源官方明确规定时才判为缺失,不泛化成所有数据的判断规则。 + +`valid=true` 的标注应通过其 schema 的数值与形状检查;检查失败必须报告或修复,不能静默隐藏。QA 不通过应报告排除数量与原因,并保留可追溯信息;不能把这类无效称为缺标注。RGB、深度等观测有效性仍按各自 schema;手物 QA 不自动否定 RGB、静态相机内参或物体资产。相机外参是否过滤须依据其自身来源规则;HOT3D 本次保留源外参用于溯源和诊断,不能用其存在性证明 QA 失败帧的几何监督正确。 + +#### 5.1.2 visibility:可见性属性 + +附加质量属性只保留 `visibility`,存放在对应模态或标注集内,不设 quality 目录。同一份可见性仅存一次;uv 与 xyz 共用时引用同一个文件。 + +visibility 通过所属组件 attributes 登记 data_ref、axes、dtype、visibility_type、meaning、provenance、source_locator;未知值通过属性 valid_ref 标识,全已知可声明 valid=true。比例与布尔值不相互强转,也不按任意阈值二值化。没有 MANO 时,整手可见性挂在 keypoints 组件,使用独立的 whole_hand_visibility.pt,明确 meaning=whole_hand,不与逐关键点可见性混用。 + +`valid` 回答“这项标注能否用于监督”,`visibility` 回答“在当前图像中是否可见(或可见多少)”。不可见的手或关键点仍可有有效标注;不能因 visibility=0 就清空坐标。源没有 visibility 时缺省或标为未知,不由 valid 推断。 + +| 情况 | 手标注 valid | visibility | +|---|---|---| +| RGB 已开始录制,动捕尚未开始,没有其他对应手标注 | false | 以独立源可见性标注为准;没有则未知 | +| 手被遮挡,但源有标注且通过适用有效性检查 | true | 若源声明不可见,则 false 或源可见比例 | +| 手可见且有对应标注,通过适用 QA | true | 若源有此信息,则 true 或源可见比例 | +| 手可见,但该帧漏标或动捕中断 | false | 可以为 true,但必须有独立来源依据 | +| 有手部参数,但官方 QA 明确不通过 | false | 不据此断言不可见;源可见比例若基于不可靠位姿,其属性 valid 也为 false | + +visibility 自己的 valid_ref 表示该可见性标注是否可用,不复用 MANO 或关键点坐标的 valid_ref;明确记录源存在性及适用的 QA 条件。上述例子不要求凭图像自动生成可见性。 + +不设 quality 组件或目录,不另存拟合误差、曝光、截断比例等通用质量数组。适用的官方 QA 合并进对应 valid,在 `valid_policy` 记录来源与规则;正式校验报告保留原始 QA 时间区间及排除统计。原始 QA 文件仍在 raw,官方 split 保留。 + +### 5.2 mano:参数与整手可见性 + +MANO schema `mano/axis_angle61/v1`:`motion.pt [T,2,61]`,顺序为完整 16 关节 axis-angle 48、shape betas 10、全局平移 3。姿态使用弧度,平移米,位于当前相机系。有效性 `[T,2]`;缺少一侧整槽 NaN。PCA 必须先按对应模型展开,不能将 PCA 系数直接填入 axis-angle。 + +`model_profile` 必须固定 MANO 版本、`flat_hand_mean=true`、左手 shapedirs 修正状态。平移表示模型输出顶点所加的全局平移,不是某个腕关节的坐标;源语义不同须转换。shape 无量纲。模型权重不作为共享数据附带上传。 + +`mano/visibility.pt [T,2]` 保存源整手可见比例时使用 float32 [0,1],`visibility_type=ratio`;只有实际采用 0–100 的百分比才除以100,不能只凭表头判断。HOT3D 的 `visibility_ratio[%]` 实值已经是0–1,官方读取器原样读取,必须保留原值。通过 MANO 组件 attributes 登记,使用独立有效性,不复用 motion_valid。 + +手部共享表示仅保留 MANO 参数与选定关键点,不发布独立手表面几何。需要渲染或接触计算时由 MANO 参数生成,几何引用使用固定 MANO 模型配置与顶点顺序;不影响 object 下的物体模型和材质资产。 + +### 5.3 keypoints:二维点、三维点与逐点可见性 + +关键点独立于 MANO 参数存在;没有 motion 也可有关键点。`uv.pt [T,2,K,2]` 与 `xyz.pt [T,2,K,3]`,有效性 `[T,2,K]`,分别采用 `keypoints/uv/v1` 和 `keypoints/xyz/v1`。K 由 `keypoint_schema` 固定,不能在同一数组中逐帧变化;同体系统一顺序。数值使用像素坐标或米制相机系。 + +| keypoint_schema | K 与固定索引 | +|---|---| +| mano21/v1 | 21;wrist 后依次 thumb/index/middle/ring/little,每指由近端至指尖 | +| rhd21/v1 | 21;保持 wrist,然后五指由近端至指尖;原始每指 tip→palm 反序。只统一顺序,不宣称解剖学位置等价于 MANO | + +具体名称与源索引映射见 `schema.json`。当前只登记 MANO21 与 RHD21;不登记 MediaPipe、ReInterHand capture21 或 fit24 中间关键点。 + +每个发布中的每个视图只提供一套标准手关键点,直接放在 keypoints 下,不设 annotation_set_id 字段或目录。uv 与 xyz 是这套关键点的二维与三维表示,不是两套标注。provenance 分别记录二者来自原始标注还是计算结果;不要求已有 2D 必须由当前 xyz 重新投影覆盖。 + +ReInterHand 的 Original keypoints、Original fits keypoints 及带前臂关键点不纳入 shared;如需手关键点,从选定 MANO 参数生成 MANO21 并记录模型/指尖回归约定。其他数据集默认使用选定的官方关键点,不额外生成平行的 MANO 派生集合。后续主动更换生成方法或结果时发布新的 dataset_version,不在同一版本内增设方法分支。 + +manual/projection/fitting 只记录在 provenance,不作为目录或类型分支。不得通过坐标为零、是否出画或 visibility 判断标注是否存在。派生标注仅在实际生成并通过数值检查后声明 valid=true;没有生成的项为 false,不伪造坐标。 + +`keypoints/visibility.pt [T,2,K]` 保存源逐点可见性,布尔表示使用 `visibility_type=boolean`。uv 与 xyz 共用时引用同一份文件。整手比例属性没有 MANO 可挂载时使用 `whole_hand_visibility.pt [T,2]`,`meaning=whole_hand`;它与逐点可见性分开,通用登记规则见 5.1。 + +不使用 annotation_set_id;ReInterHand 中间关键点集合不进入 shared,raw 保留来源文件。 + +### 5.4 object:身份、资产、位姿与几何 + +#### 5.4.1 metainfo.json:物体身份与跟踪作用域 + +手用 `hand_left`、`hand_right` 及槽位 0、1 表示,不再另存 entities.json。物体身份登记在 `annotation/object//metainfo.json`,必填 `object_id`、`identity_scope`、`scope_id`、`source_locator`;可含 `category_id`、`source_object_id`、`mesh_ref`、`has_model`、部件引用。即使只有分割、没有 pose/mesh,也可只有这份物体元信息。 + +`identity_scope` 为 frame/subsequence/sequence,`scope_id` 指定具体作用域;跨相机共享身份只在已有源对应证据时使用。VISOR 按官方 subsequence 与实体名关联时记录 `association_basis=official_subsequence_entity_name`,不能声称这是全视频物理实例跟踪。无需与 object_id 一一对应的标准 track_id;官方独立轨迹标识存在时保留为 source_track_id,并声明作用域。手槽不证明跨采集片段的个人身份。 + +#### 5.4.2 assets:网格、材质与纹理 + +资产属于物体,统一存放在 `annotation/object//` 内,可用 `assets/` 子目录组织网格、材质、纹理和部件资产。序列层不设共享 assets。所有引用采用视图根目录为基准;其中物体资产组件的 `data_ref` 与部件的 `mesh_ref` 采用相对于当前视图目录的 POSIX 路径,例如 `annotation/object/cup_01/assets/cup.obj`,且必须指向所属物体目录内的资产。OBJ 内部的材质、纹理引用遵循文件格式自身的相对路径规则,依赖文件一并保留。不同相机视图允许各自保存物体资产,不要求跨视图去重;下载物体时包含其资产依赖。 + +网格 schema 为 `mesh/obj/v1`,顶点米制,静态有效性可直接声明标量 `valid`,或通过 `valid_ref` 指向标量 bool Tensor;不按 T 重复静态资产。由物体/部件通过引用关联,不仅凭文件名猜测。 + +#### 5.4.3 pose.pt、pose_valid.pt 与 visibility.pt + +刚体 schema 为 `object/rigid/v1`,`pose.pt [T,4,4]` 固定为 `T_camera_from_object`,平移米制,有效性 `[T]`。物体坐标原点、轴向必须与 mesh 一致;旋转块为正交矩阵且 determinant≈1。 + +`object//visibility.pt [T]` 保存源物体可见比例,float32 [0,1],`visibility_type=ratio`。通过所属物体组件 attributes 登记,独立表达其有效性。 + +#### 5.4.4 articulation.json、部件位姿与 joint_state.pt + +关节物体:schema `object/articulated/v1`,`articulation.json` 登记 `parts` 与 `joints`。每个 part 有 `part_id`、`parent_id`(根为 null)、`has_model`、`mesh_ref`;has_model=false 时 mesh_ref=null,结构节点允许没有网格。父链不得成环。每个 joint 有唯一 `joint_id`、`parent_part`、`child_part`、`type`;fixed 单位 null、revolute 弧度、prismatic 米。有源限位时保存 `limits:[lower,upper]`;没有时 null,不伪造上下限。部件姿态统一为 `T_camera_from_part [T,4,4]`,不与父局部变换混装。 + +若提供 `joint_state.pt [T,J]`,必须登记固定 joint_order、轴在父部件系的表达、零位变换与正方向,valid 为 `[T,J]`;缺少这些运动学定义时只发布部件位姿与已有来源信息,不伪造可驱动的关节模型。关节值与部件位姿同时存在时需验证一致性。 + +部件层级应声明语义:纯语义包含树允许 `joints=[]`,不将包含关系推断为机械关节。关节状态 schema 为 `object/joint_state/v1`;转动用弧度、移动用米,混合类型按 joint_order 对应的关节定义解释。 + +#### 5.4.5 dimensions、几何关键点与顶点部件标签 + +`dimensions.pt [T,3]` 采用 `object/dimensions/v1`,有效性为 `[T]`。 + +物体/部件 `dimensions` 为 `[length,width,height]` 米,轴顺序与该 mesh 的局部坐标关联,登记 `dimensions_semantics` 和来源。HOI4D dimensions 与 mesh 的具体尺度关系未验证前标为 source_unspecified,保留源值并暂停依赖该关系的几何验收,不能默认为待施加缩放。需要施加缩放时明确 scale_applied_to_mesh,禁止重复应用。 + +源物体关键点放 `object//keypoints/xyz.pt [T,K,3]`(相机系)或 `template_xyz.pt [K,3]`(物体系),schema 分别为 object_keypoints/camera/v1 和 object_keypoints/template/v1。明确 keypoint_schema、keypoint_names、单位及有效性;模板点配合 pose 可投影,无须重复生成全部帧。H2O 中心/角点/棱中点,以及 ARCTIC 部件点分别登记具体源顺序,不套用手的 21 点 schema。每个发布选择一套源几何点并记录选择,不另建方法分支。 + +`vertex_part_ids.pt [V] int64` 绑定 `mesh_ref` 与 topology_id,登记整数到 part_id 的映射;未知用 -1。ARCTIC 不同拓扑的资产分别绑定,不能共用未经转换的顶点标签。部件层级中 is_instance/has_model 等源属性保留,几何文件仍全部归 object。 + +### 5.5 segment:分割类别、编码与覆盖范围 + +每个发布选择一套任务使用的分割表示,不建立方法/标注集分支。没有分割就不创建 segment 目录,不为其他模态创建空的实体表。 + +| schema_id | 文件与数值语义 | +|---|---| +| segment/uint16_labels/v1 | mask.mkv;整数区域编号,通过 instances.jsonl 解释 | +| segment/instance_polygons/v1 | polygons.jsonl;实例多边形,可重叠;当前不支持孔洞拓扑 | +| segment/foreground_intensity/v1 | mask.mkv;0–255 前景强度,不是区域编号或经过校准的概率 | + +#### 5.5.1 uint16 标签图与 instances.jsonl + +组件声明 `segmentation_type=semantic/instance/part`;同一组件固定一种类型。`mask.mkv` 解码为 `[T,H,W] uint16`,schema `segment/uint16_labels/v1`,使用 `mkv/uint16_ffv1/v1`,FFV1 gray16le 无损;只有所有区域编码均 ≤255 时允许 gray8(pixel_format=gray),读取后转 uint16,数值不变。禁止调色板和有损编码。有效性 `[T]`,表示该帧有可用分割标注。数值 0 固定为 unassigned,65535 固定为 ignore,1–65534 为区域编码,不能直接等同 entity_id。 + +`instances.jsonl` 每帧一行,包含 `frame_index` 与 `labels`。每条标签包含 `mask_value`、`category_id`、`entity_id`、`part_id`;无意义或未知字段为 null。semantic 允许 entity_id=null;instance 必须引用 hand_left/hand_right 或登记的 object_id;part 还须关联登记部件。源实例 ID 和其他属性分别保存在 `source_instance_id`、`source_attributes`。mask 中每个非保留编码必须有且仅有一个映射。 + +FreiHAND 的试点按本任务需要,统一到手/背景类别,保留每个原生区域编码;不要求给原生细分区域猜测手指名称。需要细部件监督时,尚未核实的部件名称必须保持未知,不能因粗粒度手类别已核实便声称部件语义也已统一。 + +#### 5.5.2 重叠实例多边形 + +每发布选择一套任务使用的分割表示,不建立方法/标注集分支。VISOR 的实际试点存在重叠实例多边形,单层标签图不能无损表达。对此补充 `segment/instance_polygons/v1`:`segment/polygons.jsonl` 每帧包含 `frame_index` 和 `instances`,每实例包含 `mask_value` 与 `polygons`(列表,每个多边形为源图像像素坐标顶点序列,保留原始精度)。身份和类别仍由同一 `instances.jsonl` 映射,有效性仍为 `[T]`,通过 schema 区分物理编码。允许多实例重叠,不采用后画覆盖前画。消费者按需栅格化为独立实例二值 mask;不能声称合并的单层 mask 无损。 + +#### 5.5.3 灰度前景强度 + +ReInterHand 的官方渲染 mask 为双手合并的灰度前景掩码,实测存在 0–255 的中间值,不是左右手实例编号。登记 `segment/foreground_intensity/v1`:仍存 `segment/mask.mkv`,解码为 `[T,H,W] uint16`,使用 `mkv/uint16_ffv1/v1`,此类数据优先编码为 FFV1 gray8(pixel_format=gray),读取后转 uint16。有效值范围 0–255,归一化值为 `float32(value)/255`;0 为背景端点、255 为前景端点。组件声明 `foreground_category=hand`、`entity_id=null` 和双手合并语义,不使用区域编号映射。这里保留原始渲染 mask 强度,不把它称为经过校准的概率。若任务需要二值 mask,阈值化属于任务层派生操作,记录阈值;共享层不丢弃中间灰度。不同 schema 的数值含义不同,不能将该文件按整数类别图解码。 + +FreiHAND 训练集的 JPEG mask 使用 `segment/foreground_intensity/v1`,逐像素保留 JPEG 解码后的灰度,`entity_id=hand_right`。该 schema 不限定双手合并:单手或合并范围由 `entity_id` 与 `coverage` 明确声明。评估集整数区域图仍用 `segment/uint16_labels/v1`,两者不能仅凭文件名使用同一种解码语义。 + +#### 5.5.4 coverage 与有效性 + +`coverage.kind=full/selected_entities/partial/unknown`。full 指声明的标注范围完整;selected_entities 还应列出目标范围。无论哪种,0 本身不自动成为背景;背景要有明确类别映射,未标注区域不能用于构造负样本。保留源逐类/逐实例 exhaustive 信息,未知不可改写为完整。 + +三种表示的帧级有效性均为 `[T]`,表示该帧是否提供此分割标注;对应 valid_ref 在组件中登记,仍用小型 bool `.pt` 数组。栅格 mask 必须登记 storage,格式见 3.1.2,所有帧的整数编码或强度逐值完全相同。编码语义由 schema_id 决定,读取器不能仅依据 mask.mkv 文件名选择解码方式。 + +### 5.6 contact:接触、抓取、区域与距离 + +#### 5.6.1 relations.jsonl 与 relations_valid.pt + +`annotation/contact/relations.jsonl`,schema contact/relations/v1,每帧一行含 frame_index、relations。每条记录含 relation_type(contact/grasp)、subject_id(手槽或登记实体)、object_id、status、source_locator、provenance。status 固定为 positive/negative/unknown/target_unannotated:positive 必须有可解析目标,negative 表示源明确否定该关系,unknown 为不确定,target_unannotated 为确有接触但目标未标注。非 positive 的 object_id 可 null,不能用 null 冒充“不接触”。稀疏源无记录的帧不自动补 negative。 + +VISOR 的对象 mask ID 必须先按同帧 source_instance_id 解析成 object_id;hand-not-in-contact、none-of-the-above、inconclusive 分别映射 negative、target_unannotated、unknown,保留原始字符串。Dex ycb_grasp_ind 通过 ycb_ids 映射到登记物体,以 relation_type=grasp 保存;不得当作逐顶点接触。 + +relations 组件的 valid_ref 指向 `relations_valid.pt [T] bool`,表示该帧是否有可用源关系标注。有效帧中可以存在 status=unknown 的明确不确定标注;无源标注的帧为 valid=false、relations=[]。组件仍声明 available/provenance/source_locator。 + +#### 5.6.2 实体对的顶点区域与距离 + +已发布的接触区域/距离按参与关系的 subject_id 与 object_id 组织,每对实体保留选定的一套结果,以精确 geometry_ref/topology_id 关联到手或物体/部件;不要求每套数据都有。顶点区域 schema contact/vertex_region/v1:bool `[T,V]` 加同形 valid;顶点距离 schema contact/vertex_distance/v1:float32 `[T,V]`、米、同形 valid,声明 source/target geometry_ref、distance_definition(signed/unsigned、测量到点集或表面等明确源定义)。geometry_ref 必须指向已登记 mesh 或由固定 MANO 模型配置确定的拓扑;拓扑/顶点数变化时按拓扑拆分片段。其他源区域表示只有在实际接入并登记 schema 后才可转换,不能随意栅格化宣称等价。 + +顶点区域/距离已有存储定义,但尚未完成真实输入试点;接入时必须提供源语义与几何验收证据,不因已经登记 schema 就视为通过。 + +## 附录:任务范围 + +不强制收录 2D bbox、完整高频动捕、动作程序、身体 SMPL-X、点云或网络特征。范围内的接触、visibility、选定手关键点、物体几何不能因不便处理而静默丢弃。分割采用的物理编码由第 5.5 节决定,存在重叠时不能以单层标签图声称无损。 + +不设置 entities_ref/segment/entities.json,不要求与 object_id 重复的 track_id。MediaPipe 不在当前关键点定义中;旧版本迁移必须保留可追溯关系,不能直接删表。手部共享表示不含独立 hand_mesh。 + +schema.json 是普通注册表,不是 JSON Schema 文档或可执行验收器;定义存在不代表真实数据已验证。验收须保留实测范围与未决项。 + +本存储约定只更新标准,不代表既有 FFV1/depth.pt 试点已迁移。新发布必须显式写 storage 配置;旧产物按其旧定义读取,不能只改文件后缀或版本标识伪装为合规。 diff --git a/RHD/shared-v1.1/script/v1_0_snapshot/doc/schema.json b/RHD/shared-v1.1/script/v1_0_snapshot/doc/schema.json new file mode 100644 index 0000000000000000000000000000000000000000..edb7cf7ce8e8e282d1fbfb5b39ef02a60321d2fb --- /dev/null +++ b/RHD/shared-v1.1/script/v1_0_snapshot/doc/schema.json @@ -0,0 +1,880 @@ +{ + "schema_version": "hand-warehouse/1.0", + "validity_revision": "usable-annotation-2026-09-20", + "annotation_validity": { + "meaning": "annotation usable for supervision, not merely record presence", + "formula": "source_annotation_present AND numerical_checks_pass AND applicable_official_QA_pass AND NOT explicitly_reviewed_local_exclusion", + "without_official_qa": "omit QA term; declare source rules; do not fabricate QA", + "policy_field": "components..valid_policy", + "visibility_is_independent": true, + "invalid_float_value": "NaN", + "hot3d": "broadcast per-camera frame manual QA conservatively to hand/object labels and pose-derived visibility; retain RGB and source calibration; keep native QA in raw and review report", + "hot3d_visibility": "native visibility_ratio[%] already ranges from 0 to 1; do not divide by 100" + }, + "hand_slots": [ + "left", + "right" + ], + "view_metadata": { + "required_fields": [ + "view_type" + ], + "view_type_values": [ + "ego", + "exo", + "unknown" + ], + "view_type_policy": "required per camera view; use ego or exo whenever the source data or capture setup establishes the viewpoint; use unknown only when no trustworthy source determines it; never omit or guess" + }, + "keypoints": { + "mano21/v1": { + "count": 21, + "names": [ + "wrist", + "thumb_1", + "thumb_2", + "thumb_3", + "thumb_4", + "index_1", + "index_2", + "index_3", + "index_4", + "middle_1", + "middle_2", + "middle_3", + "middle_4", + "ring_1", + "ring_2", + "ring_3", + "ring_4", + "little_1", + "little_2", + "little_3", + "little_4" + ], + "source_index_map": null, + "note": "adapter maps official MANO joint and fingertip convention" + }, + "rhd21/v1": { + "count": 21, + "names": [ + "wrist", + "thumb_1", + "thumb_2", + "thumb_3", + "thumb_4", + "index_1", + "index_2", + "index_3", + "index_4", + "middle_1", + "middle_2", + "middle_3", + "middle_4", + "ring_1", + "ring_2", + "ring_3", + "ring_4", + "little_1", + "little_2", + "little_3", + "little_4" + ], + "source_index_map_per_hand": [ + 0, + 4, + 3, + 2, + 1, + 8, + 7, + 6, + 5, + 12, + 11, + 10, + 9, + 16, + 15, + 14, + 13, + 20, + 19, + 18, + 17 + ] + } + }, + "camera": { + "opencv_fisheye4": { + "K": [ + 3, + 3 + ], + "distortion": [ + "k1", + "k2", + "k3", + "k4" + ], + "projection": "theta=atan(r); theta_d=theta*(1+k1*theta^2+k2*theta^4+k3*theta^6+k4*theta^8); source ReInterHand" + }, + "pinhole": { + "K": [ + 3, + 3 + ] + }, + "fisheye624": { + "parameters": [ + "f", + "cx", + "cy", + "k0", + "k1", + "k2", + "k3", + "k4", + "k5", + "p0", + "p1", + "s0", + "s1", + "s2", + "s3" + ] + }, + "rational8": { + "K": [ + 3, + 3 + ], + "distortion": [ + "k1", + "k2", + "p1", + "p2", + "k3", + "k4", + "k5", + "k6" + ] + } + }, + "segmentation": { + "segment/uint16_labels/v1": { + "storage": "mask.mkv", + "dtype": "uint16", + "mapping": "instances.jsonl", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "reserved_codes": { + "0": "unassigned", + "65535": "ignore" + }, + "region_codes": [ + 1, + 65534 + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "segment/instance_polygons/v1": { + "storage": "polygons.jsonl", + "mapping": "instances.jsonl", + "frame_keys": [ + "frame_index", + "instances" + ], + "instance_keys": [ + "mask_value", + "polygons" + ], + "coordinate_unit": "pixel", + "overlap_allowed": true, + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref" + ], + "polygon_shape": [ + "N", + 2 + ], + "holes_supported": false + }, + "segment/foreground_intensity/v1": { + "storage": "mask.mkv", + "dtype": "uint16", + "value_range": [ + 0, + 255 + ], + "normalization_scale": 0.00392156862745098, + "axes": [ + "T", + "height", + "width" + ], + "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability", + "zero": "background", + "full_scale": "foreground", + "mapping": "foreground_category in component metadata", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "value_range", + "normalization_scale", + "foreground_category", + "entity_id", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + } + }, + "note": "Registry for hand-warehouse/1.0. Read CONTRACT.md for field semantics. This is not a JSON Schema document or executable validator.", + "components": { + "mano/axis_angle61/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 61 + ], + "valid_shape": [ + "T", + 2 + ], + "unit": "m", + "angle_unit": "rad", + "coordinate_frame": "camera", + "layout": { + "pose_axis_angle": [ + 0, + 48 + ], + "shape": [ + 48, + 58 + ], + "translation": [ + 58, + 61 + ] + } + }, + "keypoints/uv/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 21, + 2 + ], + "valid_shape": [ + "T", + 2, + 21 + ], + "unit": "pixel", + "required_metadata": [ + "keypoint_schema" + ] + }, + "keypoints/xyz/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 2, + 21, + 3 + ], + "valid_shape": [ + "T", + 2, + 21 + ], + "unit": "m", + "required_metadata": [ + "keypoint_schema" + ] + }, + "depth/z_float32/v1": { + "storage": "mkv", + "dtype": "float32", + "shape": [ + "T", + "H", + "W" + ], + "valid_shape": [ + "T", + "H", + "W" + ], + "unit": "m", + "depth_type": "z", + "pixel_grid": "current_rgb", + "coordinate_frame": "current_rgb_camera", + "valid_storage": "mkv", + "allowed_storage_profiles": [ + "mkv/depth_float32_bits/v1" + ], + "allowed_valid_storage_profiles": [ + "mkv/bool_ffv1/v1" + ], + "required_metadata": [ + "storage", + "valid_storage", + "depth_origin" + ], + "depth_origin_values": [ + "measured", + "rendered", + "unknown" + ] + }, + "transform/se3/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4, + 4 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "convention" + ] + }, + "object/rigid/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4, + 4 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "convention" + ] + }, + "camera/pinhole/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ] + }, + "camera/rational8/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ] + }, + "camera/opencv_fisheye4/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3, + 3 + ], + "valid_shape": [ + "T" + ] + }, + "camera/fisheye624/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 15 + ], + "valid_shape": [ + "T" + ] + }, + "camera/distortion8/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 8 + ], + "valid_shape": [ + "T" + ] + }, + "camera/fisheye4_distortion/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 4 + ], + "valid_shape": [ + "T" + ] + }, + "object/joint_state/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "J" + ], + "valid_shape": [ + "T", + "J" + ], + "required_metadata": [ + "joint_order" + ], + "unit_rule": "revolute radians; prismatic metres; mixed types declared per joint" + }, + "object_keypoints/camera/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "K", + 3 + ], + "valid_shape": [ + "T", + "K" + ], + "unit": "m", + "coordinate_frame": "camera", + "required_metadata": [ + "keypoint_schema" + ] + }, + "object/dimensions/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + 3 + ], + "valid_shape": [ + "T" + ], + "unit": "m", + "required_metadata": [ + "dimensions_semantics" + ], + "axis_order": [ + "length", + "width", + "height" + ], + "scale_rule": "do not apply to mesh without source-supported size/scale relation" + }, + "object_keypoints/template/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "K", + 3 + ], + "valid_shape": [ + "K" + ], + "unit": "m", + "coordinate_frame": "object", + "static": true, + "required_metadata": [ + "keypoint_schema" + ] + }, + "mesh/obj/v1": { + "storage": "obj", + "unit": "m", + "static": true, + "valid_shape": [], + "dependencies": "MTL and textures retained under owning object" + }, + "rgb/uint8/v1": { + "storage": "mkv", + "dtype": "uint8", + "shape": [ + "T", + "H", + "W", + 3 + ], + "valid_shape": [ + "T" + ], + "color_order": "RGB", + "allowed_storage_profiles": [ + "mkv/mjpeg_copy/v1", + "mkv/source_copy/v1", + "mkv/h264_rgb_lossless/v1", + "mkv/ffv1_rgb/v1" + ], + "required_metadata": [ + "storage" + ] + }, + "contact/relations/v1": { + "storage": "jsonl", + "valid_shape": [ + "T" + ], + "frame_keys": [ + "frame_index", + "relations" + ], + "absence_semantics": "no record is not a negative contact annotation" + }, + "contact/vertex_region/v1": { + "storage": "pt", + "dtype": "bool", + "shape": [ + "T", + "V" + ], + "valid_shape": [ + "T", + "V" + ], + "required_metadata": [ + "source_geometry_ref", + "target_geometry_ref", + "topology_id" + ], + "pilot_status": "defined_not_empirically_validated" + }, + "contact/vertex_distance/v1": { + "storage": "pt", + "dtype": "float32", + "shape": [ + "T", + "V" + ], + "valid_shape": [ + "T", + "V" + ], + "unit": "m", + "required_metadata": [ + "source_geometry_ref", + "target_geometry_ref", + "topology_id", + "distance_definition" + ], + "pilot_status": "defined_not_empirically_validated" + }, + "object/articulated/v1": { + "storage": "json", + "required_keys": [ + "parts", + "joints" + ], + "part_keys": [ + "part_id", + "parent_id", + "has_model", + "mesh_ref" + ], + "hierarchy_semantics": "declare mechanical articulation or semantic containment; containment alone does not imply joints", + "acyclic": true + }, + "segment/uint16_labels/v1": { + "storage": "mkv", + "dtype": "uint16", + "mapping": "instances.jsonl", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "reserved_codes": { + "0": "unassigned", + "65535": "ignore" + }, + "region_codes": [ + 1, + 65534 + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + }, + "segment/instance_polygons/v1": { + "storage": "jsonl", + "mapping": "instances.jsonl", + "frame_keys": [ + "frame_index", + "instances" + ], + "instance_keys": [ + "mask_value", + "polygons" + ], + "coordinate_unit": "pixel", + "overlap_allowed": true, + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "mapping_ref" + ], + "polygon_shape": [ + "N", + 2 + ], + "holes_supported": false + }, + "segment/foreground_intensity/v1": { + "storage": "mkv", + "dtype": "uint16", + "value_range": [ + 0, + 255 + ], + "normalization_scale": 0.00392156862745098, + "axes": [ + "T", + "height", + "width" + ], + "meaning": "native hand foreground intensity; individual hand or union declared in metadata; not instance codes or calibrated probability", + "zero": "background", + "full_scale": "foreground", + "mapping": "foreground_category in component metadata", + "valid_shape": [ + "T" + ], + "required_metadata": [ + "segmentation_type", + "coverage", + "value_range", + "normalization_scale", + "foreground_category", + "entity_id", + "storage" + ], + "shape": [ + "T", + "H", + "W" + ], + "allowed_storage_profiles": [ + "mkv/uint16_ffv1/v1" + ] + } + }, + "storage_revision": "lossless-video-2026-09-18", + "sampling": { + "image": { + "single": { + "T": 1 + }, + "independent": { + "T": ">=2", + "required_frame_fields": [ + "sample_id", + "source_locator" + ], + "temporal_relationship": false + }, + "source_fps": null + }, + "video": { + "sampling_types": [ + "dense", + "sparse" + ] + } + }, + "storage_profiles": { + "mkv/mjpeg_copy/v1": { + "container": "matroska", + "codec": "mjpeg", + "method": "stream_copy_from_source_jpeg", + "logical_dtype": "uint8", + "decoded_pixel_format": "rgb24", + "validation": [ + "source_jpeg_packet_sha256_exact", + "all_packet_count_order_and_dimensions_exact", + "deterministic_decoded_rgb_sample_exact", + "pilot_and_final_selected_whole_sequences_decoded_rgb_exact" + ], + "validation_policy": { + "id": "jpeg-packets-all-rgb-sample16/v1", + "sample_count_per_view": 16, + "short_views": "all_frames_if_T_less_than_16", + "fixed_indices": "0,T-1,T//4,T//2,3*T//4, deduplicated", + "remaining_indices": "sample without replacement to min(T,16) using Python random.Random(seed)", + "seed": "first 8 bytes of SHA256(sequence_id/camera_id/20260920), big-endian integer", + "report": "policy, exact selected frame indices, seed, separate packet and pixel coverage", + "legacy_all_frame_pixel_proofs": "still accepted; preserve historical evidence" + } + }, + "mkv/source_copy/v1": { + "container": "matroska", + "codec": "source_codec_declared_in_metadata", + "method": "stream_copy_only", + "logical_dtype": "uint8", + "decoded_pixel_format": "rgb24", + "validation": [ + "no_reencoding", + "all_decoded_rgb_frames_exact", + "presentation_frame_order_exact" + ] + }, + "mkv/h264_rgb_lossless/v1": { + "container": "matroska", + "codec": "h264", + "encoder": "libx264rgb", + "crf": 0, + "decoded_pixel_format": "rgb24", + "logical_dtype": "uint8", + "gop": "declared_in_encoder_parameters", + "validation": [ + "all_decoded_rgb_frames_exact" + ], + "forbidden": [ + "lossy_rate_control", + "rgb_to_yuv420_subsampling" + ] + }, + "mkv/ffv1_rgb/v1": { + "container": "matroska", + "codec": "ffv1", + "decoded_pixel_format": "rgb24", + "logical_dtype": "uint8", + "validation": [ + "all_decoded_rgb_frames_exact" + ] + }, + "mkv/depth_float32_bits/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_format": "gray16le", + "logical_dtype": "float32", + "logical_shape": [ + "T", + "H", + "W" + ], + "encoded_shape": [ + "T", + "H", + "2*W" + ], + "packing": "IEEE754 little-endian float32 bits; low uint16 in first W columns, high uint16 in last W columns", + "decode": "reinterpret_float32(uint32(low) | (uint32(high) << 16))", + "validation": [ + "all_float32_bits_exact_including_nan" + ] + }, + "mkv/bool_ffv1/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_format": "gray", + "logical_dtype": "bool", + "stored_values": [ + 0, + 1 + ], + "validation": [ + "all_bool_values_exact" + ] + }, + "mkv/uint16_ffv1/v1": { + "container": "matroska", + "codec": "ffv1", + "pixel_formats": [ + "gray", + "gray16le" + ], + "logical_dtype": "uint16", + "gray_condition": "all values <=255; decode by exact uint8-to-uint16 promotion", + "validation": [ + "all_integer_values_exact" + ] + } + }, + "video_metadata": { + "required": [ + "profile", + "codec", + "pixel_format", + "encoded_size", + "decoder", + "encoder_parameters", + "source_lossy" + ], + "source_lossy_values": [ + true, + false, + "unknown" + ], + "timebase_role": "index_only", + "lossless_reference": "source compressed packets or fixed-decoder source pixels; depth uses normalized standard float32 bits", + "selection": "choose smaller complete candidate only after exact roundtrip validation" + } +} diff --git a/RHD/shared-v1.1/script/v1_0_snapshot/script/README.md b/RHD/shared-v1.1/script/v1_0_snapshot/script/README.md new file mode 100644 index 0000000000000000000000000000000000000000..eed79017e2f5d482dc5e0114ec76aae82caa2cb9 --- /dev/null +++ b/RHD/shared-v1.1/script/v1_0_snapshot/script/README.md @@ -0,0 +1,18 @@ +# RHD shared-v1.0 脚本 + +本目录只服务于相邻的 `shared-v1.0`。脚本从自身位置定位 RHD 的 `raw/`、`shared-v1.0/`、`doc/` 和 `tmp/`,不要求数据集路径、release、split 或分片大小参数。 + +```bash +python script/convert_rhd.py +python script/validate_rhd.py +python script/render_full_random_review.py +``` + +三个入口均无必填参数,`--help` 仅显示帮助。 + +- `convert_rhd.py`:读取官方 `RHD_v1-1.zip`,按 training/evaluation 分开写入固定的每片最多 512 张布局;完整分片跳过,不完整或不兼容分片停止运行。 +- `validate_rhd.py`:按 `doc/schema.json` 检查全部 43,986 张的路径、组件、张量和媒体登记,并生成当前发布树的 SHA256 内容指纹。指纹不能单独证明官方源正确、转换语义正确或视觉质量合格。 +- `render_full_random_review.py`:固定种子从 training 和 evaluation 各抽 12 张,直接读取全量产物并与 raw 的 RGB、mask、depth 对照,生成 `doc/validation/full_random/`。 +- `rhd_common.py`:三个入口共用的路径、受限 pickle、JSON/张量、FFmpeg 和视图结构实现;不是单独入口。 + +环境需要 Python 3、NumPy、PyTorch、Pillow、OpenCV 和 `imageio-ffmpeg`。RHD 没有原生 MANO,因此这里没有 MANO 依赖或 FreiHAND 代码。脚本不会删除或改写 raw,不上传数据,也不会把自动检查写成人工通过。 diff --git a/RHD/shared-v1.1/script/v1_0_snapshot/script/convert_rhd.py b/RHD/shared-v1.1/script/v1_0_snapshot/script/convert_rhd.py new file mode 100644 index 0000000000000000000000000000000000000000..b030456fe60dbf9df5074a28795855115e35c585 --- /dev/null +++ b/RHD/shared-v1.1/script/v1_0_snapshot/script/convert_rhd.py @@ -0,0 +1,67 @@ +"""Convert the official RHD ZIP into the adjacent shared-v1.0 release.""" +from rhd_common import * +from PIL import Image +import argparse, io, zipfile + +def media(v,name,path,raw,pix,size,profile,codec='ffv1',options=None): + dst=v.p/path;dst.parent.mkdir(parents=True,exist_ok=True);options=options or ['-level','3'] + ff(['-f','rawvideo','-pixel_format',pix,'-video_size',f'{size[0]}x{size[1]}','-framerate','1','-i','pipe:0','-c:v',codec,*options,str(dst)],raw) + restored=ff(['-i',str(dst),'-f','rawvideo','-pix_fmt',pix,'pipe:1']);assert restored==raw,name + v.checks.append({'test':'all_media_bytes_exact','component':name,'frames':v.T}) + actual_pix='bgr0' if codec=='ffv1' and pix=='rgb24' else ('gbrp' if codec=='libx264rgb' else pix) + return storage(profile,codec,actual_pix,size,False,options),restored + +def main(): + argparse.ArgumentParser(description='Convert RHD raw into the adjacent shared-v1.0 release.').parse_args() + torch.set_num_threads(4);root=RELEASE_ROOT + order=load(root/'doc/schema.json')['keypoints']['rhd21/v1']['source_index_map_per_hand'];reports=[] + with zipfile.ZipFile(RAW_ROOT/'RHD_v1-1.zip') as z: + for split,total in [('training',41258),('evaluation',2728)]: + member=next(n for n in z.namelist() if n.endswith(f'{split}/anno_{split}.pickle'));prefix=member.rsplit('/',1)[0] + anno=Restricted(io.BytesIO(z.read(member)),encoding='latin1').load();all_ids=sorted(anno);assert len(all_ids)==total + for offset in range(0,total,512): + ids=all_ids[offset:offset+512];t=len(ids) + sequence=f'{split}_{offset:08d}';complete=root/'data'/sequence/'camera/metainfo.json' + if complete.is_file(): + meta=load(complete);required=['observation/rgb.mkv','observation/depth.mkv','observation/depth_valid.mkv','annotation/segment/mask.mkv','annotation/keypoints/xyz.pt','annotation/keypoints/uv.pt','camera/intrinsic.pt','camera/frames.jsonl'] + if meta.get('num_frames')!=t or not all((complete.parent/path).is_file() for path in required):raise RuntimeError(f'Existing shard is incomplete: {complete.parent}') + reports.append({'split':split,'frames':t,'sequence':sequence,'status':'already_complete'});continue + v=View('RHD',sequence,'camera',ids,[320,320],{'archive':'raw/data/RHD_v1-1.zip','annotation':member},kind='image',split='train' if split=='training' else 'test') + v.m.update(schema_version='hand-warehouse/1.0',view_type='exo',storage_revision='lossless-video-2026-09-18',split_scheme='RHD_official_training_evaluation',split_source_locator={'archive':'raw/data/RHD_v1-1.zip','member_prefix':prefix},sample_type='image') + v.m['sampling'].update(type='independent',selection='all source independent images sorted by source ID',shard_max_images=512) + for row,i in zip(v.frames,ids):row.update(sample_id=f'RHD/{split}/{i:05d}');row['source_locator'].update(annotation_index=i,member=f'{prefix}/color/{i:05d}.png') + rgb=np.stack([np.asarray(Image.open(io.BytesIO(z.read(f'{prefix}/color/{i:05d}.png'))).convert('RGB')) for i in ids]) + rgbstore,_=media(v,'rgb','observation/rgb.mkv',rgb.tobytes(),'rgb24',[320,320],'mkv/ffv1_rgb/v1') + other=v.p/'observation/rgb_candidate.mkv';candidate,_=media(v,'rgb_candidate','observation/rgb_candidate.mkv',rgb.tobytes(),'rgb24',[320,320],'mkv/h264_rgb_lossless/v1','libx264rgb',['-crf','0','-preset','medium','-g','32']) + candidate['pixel_format']='gbrp' + sizes={'ffv1':(v.p/'observation/rgb.mkv').stat().st_size,'h264_rgb_lossless':other.stat().st_size} + if other.stat().st_size<(v.p/'observation/rgb.mkv').stat().st_size:other.replace(v.p/'observation/rgb.mkv');rgbstore=candidate + else:other.unlink() + v.add('rgb','observation/rgb.mkv','rgb/uint8/v1',['T','height','width','channel'],np.ones(t,bool),storage=rgbstore,storage_fps=1,timebase_role='index_only') + v.intrinsic(np.stack([anno[i]['K'] for i in ids])) + for key,stem,n,unit in [('xyz','xyz',3,'m'),('uv_vis','uv',2,'pixel')]: + a=np.stack([np.asarray(anno[i][key])[...,:n].reshape(2,21,n)[:,order] for i in ids]);v.array('keypoints_'+stem,'annotation/keypoints/'+stem+'.pt','keypoints/'+stem+'/v1',a,np.ones((t,2,21),bool),['T','hand','joint','coordinate'],unit=unit,keypoint_schema='rhd21/v1',coordinate_frame='camera' if n==3 else 'rgb_image',method='Keep both supplied hands including invisible points; reorder tip-to-palm to registered proximal-to-tip order',source_index_map=order) + vis=np.stack([np.asarray(anno[i]['uv_vis'])[:,2].reshape(2,21)[:,order].astype(bool) for i in ids]);tensor(v.p/'annotation/keypoints/visibility.pt',vis) + attribute={'data_ref':'annotation/keypoints/visibility.pt','axes':['T','hand','joint'],'dtype':'bool','visibility_type':'bool','meaning':'source per-keypoint visibility','valid':True,'provenance':{'kind':'format_conversion','method':'native uv_vis visibility reordered with coordinates'},'source_locator':v.source} + for k in ['keypoints_xyz','keypoints_uv']:v.m['components'][k]['attributes']={'visibility':attribute} + deps=[];masks=[];mapping=[] + for fi,i in enumerate(ids): + a=np.asarray(Image.open(io.BytesIO(z.read(f'{prefix}/depth/{i:05d}.png'))),dtype=np.uint16);code=a[:,:,0]*256+a[:,:,1];deps.append(code.astype(np.float32)/65535*5) + mask=np.asarray(Image.open(io.BytesIO(z.read(f'{prefix}/mask/{i:05d}.png')))).astype(np.uint16);assert mask.max()<=33;mask[mask==0]=65534;masks.append(mask) + mapping.append({'frame_index':fi,'labels':[{'mask_value':int(c),'category_id':'background' if c==65534 else ('person' if c==1 else 'hand'),'entity_id':None if c in [65534,1] else ('hand_left' if c<=17 else 'hand_right'),'part_id':None,'source_instance_id':0 if c==65534 else int(c),'source_attributes':{'native_region_code':0 if c==65534 else int(c)}} for c in np.unique(mask)]}) + depth=np.stack(deps).astype('>16).astype('=2)&(masks[j]<=17)]=[255,90,70];colored[(masks[j]>=18)&(masks[j]<=33)]=[30,180,255];active=colored.any(-1);seg[active]=(0.5*seg[active]+0.5*colored[active]).astype(np.uint8) + kpic=original.copy();ppic=original.copy() + for hand,color in [(0,(255,90,70)),(1,(30,180,255))]: + for joint in range(21): + x,y=uv[j,hand,joint];px,py=projected[j,hand,joint] + if abs(x)<10000 and abs(y)<10000:cv2.circle(kpic,(round(float(x)),round(float(y))),3,color,-1 if vis[j,hand,joint] else 1) + if abs(px)<10000 and abs(py)<10000:cv2.circle(ppic,(round(float(px)),round(float(py))),3,color,1) + dep=back[j];lo,hi=np.percentile(dep,[2,98]);display=np.clip((dep-lo)/max(hi-lo,1e-6),0,1);depthpic=cv2.cvtColor(cv2.applyColorMap((display*255).astype(np.uint8),cv2.COLORMAP_VIRIDIS),cv2.COLOR_BGR2RGB) + canvas=Image.new('RGB',(1600,346),'white');draw=ImageDraw.Draw(canvas) + for c,(a,label) in enumerate(zip([original,seg,kpic,ppic,depthpic],['RGB','Segmentation: L red / R blue','Native UV: hollow=invisible','XYZ projected with K','Z depth: per-image contrast'])):canvas.paste(Image.fromarray(a),(c*320,26));draw.text((c*320+4,6),label,fill='black') + name=f'{split}_{i:05d}.png';canvas.save(out/name);cards.append(f'

{split}/{i:05d}

Source visible joints: {int(vis[j].sum())}/42. Shard {html.escape(view)}, frame {indices[j]}. Depth display range: {lo:.3f}–{hi:.3f} m.

') + + save(out/'samples.json',{'seed':seed,'sampling':'12 samples without replacement per official split from all 43986 output frames; sorted populations, Python random.Random','counts':counts,'human_review':'pending','samples':records}) + page='RHD 全量随机抽查

RHD 全量产物随机抽查:24 张

直接从全量产物读取,训练与评估各随机12张;种子20260918。分层等额抽样,不能据此估计总体错误率。RGB、mask及深度重新与 raw 对比通过,人工确认待完成。

依次为 RGB、左右手分割、原生 UV(空心=不可见)、XYZ 投影、逐图拉伸的 z 深度。颜色:红左手、蓝右手。

'+''.join(cards) + (out/'index.html').write_text(page,encoding='utf8') + (out/'REPORT.md').write_text('# RHD 全量随机抽查\n\n[离线预览](index.html) · [抽样清单](samples.json)\n\n全量 43,986 张,训练与评估各随机选 12 张;分层等额、固定种子20260918,无放回抽样。直接读取已完成的分片,不复用试点。所选 RGB、mask 和 float32 深度逐值/逐比特与 raw 对应数据匹配。\n\n**人工确认待完成,未上传。** 检查左右手身份、分割轮廓、UV/XYZ投影及深度;本报告不替代全量数值验证。\n',encoding='utf8') + print(out/'index.html',flush=True) +if __name__=='__main__':main() diff --git a/RHD/shared-v1.1/script/v1_0_snapshot/script/rhd_common.py b/RHD/shared-v1.1/script/v1_0_snapshot/script/rhd_common.py new file mode 100644 index 0000000000000000000000000000000000000000..cc6c329d6f958dc3d7a312d6ee0ba9edf5615c7b --- /dev/null +++ b/RHD/shared-v1.1/script/v1_0_snapshot/script/rhd_common.py @@ -0,0 +1,135 @@ +"""Shared helpers for the published RHD shared-v1.0 tools.""" +from pathlib import Path +import codecs, collections, hashlib, io, json, pickle, subprocess + +import imageio_ffmpeg +import numpy as np +import torch + +SCRIPT_DIR = Path(__file__).resolve().parent +RELEASE_ROOT = SCRIPT_DIR.parent +DATASET_ROOT = RELEASE_ROOT.parent +RAW_ROOT = DATASET_ROOT / "raw" / "data" +TMP_ROOT = DATASET_ROOT / "tmp" / "rhd-tools" +FFMPEG = imageio_ffmpeg.get_ffmpeg_exe() +FF = FFMPEG + +def load(path): + return json.loads(Path(path).read_text(encoding="utf-8")) + +def save(path, value): + path = Path(path); path.parent.mkdir(parents=True, exist_ok=True) + tmp = path.with_suffix(path.suffix + ".tmp") + tmp.write_text(json.dumps(value, ensure_ascii=False, indent=2, allow_nan=False), encoding="utf-8") + tmp.replace(path) + +def write_jsonl(path, rows): + path = Path(path); path.parent.mkdir(parents=True, exist_ok=True) + path.write_text("".join(json.dumps(x, ensure_ascii=False, allow_nan=False) + "\n" for x in rows), encoding="utf-8") + +def save_tensor(path, value): + path = Path(path); path.parent.mkdir(parents=True, exist_ok=True) + torch.save(torch.as_tensor(np.asarray(value).copy()), path) + +lines = write_jsonl +tensor = save_tensor + +def ffmpeg(args, data=None): + result = subprocess.run([FFMPEG, "-v", "error", "-y", *map(str, args)], input=data, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + if result.returncode: + raise RuntimeError(result.stderr.decode(errors="replace")) + return result.stdout + +def storage(profile, codec, pixel_format, size, source_lossy, parameters): + version = ffmpeg(["-version"]).decode().splitlines()[0] + return {"profile": profile, "codec": codec, "pixel_format": pixel_format, + "encoded_size": size, "source_lossy": source_lossy, + "decoder": version, "encoder_parameters": parameters} + +class RestrictedUnpickler(pickle.Unpickler): + def find_class(self, module, name): + allowed = { + ("numpy.core.multiarray", "_reconstruct"): np.core.multiarray._reconstruct, + ("numpy._core.multiarray", "_reconstruct"): np.core.multiarray._reconstruct, + ("numpy", "ndarray"): np.ndarray, ("numpy", "dtype"): np.dtype, + ("numpy.core.numeric", "_frombuffer"): np.core.numeric._frombuffer, + ("numpy._core.numeric", "_frombuffer"): np.core.numeric._frombuffer, + ("_codecs", "encode"): codecs.encode, + ("collections", "OrderedDict"): collections.OrderedDict, + } + if (module, name) not in allowed: + raise pickle.UnpicklingError(f"Unsupported class: {module}.{name}") + return allowed[(module, name)] + +Restricted = RestrictedUnpickler + +class View: + def __init__(self, dataset, sequence, camera, frame_ids, size, source, kind="image", split="unknown"): + assert dataset == "RHD" and camera == "camera" and kind == "image" + self.root = RELEASE_ROOT + self.path = RELEASE_ROOT / "data" / sequence / camera + self.path.mkdir(parents=True, exist_ok=True) + self.count = len(frame_ids) + archive = Path(source["archive"]).name + self.source = dict(source) + self.checks = [] + self.meta = { + "schema_version": "hand-warehouse/1.0", "dataset_id": "RHD", + "release_id": "shared-v1.0", "sequence_id": sequence, "camera_id": "camera", + "sample_type": "image", "num_frames": self.count, + "hand_slots": ["left", "right"], "split": split, + "split_scheme": "RHD_official_training_evaluation", + "split_source_locator": {"archive": "raw/data/" + archive, "member_prefix": split + "/"}, + "sampling": {"type": "independent", "source_fps": None, "frames_ref": "camera/frames.jsonl", + "shard_max_images": 512, + "selection": "all source independent images sorted by source ID"}, + "camera": {"model": "unknown", "schema_id": None, "image_size": size}, + "components": {}, "storage_revision": "lossless-video-2026-09-18"} + self.frames = [{"frame_index": i, "source_frame_id": str(fid), "timestamp_ns": None, + "clock_domain": None, "source_locator": {**self.source, "source_frame_id": str(fid)}} + for i, fid in enumerate(frame_ids)] + + @property + def p(self): return self.path + @property + def T(self): return self.count + @property + def m(self): return self.meta + + def add(self, name, ref, schema, axes, valid, method="source values retained", **metadata): + valid_ref = Path(ref).with_name(Path(ref).stem + "_valid.pt").as_posix() + save_tensor(self.path / valid_ref, valid) + self.meta["components"][name] = { + "available": True, "schema_id": schema, "data_ref": ref, "axes": axes, + "valid_ref": valid_ref, "valid_axes": axes[:np.asarray(valid).ndim], + "provenance": {"kind": "format_conversion", "method": method}, + "source_locator": dict(self.source), **metadata} + + def array(self, name, ref, schema, value, valid, axes, **metadata): + value = np.asarray(value, np.float32).copy(); valid = np.asarray(valid, bool) + assert value.shape[:valid.ndim] == valid.shape and value.shape[0] == self.count + assert np.isfinite(value[valid]).all() + value[~valid] = np.nan; save_tensor(self.path / ref, value) + self.add(name, ref, schema, axes, valid, **metadata) + restored = torch.load(self.path / ref, map_location="cpu", weights_only=True).numpy() + assert np.array_equal(restored, value, equal_nan=True) + self.checks.append({"test": "tensor_serialization_exact", "file": ref, + "shape": list(value.shape), "valid_count": int(valid.sum())}) + + def intrinsic(self, value): + self.meta["camera"].update(model="pinhole", schema_id="camera/pinhole/v1") + self.array("intrinsic", "camera/intrinsic.pt", "camera/pinhole/v1", value, + np.ones(self.count, bool), ["T", "row", "column"]) + + def finish(self): + write_jsonl(self.path / "camera/frames.jsonl", self.frames) + save(self.path / "metainfo.json", self.meta) + save(TMP_ROOT / "checks" / f'{self.meta["sequence_id"]}__camera.checks.json', + {"checks": self.checks, "frames": self.count, "input": self.source}) + +def sha256(path): + h = hashlib.sha256() + with Path(path).open("rb") as stream: + for block in iter(lambda: stream.read(8 << 20), b""): h.update(block) + return h.hexdigest() + diff --git a/RHD/shared-v1.1/script/v1_0_snapshot/script/validate_rhd.py b/RHD/shared-v1.1/script/v1_0_snapshot/script/validate_rhd.py new file mode 100644 index 0000000000000000000000000000000000000000..f0b84ae7f3b9ccba5a45131479c54eb67b92b3c4 --- /dev/null +++ b/RHD/shared-v1.1/script/v1_0_snapshot/script/validate_rhd.py @@ -0,0 +1,46 @@ +"""Validate the adjacent RHD shared-v1.0 tree and fingerprint its current bytes.""" +import argparse, hashlib, json +import numpy as np +import torch +from rhd_common import RELEASE_ROOT, TMP_ROOT, load, save + +def main(): + argparse.ArgumentParser(description='Validate the adjacent RHD shared-v1.0 release.').parse_args() + registry=load(RELEASE_ROOT/'doc/schema.json');counts={'training':0,'evaluation':0};seen=set();views=0 + for path in sorted((RELEASE_ROOT/'data').glob('*/*/metainfo.json')): + meta=load(path);base=path.parent;total=meta['num_frames'];views+=1 + for key in ['schema_version','view_type','split_scheme','split_source_locator','sampling','camera','components']:assert key in meta,(path,key) + assert meta['schema_version']=='hand-warehouse/1.0' and meta['dataset_id']=='RHD' and meta['view_type']=='exo' + frames=[json.loads(line) for line in (base/'camera/frames.jsonl').read_text(encoding='utf-8').splitlines()] + assert len(frames)==total + for index,frame in enumerate(frames): + assert frame['frame_index']==index and frame['sample_id'] not in seen + seen.add(frame['sample_id']);split=frame['sample_id'].split('/')[1];counts[split]+=1 + assert frame['source_locator']['annotation_index']==int(frame['source_frame_id']) + for name,component in meta['components'].items(): + spec=registry['components'][component['schema_id']] + for key in ['available','data_ref','valid_ref','axes','valid_axes','provenance','source_locator',*spec.get('required_metadata',[])]:assert key in component,(path,name,key) + assert (base/component['data_ref']).is_file() and (base/component['valid_ref']).is_file() + if component['data_ref'].endswith('.pt'): + value=torch.load(base/component['data_ref'],weights_only=True).numpy();valid=torch.load(base/component['valid_ref'],weights_only=True).numpy() + assert value.dtype==np.float32 and valid.dtype==bool + assert list(value.shape)==[total if axis=='T' else axis for axis in spec['shape']] + assert list(valid.shape)==[total if axis=='T' else axis for axis in spec['valid_shape']] + assert np.isfinite(value[valid]).all() + else: + assert component['storage']['profile'] in spec['allowed_storage_profiles'] + for key in registry['video_metadata']['required']:assert key in component['storage'],(name,key) + for attribute in component.get('attributes',{}).values():assert (base/attribute['data_ref']).is_file() + assert counts=={'training':41258,'evaluation':2728},counts + result={'passed':True,'views':views,'counts':counts,'schema_version':'hand-warehouse/1.0','scope':'current content and layout; does not independently prove official source correctness or visual quality'} + save(TMP_ROOT/'acceptance.json',result);manifest=[] + for path in sorted(RELEASE_ROOT.rglob('*')): + if not path.is_file() or '.cache' in path.parts:continue + digest=hashlib.sha256() + with path.open('rb') as stream: + for block in iter(lambda:stream.read(8<<20),b''):digest.update(block) + manifest.append({'path':path.relative_to(RELEASE_ROOT).as_posix(),'size':path.stat().st_size,'sha256':digest.hexdigest()}) + save(TMP_ROOT/'files.sha256.json',{'scope':result['scope'],'files':manifest,'bytes':sum(x['size'] for x in manifest)}) + print(json.dumps(result,ensure_ascii=False)) + +if __name__=='__main__':main()