Keypoint Detection
ONNX
TensorRT
xcalib
camera-lidar
cross-modal-matching
extrinsic-calibration
jetson
Instructions to use UArizona/xcalib with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use UArizona/xcalib with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Release 0.1.0: xcalib model weights
Browse files- README.md +65 -0
- checkpoints/calibrefine_a9_dataset_r02_s01_best.pth +3 -0
- checkpoints/crlite_2dpe_a9_dataset_r02_s01_best.pth +3 -0
- checkpoints/crlite_a9_dataset_r02_s01_best.pth +3 -0
- checkpoints/crlite_vit_exp1_a9_dataset_r02_s01_best.pth +3 -0
- checkpoints/crlite_vit_exp3_a9_dataset_r02_s01_best.pth +3 -0
- configs/calibrefine_a9_dataset_r02_s01.yaml +10 -0
- configs/crlite_2dpe_a9_dataset_r02_s01.yaml +13 -0
- configs/crlite_a9_dataset_r02_s01.yaml +13 -0
- configs/crlite_vit_exp1_a9_dataset_r02_s01.yaml +19 -0
- configs/crlite_vit_exp3_a9_dataset_r02_s01.yaml +21 -0
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: xcalib
|
| 3 |
+
tags:
|
| 4 |
+
- camera-lidar
|
| 5 |
+
- cross-modal-matching
|
| 6 |
+
- extrinsic-calibration
|
| 7 |
+
- jetson
|
| 8 |
+
- onnx
|
| 9 |
+
- tensorrt
|
| 10 |
+
pipeline_tag: keypoint-detection
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# xcalib model weights
|
| 14 |
+
|
| 15 |
+
Trained checkpoints for the matching front-end studied in
|
| 16 |
+
*Position Encoding in Detection-Based LiDAR-Camera Matching: A Diagnostic Study at Infrastructure Sites*.
|
| 17 |
+
|
| 18 |
+
This repo is public and accompanies the accepted xcalib paper.
|
| 19 |
+
|
| 20 |
+
## Files
|
| 21 |
+
|
| 22 |
+
| model | site | checkpoint | config | SHA-256 |
|
| 23 |
+
|---|---|---|---|---|
|
| 24 |
+
| `calibrefine` | `a9_dataset_r02_s01` | `checkpoints/calibrefine_a9_dataset_r02_s01_best.pth` | `configs/calibrefine_a9_dataset_r02_s01.yaml` | `768cce41b221c64136060e26c9573f04124c839a47397aef30de6a1e9152efe1` |
|
| 25 |
+
| `crlite` | `a9_dataset_r02_s01` | `checkpoints/crlite_a9_dataset_r02_s01_best.pth` | `configs/crlite_a9_dataset_r02_s01.yaml` | `16a07ed95befb632c67fe48ac3b62bdb342e21ec26072649b1acb556e0bd5dd8` |
|
| 26 |
+
| `crlite_2dpe` | `a9_dataset_r02_s01` | `checkpoints/crlite_2dpe_a9_dataset_r02_s01_best.pth` | `configs/crlite_2dpe_a9_dataset_r02_s01.yaml` | `c0c523d0fc945432fb9ef03132774bed2508ade91512c4a699b2d8201103a920` |
|
| 27 |
+
| `crlite_vit_exp1` | `a9_dataset_r02_s01` | `checkpoints/crlite_vit_exp1_a9_dataset_r02_s01_best.pth` | `configs/crlite_vit_exp1_a9_dataset_r02_s01.yaml` | `66d0cd7a7c1d88d8415da844798ea978d415c184409989b9a2f13a0061c57222` |
|
| 28 |
+
| `crlite_vit_exp3` | `a9_dataset_r02_s01` | `checkpoints/crlite_vit_exp3_a9_dataset_r02_s01_best.pth` | `configs/crlite_vit_exp3_a9_dataset_r02_s01.yaml` | `faa7cc851cb11ac748657edf4bfb03d9988d108e936c3ba46950ec734d48358d` |
|
| 29 |
+
|
| 30 |
+
## Documentation
|
| 31 |
+
|
| 32 |
+
Documentation (installation, API reference, input protocol, ONNX/TensorRT
|
| 33 |
+
export) is hosted at **https://radar-lab.github.io/xcalib**:
|
| 34 |
+
|
| 35 |
+
- [Home & quickstart](https://radar-lab.github.io/xcalib/)
|
| 36 |
+
- [Input protocol](https://radar-lab.github.io/xcalib/protocol/)
|
| 37 |
+
- [Models & datasets - loading from the Hub](https://radar-lab.github.io/xcalib/hub/)
|
| 38 |
+
- [API reference](https://radar-lab.github.io/xcalib/api/)
|
| 39 |
+
|
| 40 |
+
## Authors
|
| 41 |
+
|
| 42 |
+
Lihao Guo, Jiahao Tang, Tam Bang, Tianya Zhang, Austin Harris, Mina Sartipi, Siyang Cao
|
| 43 |
+
|
| 44 |
+
## Usage
|
| 45 |
+
|
| 46 |
+
```python
|
| 47 |
+
from xcalib import Matcher
|
| 48 |
+
|
| 49 |
+
matcher = Matcher.from_pretrained("crlite", site="a9_dataset_r02_s01")
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
## Citation
|
| 53 |
+
|
| 54 |
+
```bibtex
|
| 55 |
+
@article{guo2026xcalib,
|
| 56 |
+
author = {Guo, Lihao and Tang, Jiahao and Bang, Tam and Zhang, Tianya and
|
| 57 |
+
Harris, Austin and Sartipi, Mina and Cao, Siyang},
|
| 58 |
+
title = {Position Encoding in Detection-Based LiDAR--Camera Matching:
|
| 59 |
+
A Diagnostic Study at Infrastructure Sites},
|
| 60 |
+
journal = {IEEE Sensors Letters},
|
| 61 |
+
year = {2026},
|
| 62 |
+
note = {Accepted. Paper URL pending. Code:
|
| 63 |
+
https://github.com/radar-lab/xcalib},
|
| 64 |
+
}
|
| 65 |
+
```
|
checkpoints/calibrefine_a9_dataset_r02_s01_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:768cce41b221c64136060e26c9573f04124c839a47397aef30de6a1e9152efe1
|
| 3 |
+
size 216974633
|
checkpoints/crlite_2dpe_a9_dataset_r02_s01_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c0c523d0fc945432fb9ef03132774bed2508ade91512c4a699b2d8201103a920
|
| 3 |
+
size 25557723
|
checkpoints/crlite_a9_dataset_r02_s01_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16a07ed95befb632c67fe48ac3b62bdb342e21ec26072649b1acb556e0bd5dd8
|
| 3 |
+
size 25627363
|
checkpoints/crlite_vit_exp1_a9_dataset_r02_s01_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66d0cd7a7c1d88d8415da844798ea978d415c184409989b9a2f13a0061c57222
|
| 3 |
+
size 63854676
|
checkpoints/crlite_vit_exp3_a9_dataset_r02_s01_best.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:faa7cc851cb11ac748657edf4bfb03d9988d108e936c3ba46950ec734d48358d
|
| 3 |
+
size 65878856
|
configs/calibrefine_a9_dataset_r02_s01.yaml
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CalibRefine (Pairwise baseline: Bottleneck ResNet + PointNet2 + 2D PE) — A9 r02_s01.
|
| 2 |
+
model: calibrefine
|
| 3 |
+
device: auto
|
| 4 |
+
num_classes: 10
|
| 5 |
+
crop_size: 32
|
| 6 |
+
point_cloud_size: 1024
|
| 7 |
+
token_len: 256
|
| 8 |
+
num_blocks: [2, 2, 2, 2]
|
| 9 |
+
bbox_expansion: 1.25
|
| 10 |
+
weights_path: checkpoints/calibrefine_a9_dataset_r02_s01_best.pth
|
configs/crlite_2dpe_a9_dataset_r02_s01.yaml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CRLite-2DPE (ResNet + only 2D sinusoidal PE branch, R1 #6 ablation) — A9 r02_s01.
|
| 2 |
+
model: crlite_2dpe
|
| 3 |
+
device: auto
|
| 4 |
+
num_classes: 10
|
| 5 |
+
crop_size: 32
|
| 6 |
+
point_cloud_size: 1024
|
| 7 |
+
embed_dim: 256
|
| 8 |
+
token_len: 256
|
| 9 |
+
top_k: 10
|
| 10 |
+
max_depth: 100.0
|
| 11 |
+
pe_mode: 2d_only # forced by CRLite2DPEModel; left here for visibility
|
| 12 |
+
bbox_expansion: 1.25
|
| 13 |
+
weights_path: checkpoints/crlite_2dpe_a9_dataset_r02_s01_best.pth
|
configs/crlite_a9_dataset_r02_s01.yaml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CRLite (Hybrid two-stage + Enhanced 3D PE) — A9 r02_s01 weights.
|
| 2 |
+
model: crlite
|
| 3 |
+
device: auto
|
| 4 |
+
num_classes: 10
|
| 5 |
+
crop_size: 32
|
| 6 |
+
point_cloud_size: 1024
|
| 7 |
+
embed_dim: 256
|
| 8 |
+
token_len: 256
|
| 9 |
+
top_k: 10
|
| 10 |
+
max_depth: 100.0
|
| 11 |
+
pe_mode: full
|
| 12 |
+
bbox_expansion: 1.25
|
| 13 |
+
weights_path: checkpoints/crlite_a9_dataset_r02_s01_best.pth
|
configs/crlite_vit_exp1_a9_dataset_r02_s01.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CRLite-ViT Exp1 (Crop ViT + PointNet, no PE) — A9 r02_s01.
|
| 2 |
+
model: crlite_vit_exp1
|
| 3 |
+
device: auto
|
| 4 |
+
num_classes: 10
|
| 5 |
+
crop_size: 64
|
| 6 |
+
point_cloud_size: 1024
|
| 7 |
+
embed_dim: 256
|
| 8 |
+
top_k: 10
|
| 9 |
+
vit:
|
| 10 |
+
patch_size: 8
|
| 11 |
+
embed_dim: 256
|
| 12 |
+
depth: 6
|
| 13 |
+
num_heads: 8
|
| 14 |
+
mlp_ratio: 4.0
|
| 15 |
+
dropout: 0.0
|
| 16 |
+
attention_dropout: 0.0
|
| 17 |
+
pool: cls
|
| 18 |
+
bbox_expansion: 1.25
|
| 19 |
+
weights_path: checkpoints/crlite_vit_exp1_a9_dataset_r02_s01_best.pth
|
configs/crlite_vit_exp3_a9_dataset_r02_s01.yaml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# CRLite-ViT Exp3 (Crop ViT + PointNet + Enhanced 3D PE) — A9 r02_s01.
|
| 2 |
+
model: crlite_vit_exp3
|
| 3 |
+
device: auto
|
| 4 |
+
num_classes: 10
|
| 5 |
+
crop_size: 64
|
| 6 |
+
point_cloud_size: 1024
|
| 7 |
+
embed_dim: 256
|
| 8 |
+
token_len: 256
|
| 9 |
+
max_depth: 100.0
|
| 10 |
+
top_k: 10
|
| 11 |
+
vit:
|
| 12 |
+
patch_size: 8
|
| 13 |
+
embed_dim: 256
|
| 14 |
+
depth: 6
|
| 15 |
+
num_heads: 8
|
| 16 |
+
mlp_ratio: 4.0
|
| 17 |
+
dropout: 0.0
|
| 18 |
+
attention_dropout: 0.0
|
| 19 |
+
pool: cls
|
| 20 |
+
bbox_expansion: 1.25
|
| 21 |
+
weights_path: checkpoints/crlite_vit_exp3_a9_dataset_r02_s01_best.pth
|