rpx-benchmark 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. rpx_benchmark-0.3.0/LICENSE +21 -0
  2. rpx_benchmark-0.3.0/PKG-INFO +268 -0
  3. rpx_benchmark-0.3.0/README.md +177 -0
  4. rpx_benchmark-0.3.0/pyproject.toml +247 -0
  5. rpx_benchmark-0.3.0/rpx_benchmark/__init__.py +286 -0
  6. rpx_benchmark-0.3.0/rpx_benchmark/adapters/__init__.py +59 -0
  7. rpx_benchmark-0.3.0/rpx_benchmark/adapters/base.py +1077 -0
  8. rpx_benchmark-0.3.0/rpx_benchmark/adapters/batched_depth.py +344 -0
  9. rpx_benchmark-0.3.0/rpx_benchmark/adapters/batched_multimodal.py +368 -0
  10. rpx_benchmark-0.3.0/rpx_benchmark/adapters/depth/__init__.py +32 -0
  11. rpx_benchmark-0.3.0/rpx_benchmark/adapters/depth/skeletons.py +103 -0
  12. rpx_benchmark-0.3.0/rpx_benchmark/adapters/depth_scaffold.py +380 -0
  13. rpx_benchmark-0.3.0/rpx_benchmark/adapters/video_depth/__init__.py +31 -0
  14. rpx_benchmark-0.3.0/rpx_benchmark/adapters/video_depth/skeletons.py +84 -0
  15. rpx_benchmark-0.3.0/rpx_benchmark/api.py +599 -0
  16. rpx_benchmark-0.3.0/rpx_benchmark/ar_pose_audit.py +850 -0
  17. rpx_benchmark-0.3.0/rpx_benchmark/box_upload.py +576 -0
  18. rpx_benchmark-0.3.0/rpx_benchmark/cell_log.py +554 -0
  19. rpx_benchmark-0.3.0/rpx_benchmark/cleanup.py +173 -0
  20. rpx_benchmark-0.3.0/rpx_benchmark/cli_ux.py +616 -0
  21. rpx_benchmark-0.3.0/rpx_benchmark/data/__init__.py +57 -0
  22. rpx_benchmark-0.3.0/rpx_benchmark/data/clip_dataset.py +251 -0
  23. rpx_benchmark-0.3.0/rpx_benchmark/data/esd.py +899 -0
  24. rpx_benchmark-0.3.0/rpx_benchmark/data/esd_scoring.py +784 -0
  25. rpx_benchmark-0.3.0/rpx_benchmark/data/features.py +201 -0
  26. rpx_benchmark-0.3.0/rpx_benchmark/data/hf_bridge.py +294 -0
  27. rpx_benchmark-0.3.0/rpx_benchmark/data/load.py +125 -0
  28. rpx_benchmark-0.3.0/rpx_benchmark/data/torch_dataloader.py +85 -0
  29. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/__init__.py +138 -0
  30. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/cli.py +797 -0
  31. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/croissant.py +113 -0
  32. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/croissant_template.json +140 -0
  33. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/dataset_card.py +345 -0
  34. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/downloader.py +376 -0
  35. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/ego_layout.py +275 -0
  36. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/lossless_convert.py +609 -0
  37. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/manifest.py +503 -0
  38. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/mock.py +282 -0
  39. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/packer.py +488 -0
  40. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/recipes.py +261 -0
  41. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/scanner.py +231 -0
  42. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/split_manifests.py +717 -0
  43. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/staging.py +198 -0
  44. rpx_benchmark-0.3.0/rpx_benchmark/dataset_hub/uploader.py +245 -0
  45. rpx_benchmark-0.3.0/rpx_benchmark/decode_contracts.py +189 -0
  46. rpx_benchmark-0.3.0/rpx_benchmark/deployment.py +687 -0
  47. rpx_benchmark-0.3.0/rpx_benchmark/determinism.py +153 -0
  48. rpx_benchmark-0.3.0/rpx_benchmark/evaluators.py +372 -0
  49. rpx_benchmark-0.3.0/rpx_benchmark/exceptions.py +215 -0
  50. rpx_benchmark-0.3.0/rpx_benchmark/hub.py +716 -0
  51. rpx_benchmark-0.3.0/rpx_benchmark/jedi.py +261 -0
  52. rpx_benchmark-0.3.0/rpx_benchmark/loader.py +584 -0
  53. rpx_benchmark-0.3.0/rpx_benchmark/logging_utils.py +218 -0
  54. rpx_benchmark-0.3.0/rpx_benchmark/metrics/__init__.py +76 -0
  55. rpx_benchmark-0.3.0/rpx_benchmark/metrics/depth.py +163 -0
  56. rpx_benchmark-0.3.0/rpx_benchmark/metrics/depth_alignment.py +282 -0
  57. rpx_benchmark-0.3.0/rpx_benchmark/metrics/depth_paper.py +234 -0
  58. rpx_benchmark-0.3.0/rpx_benchmark/metrics/depth_robotics.py +306 -0
  59. rpx_benchmark-0.3.0/rpx_benchmark/metrics/depth_temporal.py +768 -0
  60. rpx_benchmark-0.3.0/rpx_benchmark/metrics/detection.py +60 -0
  61. rpx_benchmark-0.3.0/rpx_benchmark/metrics/grounding.py +49 -0
  62. rpx_benchmark-0.3.0/rpx_benchmark/metrics/keypoints.py +59 -0
  63. rpx_benchmark-0.3.0/rpx_benchmark/metrics/pose.py +48 -0
  64. rpx_benchmark-0.3.0/rpx_benchmark/metrics/registry.py +347 -0
  65. rpx_benchmark-0.3.0/rpx_benchmark/metrics/segmentation.py +44 -0
  66. rpx_benchmark-0.3.0/rpx_benchmark/metrics/sparse_depth.py +52 -0
  67. rpx_benchmark-0.3.0/rpx_benchmark/metrics/specs.py +349 -0
  68. rpx_benchmark-0.3.0/rpx_benchmark/metrics/tracking.py +53 -0
  69. rpx_benchmark-0.3.0/rpx_benchmark/metrics/tracking_paper.py +178 -0
  70. rpx_benchmark-0.3.0/rpx_benchmark/metrics/video_depth.py +352 -0
  71. rpx_benchmark-0.3.0/rpx_benchmark/model_profiler.py +340 -0
  72. rpx_benchmark-0.3.0/rpx_benchmark/paper_depth_analysis.py +525 -0
  73. rpx_benchmark-0.3.0/rpx_benchmark/paper_tracking_analysis.py +413 -0
  74. rpx_benchmark-0.3.0/rpx_benchmark/phi.py +1129 -0
  75. rpx_benchmark-0.3.0/rpx_benchmark/phi_jedi_summary.py +460 -0
  76. rpx_benchmark-0.3.0/rpx_benchmark/pose_conventions.py +36 -0
  77. rpx_benchmark-0.3.0/rpx_benchmark/pose_metrics.py +538 -0
  78. rpx_benchmark-0.3.0/rpx_benchmark/pose_pairs.py +711 -0
  79. rpx_benchmark-0.3.0/rpx_benchmark/profiler.py +864 -0
  80. rpx_benchmark-0.3.0/rpx_benchmark/py.typed +0 -0
  81. rpx_benchmark-0.3.0/rpx_benchmark/reports.py +212 -0
  82. rpx_benchmark-0.3.0/rpx_benchmark/runner.py +667 -0
  83. rpx_benchmark-0.3.0/rpx_benchmark/schemas.py +340 -0
  84. rpx_benchmark-0.3.0/rpx_benchmark/tasks/__init__.py +119 -0
  85. rpx_benchmark-0.3.0/rpx_benchmark/tasks/_pipeline.py +340 -0
  86. rpx_benchmark-0.3.0/rpx_benchmark/tasks/_video_pipeline.py +581 -0
  87. rpx_benchmark-0.3.0/rpx_benchmark/tasks/detection.py +56 -0
  88. rpx_benchmark-0.3.0/rpx_benchmark/tasks/keypoint_matching.py +38 -0
  89. rpx_benchmark-0.3.0/rpx_benchmark/tasks/monocular_depth.py +45 -0
  90. rpx_benchmark-0.3.0/rpx_benchmark/tasks/registry.py +109 -0
  91. rpx_benchmark-0.3.0/rpx_benchmark/tasks/relative_pose.py +38 -0
  92. rpx_benchmark-0.3.0/rpx_benchmark/tasks/robot_vqa.py +496 -0
  93. rpx_benchmark-0.3.0/rpx_benchmark/tasks/robot_vqa_v2.py +436 -0
  94. rpx_benchmark-0.3.0/rpx_benchmark/tasks/segmentation.py +64 -0
  95. rpx_benchmark-0.3.0/rpx_benchmark/tasks/sparse_depth.py +37 -0
  96. rpx_benchmark-0.3.0/rpx_benchmark/tasks/tracking.py +38 -0
  97. rpx_benchmark-0.3.0/rpx_benchmark/tasks/video_depth.py +156 -0
  98. rpx_benchmark-0.3.0/rpx_benchmark/tasks/visual_grounding.py +37 -0
  99. rpx_benchmark-0.3.0/rpx_benchmark/tasks/vqa_generation.py +417 -0
  100. rpx_benchmark-0.3.0/rpx_benchmark/temporal_budget_sweep.py +367 -0
  101. rpx_benchmark-0.3.0/rpx_benchmark/video_loader.py +560 -0
  102. rpx_benchmark-0.3.0/rpx_benchmark/vqa/__init__.py +30 -0
  103. rpx_benchmark-0.3.0/rpx_benchmark/vqa/canonical.py +85 -0
  104. rpx_benchmark-0.3.0/rpx_benchmark/vqa/contract.py +352 -0
  105. rpx_benchmark-0.3.0/rpx_benchmark/vqa/evaluate.py +89 -0
  106. rpx_benchmark-0.3.0/rpx_benchmark/vqa/hub_rgb.py +347 -0
  107. rpx_benchmark-0.3.0/rpx_benchmark/vqa/metrics.py +276 -0
  108. rpx_benchmark-0.3.0/rpx_benchmark/vqa/outputs.py +378 -0
  109. rpx_benchmark-0.3.0/rpx_benchmark/vqa/prompts.py +309 -0
  110. rpx_benchmark-0.3.0/rpx_benchmark/vqa/roster.py +117 -0
  111. rpx_benchmark-0.3.0/rpx_benchmark/vqa/sampling.py +87 -0
  112. rpx_benchmark-0.3.0/rpx_benchmark.egg-info/PKG-INFO +268 -0
  113. rpx_benchmark-0.3.0/rpx_benchmark.egg-info/SOURCES.txt +213 -0
  114. rpx_benchmark-0.3.0/rpx_benchmark.egg-info/dependency_links.txt +1 -0
  115. rpx_benchmark-0.3.0/rpx_benchmark.egg-info/requires.txt +45 -0
  116. rpx_benchmark-0.3.0/rpx_benchmark.egg-info/top_level.txt +1 -0
  117. rpx_benchmark-0.3.0/setup.cfg +4 -0
  118. rpx_benchmark-0.3.0/tests/test_adapters.py +99 -0
  119. rpx_benchmark-0.3.0/tests/test_aggregate_tracking_performance.py +58 -0
  120. rpx_benchmark-0.3.0/tests/test_all_tasks_parity.py +65 -0
  121. rpx_benchmark-0.3.0/tests/test_ar_pose_audit.py +103 -0
  122. rpx_benchmark-0.3.0/tests/test_box_upload.py +547 -0
  123. rpx_benchmark-0.3.0/tests/test_budget_sweep.py +117 -0
  124. rpx_benchmark-0.3.0/tests/test_canonical_bridge.py +121 -0
  125. rpx_benchmark-0.3.0/tests/test_cell_log.py +238 -0
  126. rpx_benchmark-0.3.0/tests/test_cell_log_system_card.py +162 -0
  127. rpx_benchmark-0.3.0/tests/test_cleanup.py +164 -0
  128. rpx_benchmark-0.3.0/tests/test_clip_dataset.py +165 -0
  129. rpx_benchmark-0.3.0/tests/test_dataset_hub_cli_smoke.py +361 -0
  130. rpx_benchmark-0.3.0/tests/test_dataset_hub_croissant.py +110 -0
  131. rpx_benchmark-0.3.0/tests/test_dataset_hub_dataset_card.py +119 -0
  132. rpx_benchmark-0.3.0/tests/test_dataset_hub_downloader.py +246 -0
  133. rpx_benchmark-0.3.0/tests/test_dataset_hub_ego.py +276 -0
  134. rpx_benchmark-0.3.0/tests/test_dataset_hub_fault_proof.py +432 -0
  135. rpx_benchmark-0.3.0/tests/test_dataset_hub_format_dispatch.py +379 -0
  136. rpx_benchmark-0.3.0/tests/test_dataset_hub_integration.py +186 -0
  137. rpx_benchmark-0.3.0/tests/test_dataset_hub_lossless_convert.py +545 -0
  138. rpx_benchmark-0.3.0/tests/test_dataset_hub_manifest.py +163 -0
  139. rpx_benchmark-0.3.0/tests/test_dataset_hub_mock.py +133 -0
  140. rpx_benchmark-0.3.0/tests/test_dataset_hub_objects_meta.py +232 -0
  141. rpx_benchmark-0.3.0/tests/test_dataset_hub_packer.py +221 -0
  142. rpx_benchmark-0.3.0/tests/test_dataset_hub_recipes.py +88 -0
  143. rpx_benchmark-0.3.0/tests/test_dataset_hub_scanner.py +126 -0
  144. rpx_benchmark-0.3.0/tests/test_dataset_hub_staging.py +159 -0
  145. rpx_benchmark-0.3.0/tests/test_dataset_hub_uploader.py +150 -0
  146. rpx_benchmark-0.3.0/tests/test_dataset_hub_v2_integration.py +357 -0
  147. rpx_benchmark-0.3.0/tests/test_dataset_hub_workers.py +297 -0
  148. rpx_benchmark-0.3.0/tests/test_deployment.py +172 -0
  149. rpx_benchmark-0.3.0/tests/test_depth_adapter_scaffolds.py +170 -0
  150. rpx_benchmark-0.3.0/tests/test_depth_alignment_pooled.py +215 -0
  151. rpx_benchmark-0.3.0/tests/test_depth_log_range.py +99 -0
  152. rpx_benchmark-0.3.0/tests/test_depth_metrics.py +48 -0
  153. rpx_benchmark-0.3.0/tests/test_depth_paper_analysis.py +165 -0
  154. rpx_benchmark-0.3.0/tests/test_depth_paper_operator.py +61 -0
  155. rpx_benchmark-0.3.0/tests/test_depth_paper_protocol.py +281 -0
  156. rpx_benchmark-0.3.0/tests/test_depth_paper_staged.py +197 -0
  157. rpx_benchmark-0.3.0/tests/test_depth_robotics.py +108 -0
  158. rpx_benchmark-0.3.0/tests/test_depth_smoke_tools.py +603 -0
  159. rpx_benchmark-0.3.0/tests/test_depth_temporal.py +156 -0
  160. rpx_benchmark-0.3.0/tests/test_determinism.py +67 -0
  161. rpx_benchmark-0.3.0/tests/test_esd.py +715 -0
  162. rpx_benchmark-0.3.0/tests/test_esd_scoring.py +647 -0
  163. rpx_benchmark-0.3.0/tests/test_exceptions_and_logging.py +124 -0
  164. rpx_benchmark-0.3.0/tests/test_extract_vqa_benchmark_metrics.py +72 -0
  165. rpx_benchmark-0.3.0/tests/test_fe2e_adapter.py +152 -0
  166. rpx_benchmark-0.3.0/tests/test_frame_as_video_wrapper.py +194 -0
  167. rpx_benchmark-0.3.0/tests/test_hf_data.py +212 -0
  168. rpx_benchmark-0.3.0/tests/test_hub.py +342 -0
  169. rpx_benchmark-0.3.0/tests/test_jedi.py +239 -0
  170. rpx_benchmark-0.3.0/tests/test_loader_errors.py +109 -0
  171. rpx_benchmark-0.3.0/tests/test_loader_gt_paths.py +259 -0
  172. rpx_benchmark-0.3.0/tests/test_loader_pose_npy_dispatch.py +124 -0
  173. rpx_benchmark-0.3.0/tests/test_m3_hooks_and_profiler.py +195 -0
  174. rpx_benchmark-0.3.0/tests/test_make_numpy_video_depth_model.py +135 -0
  175. rpx_benchmark-0.3.0/tests/test_mask_canonicalization.py +29 -0
  176. rpx_benchmark-0.3.0/tests/test_metrics_other.py +263 -0
  177. rpx_benchmark-0.3.0/tests/test_metrics_registry.py +106 -0
  178. rpx_benchmark-0.3.0/tests/test_new_task_pipelines.py +383 -0
  179. rpx_benchmark-0.3.0/tests/test_paper_aliases.py +41 -0
  180. rpx_benchmark-0.3.0/tests/test_phase_cell_recording.py +125 -0
  181. rpx_benchmark-0.3.0/tests/test_phi.py +451 -0
  182. rpx_benchmark-0.3.0/tests/test_pipeline.py +215 -0
  183. rpx_benchmark-0.3.0/tests/test_pose_comprehensive_metrics.py +176 -0
  184. rpx_benchmark-0.3.0/tests/test_pose_csv_dedup.py +123 -0
  185. rpx_benchmark-0.3.0/tests/test_pose_metrics_protocol.py +122 -0
  186. rpx_benchmark-0.3.0/tests/test_pose_models_registry.py +309 -0
  187. rpx_benchmark-0.3.0/tests/test_pose_pairs_protocol.py +132 -0
  188. rpx_benchmark-0.3.0/tests/test_roofline_profiler.py +216 -0
  189. rpx_benchmark-0.3.0/tests/test_schemas.py +147 -0
  190. rpx_benchmark-0.3.0/tests/test_se3_reproject.py +85 -0
  191. rpx_benchmark-0.3.0/tests/test_segmentation_pipeline.py +214 -0
  192. rpx_benchmark-0.3.0/tests/test_split_manifests.py +232 -0
  193. rpx_benchmark-0.3.0/tests/test_stat_utils.py +126 -0
  194. rpx_benchmark-0.3.0/tests/test_task_registry.py +53 -0
  195. rpx_benchmark-0.3.0/tests/test_temporal_metrics_extended.py +257 -0
  196. rpx_benchmark-0.3.0/tests/test_tracking.py +208 -0
  197. rpx_benchmark-0.3.0/tests/test_tracking_docker_matrix.py +295 -0
  198. rpx_benchmark-0.3.0/tests/test_tracking_model_registry.py +319 -0
  199. rpx_benchmark-0.3.0/tests/test_tracking_paper.py +34 -0
  200. rpx_benchmark-0.3.0/tests/test_tracking_paper_analysis.py +90 -0
  201. rpx_benchmark-0.3.0/tests/test_tracking_sam2_gate.py +459 -0
  202. rpx_benchmark-0.3.0/tests/test_tracking_text_adapters.py +205 -0
  203. rpx_benchmark-0.3.0/tests/test_tracking_text_vocab_runtime.py +55 -0
  204. rpx_benchmark-0.3.0/tests/test_user_workflows.py +105 -0
  205. rpx_benchmark-0.3.0/tests/test_video_depth_native_alignment.py +55 -0
  206. rpx_benchmark-0.3.0/tests/test_video_depth_runner.py +463 -0
  207. rpx_benchmark-0.3.0/tests/test_video_depth_silog_fscore.py +186 -0
  208. rpx_benchmark-0.3.0/tests/test_video_depth_skeletons.py +203 -0
  209. rpx_benchmark-0.3.0/tests/test_video_loader_skeleton.py +360 -0
  210. rpx_benchmark-0.3.0/tests/test_vqa_custom_model.py +124 -0
  211. rpx_benchmark-0.3.0/tests/test_vqa_generation.py +208 -0
  212. rpx_benchmark-0.3.0/tests/test_vqa_incontext.py +401 -0
  213. rpx_benchmark-0.3.0/tests/test_vqa_persistent_engine_scripts.py +66 -0
  214. rpx_benchmark-0.3.0/tests/test_vqa_smoke.py +1081 -0
  215. rpx_benchmark-0.3.0/tests/test_zipdepth_adapter.py +133 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Intelligent Robotics and Vision Lab at the University of Texas at Dallas
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,268 @@
1
+ Metadata-Version: 2.4
2
+ Name: rpx-benchmark
3
+ Version: 0.3.0
4
+ Summary: RPX — benchmark harness for evaluating robot-perception models on real-world RGB-D data
5
+ Author: RPX Team
6
+ Maintainer: RPX Team
7
+ License: MIT License
8
+
9
+ Copyright (c) 2025 Intelligent Robotics and Vision Lab at the University of Texas at Dallas
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ Project-URL: Homepage, https://github.com/IRVLUTD/RPX
30
+ Project-URL: Documentation, https://irvlutd.github.io/RPX/toolkit-docs/
31
+ Project-URL: Repository, https://github.com/IRVLUTD/RPX
32
+ Project-URL: Issues, https://github.com/IRVLUTD/RPX/issues
33
+ Keywords: robot-learning,perception,rgb-d,benchmark,robotics,embodied-ai,huggingface,deployment-readiness
34
+ Classifier: Development Status :: 4 - Beta
35
+ Classifier: Intended Audience :: Developers
36
+ Classifier: Intended Audience :: Science/Research
37
+ Classifier: License :: OSI Approved :: MIT License
38
+ Classifier: Operating System :: POSIX :: Linux
39
+ Classifier: Operating System :: MacOS
40
+ Classifier: Operating System :: Microsoft :: Windows
41
+ Classifier: Programming Language :: Python :: 3
42
+ Classifier: Programming Language :: Python :: 3 :: Only
43
+ Classifier: Programming Language :: Python :: 3.10
44
+ Classifier: Programming Language :: Python :: 3.11
45
+ Classifier: Programming Language :: Python :: 3.12
46
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
47
+ Classifier: Topic :: Scientific/Engineering :: Image Recognition
48
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
49
+ Classifier: Typing :: Typed
50
+ Requires-Python: >=3.10
51
+ Description-Content-Type: text/markdown
52
+ License-File: LICENSE
53
+ Requires-Dist: numpy>=1.24
54
+ Requires-Dist: Pillow>=9.0
55
+ Requires-Dist: rich>=13
56
+ Requires-Dist: scipy>=1.10
57
+ Provides-Extra: hub
58
+ Requires-Dist: huggingface_hub[hf_xet]>=0.26; extra == "hub"
59
+ Requires-Dist: pyarrow>=14; extra == "hub"
60
+ Provides-Extra: hf-datasets
61
+ Requires-Dist: datasets>=2.18; extra == "hf-datasets"
62
+ Requires-Dist: huggingface_hub>=0.22; extra == "hf-datasets"
63
+ Provides-Extra: schemas
64
+ Requires-Dist: pydantic>=2.5; extra == "schemas"
65
+ Provides-Extra: esd-fast
66
+ Requires-Dist: opencv-python>=4.8; extra == "esd-fast"
67
+ Provides-Extra: ar-pose-audit
68
+ Requires-Dist: opencv-contrib-python-headless>=4.8; extra == "ar-pose-audit"
69
+ Requires-Dist: matplotlib>=3.7; extra == "ar-pose-audit"
70
+ Provides-Extra: analysis
71
+ Requires-Dist: pandas>=2.0; extra == "analysis"
72
+ Requires-Dist: scikit-learn>=1.3; extra == "analysis"
73
+ Requires-Dist: scipy>=1.10; extra == "analysis"
74
+ Requires-Dist: matplotlib>=3.7; extra == "analysis"
75
+ Provides-Extra: viz
76
+ Requires-Dist: rerun-sdk>=0.26; extra == "viz"
77
+ Requires-Dist: matplotlib>=3.7; extra == "viz"
78
+ Requires-Dist: pillow>=10; extra == "viz"
79
+ Requires-Dist: tqdm>=4.66; extra == "viz"
80
+ Provides-Extra: dev
81
+ Requires-Dist: numpy<2.5; extra == "dev"
82
+ Requires-Dist: pytest>=7; extra == "dev"
83
+ Requires-Dist: pytest-cov>=5; extra == "dev"
84
+ Requires-Dist: ruff>=0.4; extra == "dev"
85
+ Requires-Dist: black>=24.8; extra == "dev"
86
+ Requires-Dist: mypy<2.0,>=1.11; extra == "dev"
87
+ Requires-Dist: pre-commit>=3.8; extra == "dev"
88
+ Requires-Dist: pydantic>=2.5; extra == "dev"
89
+ Requires-Dist: types-requests; extra == "dev"
90
+ Dynamic: license-file
91
+
92
+ # RPX Benchmark Toolkit
93
+
94
+ Load RPX data, run reference or custom perception models, and compare accuracy,
95
+ scene-change robustness and compute cost with Python 3.10–3.12:
96
+
97
+ ```bash
98
+ python -m pip install 'rpx-benchmark[hub,schemas]'
99
+ git clone https://github.com/IRVLUTD/RPX.git
100
+ cd RPX
101
+ python benchmark/examples/run_depth.py
102
+ ```
103
+
104
+ The example is a CPU-only installation check using synthetic data. Reference
105
+ checkpoints need their own runtime, weights and GPU resources. The package
106
+ installation alone does not install every model's dependencies.
107
+
108
+ For toolkit development, replace the PyPI install with an editable source
109
+ install from the repository root:
110
+
111
+ ```bash
112
+ python -m pip install -e './benchmark[hub,schemas]'
113
+ ```
114
+
115
+ ## Reference models
116
+
117
+ Use isolated environments because model dependencies conflict. The linked
118
+ READMEs contain build, checkpoint, cache and execution instructions. Run a
119
+ model's small inference gate before a full benchmark, and retain its dataset
120
+ revision and runtime metadata with the results.
121
+
122
+ | Evaluation | Models and commands | Environment |
123
+ |---|---|---|
124
+ | Image depth | Ten canonical models, including DA3, DA-V2 Large, Depth Pro, UniDepth V2, Metric3D V2, MoGe-2, HyDen, Lotus 2, FE2E and ZipDepth; `scripts/run_depth.py` | [Depth](../docker/depth-smoke/README.md), with dedicated [FE2E](../docker/depth-fe2e/README.md) and [ZipDepth](../docker/depth-zipdepth/README.md) overlays |
125
+ | Video depth | DA3, DepthCrafter, Video Depth Anything, ChronoDepth, RollingDepth, DVD, GEMDepth, ViGeo, MonST3R and VGGT; `scripts/run_video_depth.py` | [Depth](../docker/depth-smoke/README.md), [DVD](../docker/depth-dvd/README.md), [GEMDepth](../docker/depth-gemdepth/README.md) |
126
+ | Relative pose | VGGT, DA3, CUT3R, DUSt3R, MASt3R, MUSt3R, Reloc3r, Pi3X, Fast3R and MonST3R; additional baseline adapters are retained | [Relative pose](../docker/rcpe-smoke/README.md) |
127
+ | Tracking | Mask-, box- and text-initialized adapters, with MOS and Ego protocols; `scripts/run_tracking.py` and `scripts/run_tracking_paper.py` | [Tracking](../docker/tracking-smoke/README.md) |
128
+ | VQA / bbox grounding | Twenty roster entries with native Transformers or vLLM backends, one- and two-image inputs; `scripts/run_vqa_benchmark.py` | [VQA](../docker/vqa-smoke/README.md) |
129
+
130
+ For segmentation, detection, open-vocabulary detection, generic grounding,
131
+ sparse depth and keypoint matching, the toolkit supplies the callable APIs,
132
+ loaders and evaluators below. There is no bundled full pretrained-model sweep
133
+ for those tasks. Mask annotation models produce dataset labels; they are not
134
+ a substitute for a benchmark adapter.
135
+
136
+ Example, **inside the selected model environment**, from `benchmark/`:
137
+
138
+ ```bash
139
+ python scripts/run_depth.py --model da-v2-large --split easy \
140
+ --repo IRVLUTD/RPX --device cuda --max-samples 10 \
141
+ --output-dir ../rpx_results/da-v2-large/easy-smoke
142
+ python scripts/run_video_depth.py --help
143
+ python scripts/run_relative_pose.py --help
144
+ python scripts/run_tracking.py --help
145
+ ```
146
+
147
+ `python benchmark/scripts/run_depth_smoke_matrix.py --list-models` lists the
148
+ canonical depth roster without loading weights. Docker matrix files and adapter
149
+ registries are the source of model identifiers and pinned checkpoint revisions.
150
+ Model availability and successful inference are different checks: the offline
151
+ suite tests adapters with controlled inputs, while GPU gates run real weights.
152
+
153
+ ## Bring your own model
154
+
155
+ Wrap a callable and pass it to a public task runner. The callable may invoke a
156
+ local model or your inference service; convert its response to the documented
157
+ NumPy output. Authentication and service configuration belong in your wrapper,
158
+ not in committed source.
159
+
160
+ ```python
161
+ import rpx_benchmark as rpx
162
+ from my_model import predict_depth # your implementation: RGB -> depth in metres
163
+
164
+ model = rpx.make_numpy_depth_model(predict_depth, name="my-depth")
165
+ result, report, paths = rpx.run_monocular_depth(
166
+ rpx.MonocularDepthRunConfig(
167
+ model=model,
168
+ split="easy",
169
+ repo_id="IRVLUTD/RPX",
170
+ revision=rpx.DEFAULT_REVISION,
171
+ device="cpu", # configure your callable's actual device yourself
172
+ output_dir="rpx_results/my-depth/easy",
173
+ )
174
+ )
175
+ print(result.aggregated)
176
+ print(paths["json"])
177
+ ```
178
+
179
+ For a local dataset, supply `manifest_path="/data/manifests/monocular_depth/easy.json"`
180
+ to skip downloading. Manifests name a task and dataset root and list samples
181
+ with modality paths, scene, phase and difficulty. Local examples and all ten
182
+ public workflows are exercised in [tests/test_user_workflows.py](tests/test_user_workflows.py).
183
+ For relative depth, set `depth_output_kind="relative"` on the factory; never
184
+ label arbitrary relative values as metric depth.
185
+
186
+ | Task | Factory (under `rpx`) | Callable input → output | Public runner |
187
+ |---|---|---|---|
188
+ | Monocular depth | `make_numpy_depth_model` | RGB `(H,W,3)` → depth `(H,W)` | `run_monocular_depth` |
189
+ | Video depth | `make_numpy_video_depth_model` | RGB `(T,H,W,3)` → depth `(T,H,W)` | `run_video_depth` |
190
+ | Segmentation | `make_numpy_mask_model` | RGB → integer instance mask; 0 is background | `run_segmentation` |
191
+ | Detection | `make_numpy_detection_model` | RGB → boxes, scores, labels | `run_object_detection` |
192
+ | Open-vocabulary detection | `make_numpy_detection_model(..., task=rpx.TaskType.OPEN_VOCAB_DETECTION)` | RGB → boxes, scores, labels; bind your vocabulary in the callable | `run_open_vocab_detection` |
193
+ | Tracking | `make_numpy_tracking_model` | RGB → tracks with persistent IDs and boxes | `run_object_tracking` |
194
+ | Grounding | `make_numpy_grounding_model` | RGB, text → boxes and scores | `run_visual_grounding` |
195
+ | Relative pose | `make_numpy_pose_model` | RGB A, RGB B → rotation `(3,3)`, translation `(3,)` | `run_relative_pose` |
196
+ | Sparse depth | `make_numpy_sparse_depth_model` | RGB, pixel coordinates → depth values | `run_sparse_depth` |
197
+ | Keypoint matching | `make_numpy_keypoint_model` | RGB A, RGB B → points0, points1 | `run_keypoint_matching` |
198
+
199
+ Factory docstrings specify shapes and units. For custom preprocessing, batching
200
+ or framework-specific outputs, implement `BenchmarkModel` or compose
201
+ `BenchmarkableModel` with input/output adapters. The generic tracking API is a
202
+ frame-based contract; use the production tracking runner for the full clip-based
203
+ paper protocol and its initialization/scoring rules.
204
+
205
+ ### Custom VQA model or API
206
+
207
+ VQA uses JSONL question manifests rather than the core task manifests. A custom
208
+ callable receives only ordered image paths and the public prompt; ground-truth
209
+ answers and boxes are kept inside the evaluator.
210
+
211
+ ```python
212
+ from rpx_benchmark.vqa import evaluate_vqa
213
+ from my_model import predict_vqa
214
+
215
+ # predict_vqa(image_paths, prompt, max_new_tokens, output_kind) -> raw text
216
+ # image_paths: (target,) or (reference_crop, target), in that order.
217
+ report = evaluate_vqa(
218
+ "vqa_manifest.jsonl", predict_vqa,
219
+ model_name="my-vlm", model_revision="my-checkpoint-or-service-version",
220
+ image_cache=".cache/rpx-vqa", output_dir="rpx_results/my-vlm",
221
+ )
222
+ print(report["metrics"])
223
+ ```
224
+
225
+ Return one JSON object with `label` and `bbox` (XYXY coordinates normalized to
226
+ 0–1000); binary questions require `yes` or `no`. Parsing failures and inference
227
+ errors remain in the denominator. Runs save raw outputs, errors, timing,
228
+ manifest hash, model revision and scored results. Use a fresh output directory.
229
+ The [VQA runtime README](../docker/vqa-smoke/README.md) explains manifest
230
+ preparation and the reference-model benchmark. The preserved Molmo adapter in
231
+ `scripts/vqa_models/molmo_backend.py` is optional and outside the frozen roster.
232
+
233
+ ## Data and results
234
+
235
+ The Hub loader fetches only required modalities and reuses its cache. Pin a
236
+ dataset commit for comparable runs; do not mix results from moving revisions.
237
+ The [data README](data/README.md) identifies the local canonical splits and
238
+ metadata. Dataset publishing tools are documented separately in
239
+ [rpx_benchmark/dataset_hub/README.md](rpx_benchmark/dataset_hub/README.md).
240
+
241
+ Generic frame runs write `result.json`, `summary.md`, `cells.parquet` and
242
+ `per_sample_metrics.parquet`. Video runs write clip/cell results. Hardware,
243
+ precision and batch size belong in each cell; unavailable measurements stay
244
+ unavailable. Custom API wall time includes transport and is not a GPU-only
245
+ latency measurement. Production runners add prediction caches, protocol
246
+ metrics and provenance records.
247
+
248
+ ## Testing
249
+
250
+ From `benchmark/`, in a clean virtual environment:
251
+
252
+ ```bash
253
+ python -m pip install -e '.[dev,hub,schemas,hf-datasets,analysis,ar-pose-audit]' \
254
+ imageio imageio-ffmpeg av transformers build
255
+ python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
256
+ python -m pip install --no-deps 'git+https://github.com/JonathonLuiten/TrackEval.git@12c8791b303e0a0b50f753af204249e622d0281a'
257
+ pytest tests -q --cov=rpx_benchmark --cov-report=term-missing
258
+ pytest ../data/mask_annotation/visual_grounding_gt/vqa_gt/tests -q
259
+ ruff check rpx_benchmark tests scripts
260
+ mypy rpx_benchmark
261
+ python -m build
262
+ ```
263
+
264
+ Tests cover task contracts, local datasets, public custom-model workflows,
265
+ metrics, reports, download behavior, model-call signatures and VQA parsing.
266
+ They do not download model checkpoints. Run the linked CUDA inference gates
267
+ on the target machine to validate real models, available memory and dataset
268
+ access. Sensor capture and annotation UI checks require their own hardware.
@@ -0,0 +1,177 @@
1
+ # RPX Benchmark Toolkit
2
+
3
+ Load RPX data, run reference or custom perception models, and compare accuracy,
4
+ scene-change robustness and compute cost with Python 3.10–3.12:
5
+
6
+ ```bash
7
+ python -m pip install 'rpx-benchmark[hub,schemas]'
8
+ git clone https://github.com/IRVLUTD/RPX.git
9
+ cd RPX
10
+ python benchmark/examples/run_depth.py
11
+ ```
12
+
13
+ The example is a CPU-only installation check using synthetic data. Reference
14
+ checkpoints need their own runtime, weights and GPU resources. The package
15
+ installation alone does not install every model's dependencies.
16
+
17
+ For toolkit development, replace the PyPI install with an editable source
18
+ install from the repository root:
19
+
20
+ ```bash
21
+ python -m pip install -e './benchmark[hub,schemas]'
22
+ ```
23
+
24
+ ## Reference models
25
+
26
+ Use isolated environments because model dependencies conflict. The linked
27
+ READMEs contain build, checkpoint, cache and execution instructions. Run a
28
+ model's small inference gate before a full benchmark, and retain its dataset
29
+ revision and runtime metadata with the results.
30
+
31
+ | Evaluation | Models and commands | Environment |
32
+ |---|---|---|
33
+ | Image depth | Ten canonical models, including DA3, DA-V2 Large, Depth Pro, UniDepth V2, Metric3D V2, MoGe-2, HyDen, Lotus 2, FE2E and ZipDepth; `scripts/run_depth.py` | [Depth](../docker/depth-smoke/README.md), with dedicated [FE2E](../docker/depth-fe2e/README.md) and [ZipDepth](../docker/depth-zipdepth/README.md) overlays |
34
+ | Video depth | DA3, DepthCrafter, Video Depth Anything, ChronoDepth, RollingDepth, DVD, GEMDepth, ViGeo, MonST3R and VGGT; `scripts/run_video_depth.py` | [Depth](../docker/depth-smoke/README.md), [DVD](../docker/depth-dvd/README.md), [GEMDepth](../docker/depth-gemdepth/README.md) |
35
+ | Relative pose | VGGT, DA3, CUT3R, DUSt3R, MASt3R, MUSt3R, Reloc3r, Pi3X, Fast3R and MonST3R; additional baseline adapters are retained | [Relative pose](../docker/rcpe-smoke/README.md) |
36
+ | Tracking | Mask-, box- and text-initialized adapters, with MOS and Ego protocols; `scripts/run_tracking.py` and `scripts/run_tracking_paper.py` | [Tracking](../docker/tracking-smoke/README.md) |
37
+ | VQA / bbox grounding | Twenty roster entries with native Transformers or vLLM backends, one- and two-image inputs; `scripts/run_vqa_benchmark.py` | [VQA](../docker/vqa-smoke/README.md) |
38
+
39
+ For segmentation, detection, open-vocabulary detection, generic grounding,
40
+ sparse depth and keypoint matching, the toolkit supplies the callable APIs,
41
+ loaders and evaluators below. There is no bundled full pretrained-model sweep
42
+ for those tasks. Mask annotation models produce dataset labels; they are not
43
+ a substitute for a benchmark adapter.
44
+
45
+ Example, **inside the selected model environment**, from `benchmark/`:
46
+
47
+ ```bash
48
+ python scripts/run_depth.py --model da-v2-large --split easy \
49
+ --repo IRVLUTD/RPX --device cuda --max-samples 10 \
50
+ --output-dir ../rpx_results/da-v2-large/easy-smoke
51
+ python scripts/run_video_depth.py --help
52
+ python scripts/run_relative_pose.py --help
53
+ python scripts/run_tracking.py --help
54
+ ```
55
+
56
+ `python benchmark/scripts/run_depth_smoke_matrix.py --list-models` lists the
57
+ canonical depth roster without loading weights. Docker matrix files and adapter
58
+ registries are the source of model identifiers and pinned checkpoint revisions.
59
+ Model availability and successful inference are different checks: the offline
60
+ suite tests adapters with controlled inputs, while GPU gates run real weights.
61
+
62
+ ## Bring your own model
63
+
64
+ Wrap a callable and pass it to a public task runner. The callable may invoke a
65
+ local model or your inference service; convert its response to the documented
66
+ NumPy output. Authentication and service configuration belong in your wrapper,
67
+ not in committed source.
68
+
69
+ ```python
70
+ import rpx_benchmark as rpx
71
+ from my_model import predict_depth # your implementation: RGB -> depth in metres
72
+
73
+ model = rpx.make_numpy_depth_model(predict_depth, name="my-depth")
74
+ result, report, paths = rpx.run_monocular_depth(
75
+ rpx.MonocularDepthRunConfig(
76
+ model=model,
77
+ split="easy",
78
+ repo_id="IRVLUTD/RPX",
79
+ revision=rpx.DEFAULT_REVISION,
80
+ device="cpu", # configure your callable's actual device yourself
81
+ output_dir="rpx_results/my-depth/easy",
82
+ )
83
+ )
84
+ print(result.aggregated)
85
+ print(paths["json"])
86
+ ```
87
+
88
+ For a local dataset, supply `manifest_path="/data/manifests/monocular_depth/easy.json"`
89
+ to skip downloading. Manifests name a task and dataset root and list samples
90
+ with modality paths, scene, phase and difficulty. Local examples and all ten
91
+ public workflows are exercised in [tests/test_user_workflows.py](tests/test_user_workflows.py).
92
+ For relative depth, set `depth_output_kind="relative"` on the factory; never
93
+ label arbitrary relative values as metric depth.
94
+
95
+ | Task | Factory (under `rpx`) | Callable input → output | Public runner |
96
+ |---|---|---|---|
97
+ | Monocular depth | `make_numpy_depth_model` | RGB `(H,W,3)` → depth `(H,W)` | `run_monocular_depth` |
98
+ | Video depth | `make_numpy_video_depth_model` | RGB `(T,H,W,3)` → depth `(T,H,W)` | `run_video_depth` |
99
+ | Segmentation | `make_numpy_mask_model` | RGB → integer instance mask; 0 is background | `run_segmentation` |
100
+ | Detection | `make_numpy_detection_model` | RGB → boxes, scores, labels | `run_object_detection` |
101
+ | Open-vocabulary detection | `make_numpy_detection_model(..., task=rpx.TaskType.OPEN_VOCAB_DETECTION)` | RGB → boxes, scores, labels; bind your vocabulary in the callable | `run_open_vocab_detection` |
102
+ | Tracking | `make_numpy_tracking_model` | RGB → tracks with persistent IDs and boxes | `run_object_tracking` |
103
+ | Grounding | `make_numpy_grounding_model` | RGB, text → boxes and scores | `run_visual_grounding` |
104
+ | Relative pose | `make_numpy_pose_model` | RGB A, RGB B → rotation `(3,3)`, translation `(3,)` | `run_relative_pose` |
105
+ | Sparse depth | `make_numpy_sparse_depth_model` | RGB, pixel coordinates → depth values | `run_sparse_depth` |
106
+ | Keypoint matching | `make_numpy_keypoint_model` | RGB A, RGB B → points0, points1 | `run_keypoint_matching` |
107
+
108
+ Factory docstrings specify shapes and units. For custom preprocessing, batching
109
+ or framework-specific outputs, implement `BenchmarkModel` or compose
110
+ `BenchmarkableModel` with input/output adapters. The generic tracking API is a
111
+ frame-based contract; use the production tracking runner for the full clip-based
112
+ paper protocol and its initialization/scoring rules.
113
+
114
+ ### Custom VQA model or API
115
+
116
+ VQA uses JSONL question manifests rather than the core task manifests. A custom
117
+ callable receives only ordered image paths and the public prompt; ground-truth
118
+ answers and boxes are kept inside the evaluator.
119
+
120
+ ```python
121
+ from rpx_benchmark.vqa import evaluate_vqa
122
+ from my_model import predict_vqa
123
+
124
+ # predict_vqa(image_paths, prompt, max_new_tokens, output_kind) -> raw text
125
+ # image_paths: (target,) or (reference_crop, target), in that order.
126
+ report = evaluate_vqa(
127
+ "vqa_manifest.jsonl", predict_vqa,
128
+ model_name="my-vlm", model_revision="my-checkpoint-or-service-version",
129
+ image_cache=".cache/rpx-vqa", output_dir="rpx_results/my-vlm",
130
+ )
131
+ print(report["metrics"])
132
+ ```
133
+
134
+ Return one JSON object with `label` and `bbox` (XYXY coordinates normalized to
135
+ 0–1000); binary questions require `yes` or `no`. Parsing failures and inference
136
+ errors remain in the denominator. Runs save raw outputs, errors, timing,
137
+ manifest hash, model revision and scored results. Use a fresh output directory.
138
+ The [VQA runtime README](../docker/vqa-smoke/README.md) explains manifest
139
+ preparation and the reference-model benchmark. The preserved Molmo adapter in
140
+ `scripts/vqa_models/molmo_backend.py` is optional and outside the frozen roster.
141
+
142
+ ## Data and results
143
+
144
+ The Hub loader fetches only required modalities and reuses its cache. Pin a
145
+ dataset commit for comparable runs; do not mix results from moving revisions.
146
+ The [data README](data/README.md) identifies the local canonical splits and
147
+ metadata. Dataset publishing tools are documented separately in
148
+ [rpx_benchmark/dataset_hub/README.md](rpx_benchmark/dataset_hub/README.md).
149
+
150
+ Generic frame runs write `result.json`, `summary.md`, `cells.parquet` and
151
+ `per_sample_metrics.parquet`. Video runs write clip/cell results. Hardware,
152
+ precision and batch size belong in each cell; unavailable measurements stay
153
+ unavailable. Custom API wall time includes transport and is not a GPU-only
154
+ latency measurement. Production runners add prediction caches, protocol
155
+ metrics and provenance records.
156
+
157
+ ## Testing
158
+
159
+ From `benchmark/`, in a clean virtual environment:
160
+
161
+ ```bash
162
+ python -m pip install -e '.[dev,hub,schemas,hf-datasets,analysis,ar-pose-audit]' \
163
+ imageio imageio-ffmpeg av transformers build
164
+ python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu
165
+ python -m pip install --no-deps 'git+https://github.com/JonathonLuiten/TrackEval.git@12c8791b303e0a0b50f753af204249e622d0281a'
166
+ pytest tests -q --cov=rpx_benchmark --cov-report=term-missing
167
+ pytest ../data/mask_annotation/visual_grounding_gt/vqa_gt/tests -q
168
+ ruff check rpx_benchmark tests scripts
169
+ mypy rpx_benchmark
170
+ python -m build
171
+ ```
172
+
173
+ Tests cover task contracts, local datasets, public custom-model workflows,
174
+ metrics, reports, download behavior, model-call signatures and VQA parsing.
175
+ They do not download model checkpoints. Run the linked CUDA inference gates
176
+ on the target machine to validate real models, available memory and dataset
177
+ access. Sensor capture and annotation UI checks require their own hardware.