Closed Jiayi-Pan closed 1 year ago
The image observation is available by default without setting the observation_type
obs, info = env.reset(options={"config_file": config_file})
img_obs = obs["image"]
# you can save the image as well
image = Image.fromarray(img_obs)
image.save('output_filename.png')
We will update to resolve this unintuitive design
Thank you for this great project? I am playing with the browser_env you created, and the program would fail when
observation_type="image"
Following is the script to reproduce and the error message I got