当前位置:网站首页>Error occurred in pycharm DeprecatedEnv: Env FrozenLake-v0 not found (valid versions include [‘FrozenLake-v1‘])

Error occurred in pycharm DeprecatedEnv: Env FrozenLake-v0 not found (valid versions include [‘FrozenLake-v1‘])

2022-06-11 07:02:00 Faith_ xzc

Screenshot of the problem

 Insert picture description here

Problem description

stay pycharm Run in python When the program appears gym.error.DeprecatedEnv: Env FrozenLake-v0 not found (valid versions include [‘FrozenLake-v1’])

Question why

Pendulum-v0 The version of is wrong
 Insert picture description here

terms of settlement

take Pendulum-v0 Change it to Pendulum-v1 That's all right.
 Insert picture description here

Screenshot of success

 Insert picture description here

原网站

版权声明
本文为[Faith_ xzc]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/06/202206110701579675.html