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
Hi, I have this error in running! #13
Comments
Hey, |
yes,I also use the coma.Did you know how to solve this problem? |
yes, I also using COMA,Do you know how to solve this problem? |
I have not investigated yet. |
Sorry for the late reply. It's unlikely I'll be able to take a look at this issue in the next couple of weeks. Are you using pytorch version >1? If the problem only occurs with COMA, then the code for the parallel_runner is unlikely to be the problem. Any unavailable actions should not be chosen by the action selector, but it would be worth checking that is indeed true. |
Hi,thanks for your reply!I am use the pytorch version is >1.I am not test other algorithm recently!But somebody test the qmix algorithm is running normal! |
so,can you solve this problem in recent weeks?Thank you! |
so,can you solve this problem in recent weeks?Thank you! @samvelyan |
Encountered the same issue when running QMIX as well. It occurs when running the following command: Tested it in two machines, but both have the same issue. I am using PyTorch 0.4.1. I would appreciate if you could provide pointers on how to fix this issue. |
I'll take another look at this issue soon. |
I haven't been able to reproduce this to debug it. |
Same issue with QMIX. Rarely happens but happened today.
|
The error is like this:
'Process Process-3:
Traceback (most recent call last):
File "/home/a/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/a/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/a/COMA/pymarl/src/runners/parallel_runner.py", line 221, in env_worker
reward, terminated, env_info = env.step(actions)
File "/home/a/anaconda3/lib/python3.6/site-packages/smac/env/starcraft2/starcraft2.py", line 373, in step
agent_action = self.get_agent_action(a_id, action)
File "/home/a/anaconda3/lib/python3.6/site-packages/smac/env/starcraft2/starcraft2.py", line 439, in get_agent_action
"Agent {} cannot perform action {}".format(a_id, action)
AssertionError: Agent 0 cannot perform action 0
'
Can you help me to solve this?Thanks!
The text was updated successfully, but these errors were encountered: