It's a research about reinforcement learning. I use pysc2 as environment.The original paper is sc2le, you can see and know how it work, and algorithm is a3c.
- of course. the StarCraft II game, and remember to download the mini game
- pysc2 (version is 2.0.1)
- numpy
- tensorflow-gpu (version is 1.10)
- absl-py
Because my system is windows 10 and anaconda of python3.7, so I create a python environment named "tf-gpu" and use python3.5 to run, you can skip the first and the last step if you are using another system.
activate tf-gpu
cd my-pysc2
python main.py
deactivate
python main.py --map=MoveToBeacon --train=False --envs=1 --exploration_mode=eg
The code is based on here. I really appreciat.
I'm not familiar with tensorflow and numpy, and just learning reinforcement learning. So the code has many annotation.