In some OpenAI gym environments, there is a "ram" version. For example: Breakout-v0 and Breakout-ram-v0.
Using Breakout-ram-v0, each observation is an array of length 128.
Question: How can I transform an observation of Breakout-v0 (which is a 160 x 210 image) into the form of an observation of Breakout-ram-v0 (which is an array of length 128)?
My idea is to train a model on the Breakout-ram-v0 and display the trained model playing using the Breakout-v0 environment.