keras-team / keras-io

Keras documentation, hosted live at keras.io
Apache License 2.0
2.7k stars 2.01k forks source link

Deep Q network example missing dependency #489

Open cadop opened 3 years ago

cadop commented 3 years ago

I am not sure how this example can work, and perhaps there should be a warning at the top mentioning the required dependencies: https://keras.io/examples/rl/deep_q_network_breakout/

Using the View in Colab button doesn't work, since breakouts is not installed.

Running locally is confusing, because breakouts requires/tries to install mujoco, which is pretty expensive.

*edited, actually it seems to run (maybe?) even when pip install breakouts ends with an error on mujoco, but this is pretty confusing still. Ideally docs can warn users.

masskro0 commented 2 years ago

You can install the breakout gym environment by running pip install gym[atari]==0.21.0 pip install gym[accept-rom-license]==0.21.0