You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\lzlbi\PycharmProjects\PPO\train.py", line 86, in
main()
File "C:\Users\lzlbi\PycharmProjects\PPO\train.py", line 63, in main
agent = Agent(alg, obs_dim=obs_dim, act_dim=act_dim)
File "C:\Users\lzlbi\PycharmProjects\PPO\agent.py", line 11, in __init__
super(Agent, self).__init__(algorithm)
File "D:\anaconda\envs\paddle\lib\site-packages\parl\core\fluid\agent.py", line 81, in __init__
self.build_program()
File "C:\Users\lzlbi\PycharmProjects\PPO\agent.py", line 20, in build_program
self.act_prob = self.alg.predict(obs)
File "D:\anaconda\envs\paddle\lib\site-packages\parl\core\fluid\algorithm.py", line 196, in predict
raise NotImplementedError
NotImplementedError
版本:parl==1.4
paddle paddle==1.8.5
gym==0.18.0
Python ==3.7.7
The text was updated successfully, but these errors were encountered:
按照课上讲的代码policy gradient 运行后报错raise NotImplementedError
Traceback (most recent call last): File "C:\Users\lzlbi\PycharmProjects\PPO\train.py", line 86, in main() File "C:\Users\lzlbi\PycharmProjects\PPO\train.py", line 63, in main agent = Agent(alg, obs_dim=obs_dim, act_dim=act_dim) File "C:\Users\lzlbi\PycharmProjects\PPO\agent.py", line 11, in __init__ super(Agent, self).__init__(algorithm) File "D:\anaconda\envs\paddle\lib\site-packages\parl\core\fluid\agent.py", line 81, in __init__ self.build_program() File "C:\Users\lzlbi\PycharmProjects\PPO\agent.py", line 20, in build_program self.act_prob = self.alg.predict(obs) File "D:\anaconda\envs\paddle\lib\site-packages\parl\core\fluid\algorithm.py", line 196, in predict raise NotImplementedError NotImplementedError 版本:parl==1.4 paddle paddle==1.8.5 gym==0.18.0 Python ==3.7.7The text was updated successfully, but these errors were encountered: