Deep Neural Network for Gungeon (steam game)

Hello everyone I am following along in a Youtube video series by Sentdex,

“Python plays grand theft auto 5”

Im currently at:

I have Anaconda–>Python–>Keras–> Jupyter Notebook

How do I track the screen?

I have learned how to capture the screen using Python mss

This is my code so far, took about 2 hours.

Works pretty great but im having trouble with the next step. I need to create a processed image inorder to more easily run it through the neural network. However its not working…

This is what it looks like. Time spent 4 hours…

Finally got it working and boy am I pyched, but i must say there are huge zones of dispair when I cant figure it out for several hours, but gotta stay positive.

Heres what the code looks like now

-Thank you

Hi @mogarbobac,

It sounds like you’re looking for help with a specific project hosted on GitHub. While it’s definitely possible another GitHub user might have run into this same issue and can help, the GitHub Community Forum focuses primarily on topics related to GitHub itself or collaboration on project development and ideas.

We want to make sure you’re getting the best support you can, but this forum may not be the right place for this particular topic. I’d recommend checking the project’s README for instructions on how to best get support or the Python community discourse; a lot of projects will have you submit issues to their repo or provide email addresses for contact.

Best of luck!