minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
654 stars 151 forks source link

env.render() issue #751

Closed JoHaYoung227 closed 3 months ago

JoHaYoung227 commented 4 months ago

스크린샷 2024-02-27 032635

It seems that when using the env.render() code, the window appears distorted. I wonder why. Could it be because I'm using a CPU environment without GPU support? Additionally, if I drag the window back and forth, the screen appears correctly. However, it's not practical to keep dragging it to view the screen continuously, so I need a solution. so I need a solution. Thank you

Miffyli commented 4 months ago

Hey. Which OS and system are you using, and which MineRL did you install? This could be an OS level issue, however I have not used "env.render" in a while and something might have gone off in the dependencies.

JoHaYoung227 commented 4 months ago

I am using a Linux Ubuntu environment, and I'm using version 0.3.7 of MineRL.

Miffyli commented 3 months ago

0.3.7 render should work fine, but I have not tried it in a long time. Unfortunately I do not have better suggestions to give other than checking this on another system or using different means to render the images shown in the game (e.g., take the image observation and use opencv2 cv2.imshow command).

JoHaYoung227 commented 3 months ago

Thank you for your response. :)