Paperspace / DinoRunTutorial

Accompanying code for Paperspace tutorial "Build an AI to play Dino Run"
https://blog.paperspace.com/dino-run
MIT License
323 stars 104 forks source link

How long to run for? #13

Closed tfppcn closed 3 years ago

tfppcn commented 3 years ago

Hi, I managed to get the code running and have used CPU only to train it. Below are the runtime result. How long do I have to run it for to observe any improvement in training? FYI, I ran this code on my surface pro 3 i5 for about 20 hours or so.

01playgame 02score 03maxscore 04q_max
ravi72munde commented 3 years ago

Hi, I understand that you have used CPU to run the training. I've used a GPU for the experiment after realizing that the CPU just won't cut it. I barely got to 100 on CPU on my previous attempt. This repo has configurations which are suitable for GPU system as it involves a lot more calculations. A CPU would take a longer time to do that same calculations and would in turn miss few important frames captures, making the training unstable and highly variable. I'd recommend going with a GPU system(which also takes a lot of time).