Robotics
point-tracking
tracking-any-point
manipulation
video
VincentDoingAI commited on
Commit
49bdb91
·
verified ·
1 Parent(s): ce3f530

Card: description, format, use, limitations, licence

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: aharley/alltracker
4
+ pipeline_tag: robotics
5
+ tags:
6
+ - point-tracking
7
+ - tracking-any-point
8
+ - robotics
9
+ - manipulation
10
+ - video
11
+ datasets:
12
+ - allenai/RoboTrack-15M
13
+ - allenai/RoboTrack-Bench
14
+ ---
15
+
16
+ # RoboTracker
17
+
18
+ RoboTracker is a point tracker for robot manipulation video. It is [AllTracker](https://github.com/aharley/alltracker)
19
+ fine-tuned on **RoboTrack-15M**, simulated robot data built with MolmoSpaces, mixed half and half with Kubric. Give it a
20
+ video and pixels to follow; for every frame it returns where each pixel moved and whether it is visible. It keeps
21
+ AllTracker's architecture and file format, so it is a drop-in replacement for `alltracker.pth`.
22
+
23
+ Quick links:
24
+ - 💻 [Code](https://github.com/allenai/robotrack)
25
+ - 📂 [RoboTrack-Bench](https://huggingface.co/datasets/allenai/RoboTrack-Bench) (evaluation)
26
+ - 📂 [RoboTrack-15M](https://huggingface.co/datasets/allenai/RoboTrack-15M) (training data)
27
+
28
+ ## Results
29
+
30
+ AJ, average Jaccard. Higher is better on every column.
31
+
32
+ | Model | RoboTrack-Bench AJ | RoboTrack-Bench OA | TAP-Vid DAVIS | RGB-Stacking | RoboTAP* | Kinetics* |
33
+ |---|---|---|---|---|---|---|
34
+ | AllTracker (`alltracker.pth`) | 62.29 | **86.83** | 64.26 | 81.44 | 71.92 | 59.23 |
35
+ | **RoboTracker** | **63.21** | 86.33 | **64.63** | **83.20** | **72.16** | **60.01** |
36
+
37
+ - **Protocol:** every column is TAP-Vid "first" mode at 384×512 with the corrected evaluation in the code repository.
38
+ That evaluation pairs each query with its own point. AllTracker's original code mispairs them when a clip's points
39
+ are not in query-frame order, so its published DAVIS numbers differ.
40
+ - **\*RoboTAP and Kinetics** use AllTracker's published protocol for these two benchmarks. Only points from the first
41
+ available query frame are tracked, and clips are capped at 600 frames. These numbers are therefore not comparable with
42
+ results computed on all points.
43
+
44
+ ## Use
45
+
46
+ ```bash
47
+ git clone https://github.com/allenai/robotrack.git && cd robotrack && pip install -e .
48
+ python -m robotrack.eval_alltracker --checkpoint robotracker --data-root data/RoboTrack-Bench --download \
49
+ --out results/robotracker.json
50
+ ```
51
+
52
+ To track your own points:
53
+
54
+ ```python
55
+ from robotrack.eval_alltracker import load_model, track
56
+
57
+ model = load_model("robotracker") # downloads robotracker.pth from this repository
58
+ # frames: [T, H, W, 3] uint8 RGB (we evaluate at 384x512); query_xy: [N, 2] pixels; query_frames: [N] frame indices
59
+ tracks, visibility_prob = track(model, frames, query_xy, query_frames)
60
+ visible = visibility_prob >= 0.6
61
+ ```
62
+
63
+ The file holds `{"model": state_dict}` for `Net(seqlen=16)`, the same format as `alltracker.pth`, so AllTracker's own
64
+ code loads it too.
65
+
66
+ ## Training
67
+
68
+ - **Start point:** the released `alltracker.pth`.
69
+ - **Data:** 50% Kubric (AllTracker's clip settings) and 50% RoboTrack-15M.
70
+ - **Recipe:** 10,000 steps at learning rate 1e-5 with a one-cycle schedule (5% warm-up), on 8 GPUs.
71
+ - **Selection:** the reported checkpoint is the last step. No checkpoint was picked by benchmark score.
72
+
73
+ ## Limitations
74
+
75
+ - **Visibility errors:** RoboTracker improves position accuracy and AJ over AllTracker, but its occlusion accuracy on
76
+ RoboTrack-Bench is 0.5 points lower. It calls some visible points occluded, mostly on clips with little occlusion.
77
+ - **Training scenes:** the simulated training data shows one robot (a Franka arm) picking objects in household scenes.
78
+ Gains are largest on robot video seen from a fixed third-person camera.
79
+
80
+ ## License
81
+
82
+ Apache 2.0. The model is intended for research and educational use in accordance with Ai2's
83
+ [Responsible Use Guidelines](https://allenai.org/responsible-use).
84
+
85
+ ## Citation
86
+
87
+ Coming with the paper.