Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

A question about maddpg.py #68

@chengdusunny

Description

@chengdusunny

Hello,

I wanted to verify something I found in your code. In maddpg.py , there seems to be some problem with obs[None] in self.action. The error reported by the ide is :

return self.act(obs[None])[0]
TypeError: list indices must be integers or slices, not NoneType

So I write this issue to propose this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions