cd /news/machine-learning/pila-trains-on-screen-input-to-play-… · home topics machine-learning article
[ARTICLE · art-42695] src=letsdatascience.com ↗ pub= topic=machine-learning verified=true sentiment=· neutral

PILA Trains on Screen Input to Play PolyTrack

Developer tryfonaskam released PILA, an open-source imitation learning agent that learns to play the browser racing game PolyTrack by training on screen captures and human keyboard inputs. Implemented in PyTorch, the pipeline records state-action pairs, trains a supervised neural network, and runs real-time inference to issue keyboard commands from live frames. The project serves as an educational baseline for end-to-end perception-to-action agents.

read1 min views1 publishedJun 28, 2026

End-to-end imitation learning from raw screen pixels is a low-friction prototyping path for perception-to-action agents: no simulator instrumentation, no reward engineering, just human demonstrations mapped to actions. Developer tryfonaskam demonstrated this concretely with PILA (PolyTrack Imitation Learning AI), an open-source agent that learns to drive the browser racing game PolyTrack by observing screen captures and recorded human keyboard inputs. Implemented in PyTorch (Python 3.11), the pipeline records player controls alongside corresponding game frames, trains a supervised neural network on those state-action pairs, then runs real-time inference to issue keyboard commands from live frames. Released under Apache 2.0 on GitHub. Reported by Hackaday on June 28, 2026. For practitioners, PILA is a useful educational baseline that surfaces the practical engineering work of synchronizing frame capture with labeled actions and replaying inputs - details papers routinely omit.

── more in #machine-learning 4 stories · sorted by recency
── more on @pila 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/pila-trains-on-scree…] indexed:0 read:1min 2026-06-28 ·