[英]Is there a way to slow down the game environment with gym’s OpenAI?
When I render an environment with gym it plays the game so fast that I can't see what is going on.当我用gym渲染环境时,它玩游戏的速度太快了,我看不到发生了什么。 And it shouldn't be a problem with the code because I tried a lot of different ones.
而且代码应该没有问题,因为我尝试了很多不同的代码。
每次渲染后使用time.sleep(.1)
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.