Reinforcement Learning AI plays chrome://dino
game
Download Chrome
Goto: chrome Dino game
You can try Chrome-Dino HTML Game
pip install -r requirements.txt
Remember to open the the game screen in your primary monitor.
Because the game was not in gym environment, so I use OCR to get information from the game environment.
If you want to custom the environment (screenshot location, OCR engine, ...), checkout environment.py
python train.py
If you want to custom the trainning, checkout train.py
Feel free to run with default configs:
python test.py
Or with custom configs:
python test.py --model MODEL_PATH --runtimes --NUMBER_OF_RUN