在运行倒立摆代码时发现无任何弹窗显示,发现改成这句就可以了
env = gym.make(‘CartPole-v1’, render_mode=“human”)
observation, reward, done, info, _ = env.step(env.action_space.sample())必须是五个参数,四个参数会显示不匹配
gym倒立摆没有任何弹窗显示
最新推荐文章于 2023-03-11 13:03:16 发布
在运行倒立摆代码时发现无任何弹窗显示,发现改成这句就可以了
env = gym.make(‘CartPole-v1’, render_mode=“human”)
observation, reward, done, info, _ = env.step(env.action_space.sample())必须是五个参数,四个参数会显示不匹配