Open Isaac009 opened 5 months ago
Sorry for the late reply. This error occurs when battle_won flag is not properly defined throughout the training. starcraft_LAGMA.py in the uploaded code resolved this problem. Please make sure to use starcraft_LAGMA.py instead of original starcraft.py Thanks.
I did not find the two files you mentioned in the code directory, and I encountered this error as well. I would greatly appreciate it if you could provide me with a solution
Please see the file (starcraft2_LAGMA.py) in the following path: https://github.com/aailabkaist/LAGMA/tree/lagma_master/LAGMA_smac_env/smac/env/starcraft2
If you already installed pymarl with the original code, please check whether init.py designates the correct path for starcraft2_LAGMA as in https://github.com/aailabkaist/LAGMA/blob/lagma_master/LAGMA_smac_env/smac/env/__init__.py
Thanks.
Hello there,
I'm trying to run the following command but got an error:
python3 LAGMA_v0_release/src/main.py --config=lagma_sc2 --env-config=sc2 with env_args.map_name=5m_vs_6m
This is the error: File "/home/jupyter-isack/Documents/LAGMA_v0_release/src/runners/episode_runner.py", line 149, in run "flag_win": [(bool(env_info['battle_won']),)], KeyError: 'battle_won'
I will appreciate any help I can get, thank you.