jooit / MinervaSc2

machine learning project using DeepMind's PySc2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MinervaSc2

A machine learning project using DeepMind's PySC2 and Tensorflow.

I refered to Sunghun Kim's repository for DQN class, etc.

Usage

At first, please download my git and some prerequisites.

Here's my example.

git clone https://github.com/phraust1612/MinervaSc2.git
sudo pip3 install pysc2
sudo pip3 install numpy
sudo pip3 install tensorflow

Specify your saving directory. For default, DQN structure will be saved at 'saved/',

so be sure that 'saved/' directory exists or prepare for your own.

To run learning process,

python3 trainingRL.py (starting episode number) (total episodes)

For default, starting episode and total number would be 0 and 100

Composition

  • trainingRL.py : run main learning loops via DQN.
  • minerva_agent.py : contains an agent class which decides actions for every step.
  • dqn.py : DQN network class, in order to devide target and learning networks.

About

machine learning project using DeepMind's PySc2

License:MIT License


Languages

Language:Python 100.0%