Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'DiagGaussianPdType' object has no attribute 'pdfromlatent' #2

Open
xjy8943 opened this issue Oct 11, 2018 · 0 comments

Comments

@xjy8943
Copy link

xjy8943 commented Oct 11, 2018

Traceback (most recent call last):
File "E:/桌面/github_video/candy-master/main.py", line 644, in
main()
File "E:/桌面/github_video/candy-master/main.py", line 627, in main
wrapper = Carla_Wrapper()
File "E:\桌面\github_video\candy-master\carla_wrapper.py", line 27, in init
self.machine = Machine()
File "E:\桌面\github_video\candy-master\candy_model.py", line 68, in init
self.ppo = PPO(args, 'ppo', z=z, test_z=test_z, ent_coef=0.00000001, vf_coef=1, max_grad_norm=0.5)
File "E:\桌面\github_video\candy-master\modules\ppo.py", line 80, in init
act_model = LstmPolicy(args, 'ppo', test_z, 1, 1, reuse=False)
File "E:\桌面\github_video\candy-master\modules\ppo.py", line 46, in init
self.pd, self.pi = self.pdtype.pdfromlatent(o)
AttributeError: 'DiagGaussianPdType' object has no attribute 'pdfromlatent'
请问找不到 pdfromlatent 怎么回事啊 用的baselines 0.1.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant