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.64k stars 489 forks source link

TypeError: must be str, not NoneType . run train.py #29

Closed SHYang1210 closed 5 years ago

SHYang1210 commented 5 years ago

i run train.py,the following error: Traceback (most recent call last): File "/home/shy/桌面/maddpg-master/experiments/train.py", line 195, in train(arglist) File "/home/shy/桌面/maddpg-master/experiments/train.py", line 184, in train rew_file_name = arglist.plots_dir + arglist.exp_name TypeError: must be str, not NoneType

hudapeng2016 commented 5 years ago

Force conversion to string format

anirudhajitani commented 5 years ago

i think you should provide the exp_name as part of the arguments when you run the code using --env_name