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

numpy error #11

Open
AI-Hello opened this issue Jul 3, 2021 · 2 comments
Open

numpy error #11

AI-Hello opened this issue Jul 3, 2021 · 2 comments

Comments

@AI-Hello
Copy link

AI-Hello commented Jul 3, 2021

when I execute:python3 src/main.py--config=comix--env config=particle with env_args.scenario=simple_ tag_coop t_max=1000000,An error occurred:“/home/hp/wendang/multiagent particle envs master/multiagent particle envs master/multiagent/core.py”, line 210, in apply_action_force:
p_force[i]=(agent.mass*agent.accel if agent.accel not None-else agent.mass)*agent.action.u+noise
AttributeError:'numpy.ndarray' object has no attribute'u'

@AI-Hello
Copy link
Author

AI-Hello commented Jul 3, 2021

Has anyone made the same mistake?

@Joe-Vincent
Copy link

@AI-Hello I am running into the same issue. Did you ever find a solution?

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

2 participants