Skip to content

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

@xjy8943

Description

@xjy8943

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions