Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-trained model does not work #24

Open
apuder opened this issue Apr 25, 2018 · 2 comments
Open

Pre-trained model does not work #24

apuder opened this issue Apr 25, 2018 · 2 comments

Comments

@apuder
Copy link

apuder commented Apr 25, 2018

I'm using Tensorflow 1.7 and Keras 2.1.6. Doing a git clone followed by "python qlearn.py -m Run" should run the pre-trained model, right? However, the result does not look good. Flappy Bird immediately crashes at the first pipe.

@apuder
Copy link
Author

apuder commented May 3, 2018

I figured out what happened. In a recent commit 26cceb4 the scaling of the pixel values to range [0-1] was added. This is inconsistent with the pre-trained model. Reverting commit 26cceb4 makes the pre-trained model work again. The model should be updated with the change that was introduced in that commit.

@Romtein
Copy link

Romtein commented Nov 7, 2018

Ascott02's model solved this issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants