When I was running the example for Running SC2 with SelfPlay + PPO2, the following error occurred when I started the learner process. Why is such a problem?
(python-3.7.10) sh-4.4$bash example_sc2_sp_ppo2.sh learner
Running as learner
Empty config string, returning empty dict
Empty config string, returning empty dict
pygame 2.1.2 (SDL 2.0.16, Python 3.7.10)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "/home/anaconda3/envs/python-3.7.10/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/anaconda3/envs/python-3.7.10/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/work/tff_files/alphastar/TLeague-dev-open/tleague/bin/run_pg_learner.py", line 138, in <module>
app.run(main)
File "/home/anaconda3/envs/python-3.7.10/lib/python3.7/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/home/anaconda3/envs/python-3.7.10/lib/python3.7/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/home/work/alphastar/TLeague-dev-open/tleague/bin/run_pg_learner.py", line 93, in main
ob_space, ac_space = env_space(FLAGS.env, env_config, interface_config)
File "/home/work/alphastar/TLeague-dev-open/tleague/envs/create_envs.py", line 75, in env_space
return sc2_env_space(arena_id, env_config, inter_config)
File "/home/work/alphastar/TLeague-dev-open/tleague/envs/sc2/create_sc2_envs.py", line 493, in sc2_env_space
**inter_config
File "/home/work/alphastar/TLeague-dev-open/tleague/envs/sc2/create_sc2_envs.py", line 336, in make_sc2full_v8_interface
**kwargs)
File "/home/work/alphastar/Arena-dev-open/arena/interfaces/sc2full_formal/obs_int.py", line 36, in __init__
crop_to_playable_area=crop_to_playable_area)
File "/home/work/alphastar/TImitate-dev-open/timitate/lib6/pb2feature_converter.py", line 1096, in __init__
distinguish_effect_camp, lurker_effect_decay))
IndexError: tuple index out of range