openai / maddpg

Code for the MADDPG algorithm from the paper "Multi-Agent Actor-Critic for Mixed Cooperative-Competitive Environments"
https://arxiv.org/pdf/1706.02275.pdf
MIT License
1.59k stars 484 forks source link

A question about maddpg.py #68

Open chengdusunny opened 2 years ago

chengdusunny commented 2 years ago

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.