/DinoNet

An AI that plays chrome://dino

Primary LanguageJupyter Notebook

A Neural net that plays the Chrome dino game

At some point we've all come across this page, you might have tried fixing your internet, or pressing the spacebar to play the game. Me and github.com/prithvianilk, however tried to train a model to play the game by itself.

Image of chrome dino

put chrome://dino on chrome to play the game

Dependencies

Data

  1. You can use data provided in the repository itself or
  2. You can get your own data using our data collection tool

Model Training

If you're lucky enough to have a powerful local GPU (along with cudatoolkit and Cudnn 10.1) , you can train locally. If you don't you can use cloud services. You could use this template to make your own model or use one of our previously trained models

Here is a baseline model that was able to get a score of 1200 These were the performance metrics it achieved:

loss

precision

recall

auc

Running the model

Use This script to run your model

Have Fun!

Sample video of model playing the game

Read this to learn more