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

运行 python test.py 报错

Open fortarch opened this issue 1 year ago • 3 comments

1681655023057

fortarch avatar Apr 16 '23 14:04 fortarch

上述报错通过降级 protobuf ,升级 Numpy解决了。现在是新的错误。

2023-04-16 22:50:00.559332: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2023-04-16 22:50:00.572326: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. C:\ProgramData\Anaconda3\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:\ProgramData\Anaconda3\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"

fortarch avatar Apr 16 '23 14:04 fortarch

ppo_ryu_2000000_steps_updated.zip 要解压吗?

fortarch avatar Apr 16 '23 15:04 fortarch

不需要

awake2023 avatar Apr 20 '23 08:04 awake2023