Downloads · 30 days
28
23% of all-time downloads
arattan7272/tartanimu-lnresnet
tartanimu-lnresnet is a machine learning model from arattan7272. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
A single unified model with one shared set of weights (5.38M parameters) for car, dog (legged), drone and human. It predicts the mean body-frame velocity of every 1.0 s window from raw 6-axis IMU only, followed by a d…
Downloads · 30 days
28
23% of all-time downloads
All-time downloads
120
Public
Repo size
17.9 GB
Likes
0
Public
Click a slice to open those files.
.pt21.6 MB · 94%
From the Hugging Face model README
A single unified model with one shared set of weights (5.38M parameters) for car, dog (legged), drone and human. It predicts the mean body-frame velocity of every 1.0 s window from raw 6-axis IMU only, followed by a deterministic per-trajectory speed gate described below.
Official scoring service, full test split: 0.25650 (macro ATE20 0.64242, AVE 0.21338, RTE 0.96484). Without the speed gate the same weights score 0.26105.
n_experts = 1) and does not post-process the velocity. No platform label is ever read from the data; the classifier predicts it from the IMU.imu (N, 6) = [ax, ay, az, gx, gy, gz] from each trajectory .npz, plus the window order from the windows CSV. No platform label, pose, timestamps or other metadata.physics_gate.py)A deterministic rescaling of this model's own output, computed from the same trajectory's IMU and nothing else: no labels, no test-set statistics, no information from any other trajectory, no second network. It is part of the inference pipeline, not a separate model.
In a steady turn the non-gravity acceleration equals w x v, so |v| ~ sqrt(|f|^2 - g^2)/|w| for
span-averaged f, w. The network underestimates speed on fast flights of a racing rig it was
trained on: training contains that rig at 7.81 m/s, yet a held-out flight of the same rig at
7.82 m/s is underestimated by 30%. The estimator's bias is speed dependent - measured median
(physics / true) is 1.47 below 2 m/s, 1.26 from 2-5 m/s, and 0.95 above 5 m/s - so the correction is
restricted to the fast band where it is unbiased, and damped because the estimator still carries
about +-20% scatter there.
A trajectory is rescaled by min(1 + 0.5 (r - 1), 1.3) when its mean predicted speed is at least
1.5 m/s and r = median(physics speed / predicted speed) > 1.1, otherwise it is left unchanged.
Constants were fixed before submission and are not tuned per trajectory.
On the challenge test set the gate fires on 9 of 89 trajectories, all aerial. Per-platform metrics for car, legged and handheld are unchanged to five decimals; aerial AVE improves 0.64768 -> 0.63611, aerial ATE20 improves 1.18942 -> 1.12112 and aerial RTE improves 3.01999 -> 2.81525.
ENIO_TartanIMU_Report.pdf in this repository is the challenge technical report for this model:
method, per-platform and per-sequence results from the official scoring service, ablations, and the
compliance declaration.
pip install -r requirements.txt
python infer.py --traj_dir <test dir> --windows <index/test_windows.csv> --checkpoint model.pt --out submission.csv
The gate is enabled by default, as submitted; --no_physics_gate reproduces the plain v19 output.
--device cpu.