A Tensorflow implementation of LSC.
-
./graph_nets: contains code for establishing communication sturcture. -
./examples/: contains scenarios for Ising Model and Battle Game (also models). -
train_battle.py: contains code for training Battle Game models
pip install ./Before running Battle Game environment, you need to compile it. You can get more helps from: MAgent
Steps for compiling
cd examples/battle_model
./build.shSteps for training models under Battle Game settings
-
Add python path in your
~/.bashrcor~/.zshrc:vim ~/.zshrc export PYTHONPATH=./examples/battle_model/python:${PYTHONPATH} source ~/.zshrc
-
Run training script for training:
./runtiny.sh