schroederdewitt / multiagent_mujoco

Benchmark for Continuous Multi-Agent Robotic Control, based on OpenAI's Mujoco Gym environments.
Apache License 2.0
330 stars 34 forks source link

ModuleNotFoundError: No module named 'envs' #11

Closed yeshenpy closed 3 years ago

yeshenpy commented 3 years ago

Traceback (most recent call last): File "run_maxminMADDPG.py", line 227, in env = MujocoMulti(env_args=CONFIG[args.env_name]) File "/home/wangcong/MARL/src/multiagent_mujoco/mujoco_multi.py", line 82, in init from envs import REGISTRY as env_REGISTRY Any advice about this issue?

Best wishes.

schroederdewitt commented 3 years ago

Hi, can you post the env_args you are using? Cheers!

yeshenpy commented 3 years ago

I have solved the problem, some env information is missing from the folder. But I still have some questions. After testing, the dimension of obs of manyagent_ant is 150? Why is it so large?

whynot-s commented 3 years ago

I have solved the problem, some env information is missing from the folder. But I still have some questions. After testing, the dimension of obs of manyagent_ant is 150? Why is it so large?

Hi, may I ask how you solved the problem? I have encountered the same error while running the many-agent-swimmer. Thanks :) @yeshenpy

yeshenpy commented 3 years ago

@whynot-s you need to copy the file from the comix project provided by the original paper. rename the file as the comix project and add the file.

HaoshengZou commented 3 years ago

I've provided a minimal fix for this #12 .

schroederdewitt commented 3 years ago

Thanks a lot for this fix, Haosheng, which I have just merged back into the repository. It turned out I had failed to push the latest project version to the repo, but your changes are a bit more precise so I have kept yours. Thanks again!