Repository navigation
v0.2.0 adds a world model on top of v0.1. Steer the dream off the recorded path, drive a policy inside it, and train that policy with RL in the dream. Built from Xiaomi's public Auto World Model 2.0 report, at laptop scale. Unofficial; not affiliated with Xiaomi or Tesla.
Measured on the two drives held out of training:
| Steered somewhere the logs never went | the dream's offset follows the kinematic model at r = 0.93 to 0.99 (mean error 0.03 to 0.07 m over 8 s) |
| Policy cloned from human logs | leaves the lane in 75% of 20 s dreams (it learns no correction: the human never left the path) |
| Same policy after RL inside the dream, no labels | 0% out of lane, 100% back within 0.3 m; on real warped pixels its correction matches a hand-written steer-back rule at r = 0.81 |
| Baseline with hand-written labels, no world model | 0% out of lane, 93% back; r = 0.84 |
On this task RL in the dream removed the need for labels. It did not beat them. The README lists what failed first and every limit.
git clone https://github.com/azet-llc/realview && cd realview
pip install -r requirements.txt
sh scripts/download_weights.sh
python -m realview.dream --video weights/sample_day.mp4 --log weights/sample_day.npz --steer 0.02 --out dream.mp4
python -m realview.dream --video weights/sample_day.mp4 --log weights/sample_day.npz --offset 0.8 --policy weights/policy_rl.pt --out back_in_lane.mp4Files: realview.pt (v0.1 generator, unchanged), realview_world.pt (23M world model, 4,000 steps, fp16), policy_bc.pt / policy_aug.pt / policy_rl.pt, TAESD (MIT), sample_day.mp4 + sample_day.npz (held-out comma2k19 clip and its speed / yaw-rate log, MIT, © comma.ai).