Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors #5

Closed
Haoxiang-Wang opened this issue Oct 18, 2017 · 2 comments
Closed

Errors #5

Haoxiang-Wang opened this issue Oct 18, 2017 · 2 comments

Comments

@Haoxiang-Wang
Copy link

Haoxiang-Wang commented Oct 18, 2017

When I use command bin/interactive.py --scenario simple.py, it turns out an error:

 /Users/salse/Dropbox/openai/multiagent-particle-envs/multiagent/environment.py(149)_set_action()
    148             import ipdb; ipdb.set_trace()
--> 149             action = [action]
    150 

The action seems undefined.

Also, could you give a example of training? I even don't know what to feed in env.step(). A single integer or a list of integer seems doesn't work.

@hot-cheeto
Copy link

Hello, I am having trouble as well with this. By any chance were you able to figure it out ?

@ryan-lowe
Copy link
Contributor

Wasn't getting that particular bug (action is received as input into _set_action() in line 135) but I fixed some other bugs and it should work now. Apologies for the confusion.

We're working on cleaning up some code for training. In the meantime, there's an open-source MADDPG implementation here:

https://github.com/xuehy/pytorch-maddpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants