Wii Sports Bowling: SAC policies and a V-JEPA reader of the game state

SAC policies that bowl through the raw Wiimote accelerometer and the B button, and a V-JEPA 2.1 head that reads the game state from the screen.
Code: ginerJuanUdesa/wii-tennis-rl (docs/bowling.md).
Data: juanginer/wii-sports-trajectories, config bowling.
Policies
| Policy | Sees | Score | Strikes | Spares | No throw |
|---|---|---|---|---|---|
bowlv5 |
memory | 174 | 36% | 59% | 4% |
bowlv6 |
memory, 4 frames late | 166 | 28% | 58% | 1% |
bowlv6 |
the picture, through reader |
167 | 30% | 58% | 2% |
25 games, same seeds, acting on the mean.
bowlv6 continues bowlv5 with the state 4 frames late, the lag of the picture behind memory, so it can play through reader.
Each folder holds best.pt, env.json, args.json and best.json.
Reader
reader/head.pt is a head on vjepa2_1_vit_large_384, trained with the encoder's last 4 blocks, that reads the bowler, the ball and the standing pins from a 512x288 frame.
On 43,796 frames of 13 unseen Miis, 91.5% of its outputs are within tolerance (geometric mean over nine).
uv sync --group vision
uv run scripts/play_bowling.py bowlv6/best.pt --headless --games 25 --workers 13 --reader reader --repo path/to/vjepa2
--repo is a checkout of facebookresearch/vjepa2, and env.json must sit next to best.pt.