Harry67Hu / MADPS

Official implementation of the AAMAS 2024 paper Measruing Policy Distance for MARL.
2 stars 3 forks source link

pz-mpe-large-spread-v1没有注册 #1

Open albert-jin opened 3 months ago

albert-jin commented 3 months ago

File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 145, in make return registry.make(id, **kwargs) File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 89, in make spec = self.spec(path) File "D:\anaconda3\envs\madps\lib\site-packages\gym\envs\registration.py", line 131, in spec raise error.UnregisteredEnv('No registered env with id: {}'.format(id)) gym.error.UnregisteredEnv: No registered env with id: pz-mpe-large-spread-v1

Process finished with exit code 0 你说:“Replace the file directory at madps/large_spread_example.py with pettingzoo/mpe/scenarios/large_spread.py to access the updated task.” pz-mpe-large-spread-v1没有注册,是不是单纯的替换环境的这个文件为你给的large_spread_example.py,不能被识别?是不是还需要额外把他加到pettingzoo的环境注册表里面?

Harry67Hu commented 3 months ago

你好,我记得我在配环境的时候直接遵循pettingzoo的就配置好了,可以将large_spread_example.py里面的内容替换掉原生的就可以了。