Although values are probably better to monitor, when you got some experience, in the beginning, for debugging and for presentations you like to watch your agent playing games. Depending on the IDE there are partially different ways to do it.
Although values are probably better to monitor, when you got some experience, in the beginning, for debugging and for presentations you like to watch your agent playing games. Depending on the IDE there are partially different ways to do it.
## Recording Videos
## Recording Videos
The best solution is probably to make periodic videos. In this way, you can look at the capabilities at different learning states and you can rewatch it later on. In JupyterLab right-click on a video and select *Open in New Browser Tab*.
The best solution is probably to make periodic videos. In this way, you can look at the capabilities at different learning states and you can rewatch it later on. In JupyterLab right-click on a video and select *Open in New Browser Tab*.
You can also watch the game live during training, maybe every few episodes or so. For that, choose `render_mode="rgb_array"` and make a first `imshow` plot. *Very important: The cell has to end after making the plot, because the plot will only be visible when the cell finishes.* In the second cell the plot gets updated.
You can also watch the game live during training, maybe every few episodes or so. For that, choose `render_mode="rgb_array"` and make a first `imshow` plot. *Very important: The cell has to end after making the plot, because the plot will only be visible when the cell finishes.* In the second cell the plot gets updated.