minerl
minerl copied to clipboard
minerl-0.4 observation['pov'] does not show inventory bar
When using plt.imshow to get the RGB observation of the agent, the picture does not contain the inventory bar or health stats. How should I also get that information in my RGB observation?
Heya. MineRL versions older than 1.0 do not support inventory observation in the RGB image, it has been hardcode-removed from the image observation. I am not sure if it can be (easily) added back. This would definitely require modifying the Java code.
Also remember that the observations are 64x64 in version 0.4, you wouldn't see much detail in the inventory bar or health stats when downsampled so much.
Thanks for your reply. The 64*64 is the default, but I can also adjust the resolution right?
By default only BASALT environments come with higher resolution variant. You will have to modify the environment specifications to increase the resolution. See this line for a hint on how to do it (sorry, there is no convenient interface to change it).