llSourcell/A-Guide-to-DeepMinds-StarCraft-AI-Environment
关于
This is the code for "A Guide to DeepMind's StarCraft AI Environment" by Siraj Raval on Youtube
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文A-Guide-to-DeepMind-s-StarCraft-AI-Environment-
This is the code for "A Guide to DeepMind's StarCraft AI Environment" by Siraj Raval on Youtube
Overview
This is the code for this video on on Youtube by Siraj Raval. This code will help you train or run a pretrained AI model in the DeepMind Starcraft II environment.
Dependencies
- pysc2 (Deepmind) [https://github.com/deepmind/pysc2]
- baselines (OpenAI) [https://github.com/openai/baselines]
- s2client-proto (Blizzard) [https://github.com/Blizzard/s2client-proto]
- Tensorflow 1.3 (Google) [https://github.com/tensorflow/tensorflow]
Usage
1. Get PySC2
PyPI
The easiest way to get PySC2 is to use pip:
$ pip install pysc2
Also, you have to install baselines library.
$ pip install baselines
2. Install StarCraft II
Mac / Win
You have to purchase StarCraft II and install it. Or even the Starter Edition will work.
http://us.battle.net/sc2/en/legacy-of-the-void/
Linux Packages
Follow Blizzard's documentation to
get the linux version. By default, PySC2 expects the game to live in
~/StarCraftII/.
3. Download Maps
Download the ladder maps
and the mini games
and extract them to your StarcraftII/Maps/ directory.
4. Train it!
$ python train_mineral_shards.py
5. Enjoy it!
$ python enjoy_mineral_shards.py
Credits
The credits for this code go to chris-chris. I've merely created a wrapper to get people started.
探索相关项目
加载中…