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.6k stars 484 forks source link

rnn_]cell=None is a Syntax Error in both Python 2 and 3 #2

Closed cclauss closed 6 years ago

cclauss commented 6 years ago

https://github.com/openai/maddpg/blob/master/experiments/train.py#L41

flake8 testing of https://github.com/openai/maddpg on Python 2.7.14

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./experiments/train.py:41:73: E999 SyntaxError: invalid syntax
def mlp_model(input, num_outputs, scope, reuse=False, num_units=64, rnn_]cell=None):
                                                                        ^
1     E999 SyntaxError: invalid syntax
ryan-lowe commented 6 years ago

Hi, Sorry about that, should be fixed with the newest pull request. -Ryan