agent-trainer icon indicating copy to clipboard operation
agent-trainer copied to clipboard

How to play

Open tangbohu opened this issue 8 years ago • 4 comments

Hi! After training, I try to let the code to play the game by typing SESSION_ID="201609272034" make play

However, although the code outputs turn left or turn right. The interface of the game seems stuck, and the car in it does not move at all.

Could you please give me some comments to solve this issue?

tangbohu avatar Dec 13 '17 06:12 tangbohu

It seems that the SESSION_ID you are using is from the example provided in the readme. You should set SESSION_ID to be equal to the folder name of your training session

lopespm avatar Dec 13 '17 17:12 lopespm

Thanks for your reply. SESSION_ID is modified. The algorithm could output turn left or right, but the game interface seems frezon.

tangbohu avatar Dec 16 '17 06:12 tangbohu

My guess it that it did not train long enough to figure out how to drive past the starting point. My suggestion is to train it further and In case you changed something in the default hyperparameters or algorithm, my suggestion is to keep checking the metrics to make sure the agent is learning and gaining a higher final score per episode, for example.

lopespm avatar Dec 17 '17 19:12 lopespm

when I run make train-new,it turns out the error like this: make: *** [train-new] Segmentation fault (core dumped) what should I do to solve it?

yotobeZ avatar Jan 26 '18 15:01 yotobeZ