ml4a / ml4a

A python library and collection of notebooks for making art with machine learning.

Home Page:https://ml4a.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DQN guide: game.render() is blank

genekogan opened this issue · comments

game.render() seems to draw a blank screen for me in the DQN guide. i stepped through the guide and pushed the output to the repo so pull first. maybe this is a 2.7/3 discrepancy again?

yeah there's a line in the guide noting that the game won't render in a notebook:

Note that this needs to be run in the terminal in order to visualize the game.

I haven't figured out a good way of doing that kind of rendering in a notebook (replacing old content and updating with new content) but I'm open to suggestions!

i've commented it out in the notebook and added that note. via 64ec56e