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

Hello! I encountered some problems while running the train.py file under the MADDPG file and would like to seek your help. #36

Open dcy0324 opened 4 years ago

dcy0324 commented 4 years ago

Hello! When I run the train.py file in the experiments directory according to your instructions, I execute the following command, python train.py --scenario simple After the training, I got the following error, please ask, what is the reason for this, how should I modify it? Looking forward to your reply Traceback (most recent call last): File "train.py", line 193, in train(arglist) File "train.py", line 182, in train rew_file_name = arglist.plots_dir + arglist.exp_name + '_rewards.pkl' TypeError: must be str, not NoneType

hit618 commented 4 years ago

Hello! You can try to assign value to the parameters like this: python train.py --scenario simple --plots-dir 'plot_' --exp-name 'name'