street-fighter-ai icon indicating copy to clipboard operation
street-fighter-ai copied to clipboard

按照README.MD文件描述步骤进行了,可是还是卡在了运行的最后一步,找了很多方法,依然不行。

Open 1evykim opened this issue 1 year ago • 2 comments

C:\Users\my.conda\envs\StreetFighterAI\lib\site-packages\stable_baselines3\common\save_util.py:166: UserWarning: Could not deserialize object observation_space. Consider using custom_objects argument to replace this object. Exception: __randomstate_ctor() takes from 0 to 1 positional arguments but 2 were given warnings.warn( Traceback (most recent call last): File "test.py", line 53, in model = PPO.load(os.path.join(MODEL_DIR, MODEL_NAME), env=env) File "C:\Users\my.conda\envs\StreetFighterAI\lib\site-packages\stable_baselines3\common\base_class.py", line 678, in load raise KeyError("The observation_space and action_space were not given, can't verify new environments") KeyError: "The observation_space and action_space were not given, can't verify new environments" 以上是报错信息,有大佬可以解答问题在哪里吗?谢谢!

1evykim avatar Apr 21 '23 05:04 1evykim

我也碰到这类问题

wuzhendong123 avatar May 02 '23 16:05 wuzhendong123

也卡在这了

wuzhendong123 avatar May 02 '23 16:05 wuzhendong123