Adding text description
As the last example of this chapter, we'll add text description of the problem into observations of our model. We've already mentioned that some problems contain vital information given in a text description, like the index of tabs needed to be clicked or list of entries that the agent needs to check. The same information is shown on the top of the image observation, but pixels is not always the best representation of a simple text.
To take this text into account, we need to extend our model's input from an image only to an image and text data. We have worked with text in the previous chapter, so a Recurrent Neural Network (RNN) is quite an obvious choice (maybe not the best for such a toy problem but it is flexible and ...
Get Deep Reinforcement Learning Hands-On now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.