SidewalkPilot-v4.1g is the validation-selected checkpoint (epoch 15) of the Series 4.1 CF temporal steering experiment. It predicts logical steering commands, not semantic segmentation, metric sidewalk geometry, obstacles, or throttle.
PyTorch: SidewalkPilot-v4.1g.pth.
Previous release: v4.1f | Next release: v4.1a
SidewalkPilot-v4.1g.onnx (FP32 ONNX, opset 17)4.1f / validation-selected 4.1gimage float32 [batch,3,180,320]; no history inputsteering_raw float32 [batch,4,18]Current-dominant horizon weighting (decay 0.55) and a trajectory-delta consistency loss (weight 0.15). No history is supplied.
The source dataset contains 81,237 real frames from five manually driven runs. Labels are operator commands, not an independently verified optimal driving policy. Training uses the existing deterministic 100-frame-window 90/10 train/validation split, seed 42, batch size 256, 25 epochs, AdamW (learning rate and weight decay both 0.0003), and 50,000 sampled examples per epoch. Temporal windows stay inside a run and split, with a maximum adjacent-frame gap of 0.25 seconds. This is not a whole-run-held-out split, and nearby windows remain correlated.
Images use deterministic left/right balancing flips and training-only shadow augmentation (probability 0.6). Future targets, where present, are labels only and never runtime inputs. The original captures are nominally 10 Hz; faster inference does not make the three-step temporal context equivalent to the training cadence.
Validation-selected checkpoint rule: Lowest current-horizon validation MAE.
The stored training configuration and checkpoint metadata are in artifact_manifest.json. Recorded training run.
Read the image as OpenCV BGR, resize to 320x180 with INTER_AREA, retain the full frame, convert to float32 NCHW, and normalize with (x / 255.0 - 0.5) / 0.5. Do not swap to RGB or apply an extra history normalization: history processing is inside the model.
Each horizon has nine class logits followed by nine offset logits. Use horizon 0 for the current command:
import numpy as np
current = steering_raw[:, 0, :]
classes = current[:, :9].argmax(axis=1)
low = np.array([0, 45, 60, 75, 85, 95, 105, 120, 135])
high = np.array([45, 60, 75, 85, 95, 105, 120, 135, 180])
offset = current[np.arange(len(classes)), 9 + classes]
fraction = 1 / (1 + np.exp(-offset))
steering_deg = low[classes] + fraction * (high[classes] - low[classes])
Logical 0 means full left, 90 straight, and 180 full right; these are command units, not measured front-wheel angles. PC predicts one horizon; CF and PCF predict current plus three future horizons. There is no throttle head.
These are the existing common-report scores on 6,952 sequence-valid anchors from the original 81,237-frame dataset, not a new independent test set. The October 25 release check reran the six exports and verified agreement with the historical scores. Error columns are logical steering degrees. Bal9 is macro-averaged nine-class recall; turn metrics exclude the straight target bucket. Turn +/-1 allows one neighboring bucket, and ST exact is straight-bucket recall.
| Model | Bal9 | Turn exact | Turn +/-1 | ST exact | MAE | Median AE | Signed error |
|---|---|---|---|---|---|---|---|
4.1p |
25.1% | 23.1% | 56.5% | 65.7% | 14.585 | 5.048 | -0.144 |
4.1r |
17.8% | 9.2% | 37.2% | 87.4% | 13.382 | 1.431 | -5.765 |
4.1f |
25.1% | 22.9% | 57.8% | 61.5% | 15.466 | 7.218 | +1.183 |
4.1g (this model) |
24.0% | 21.2% | 56.8% | 67.4% | 14.652 | 4.659 | +0.555 |
4.1a |
25.3% | 22.9% | 57.0% | 63.2% | 14.805 | 6.352 | +0.130 |
4.1c |
23.1% | 19.5% | 52.3% | 75.0% | 13.566 | 2.270 | -0.984 |
For PC/PCF, this open-loop evaluation supplies ground-truth prior commands; deployed control feeds prior predictions. The hold-last-command reference has MAE 11.199 on this same subset. The v4.1 models do not beat that reference on MAE here. No closed-loop success follows from the table: the earlier v4.0 history models scored better offline but exhibited steering echo on the vehicle. These corrections are hypotheses, not proof that echo is fixed.
Research on temporal behavioral cloning, offline reproduction, and bounded supervised RC-car experiments after hardware and runtime checks. Not a full-size-vehicle controller or a general sidewalk navigation safety system. The model has no independent obstacle detection, uncertainty guarantee, out-of-distribution detection, accessibility measurement, or validated autonomous safety claim. Dataset bias, correlated frames, label errors, shadows, unfamiliar surfaces, and history feedback can all cause incorrect outputs.
Keep independent LiDAR emergency braking and manual takeover above model output. Publishing these weights does not establish that any physical test, site, or operation is approved. No v4.1 field result is claimed.
artifact_manifest.json includes the ONNX SHA-256, source-checkpoint hash, input/output signatures, selected epoch, training configuration, historical metrics, fresh evaluation checks, and PyTorch/ONNX numerical parity results. The PyTorch source checkpoint is retained locally; this repository publishes the ONNX artifact, following the existing Series 4 release format.
SidewalkPilot-v4.1g.pth 21 MiBSidewalkPilot-v4.1g.onnx 21 MiB