# Getting Started

Create environment with conda:
```bash
conda create -n SOPS python=3.8
conda activate SOPS
pip install -r requirements.txt
```

MAgent environment:
```bash
pip install magent==0.1.14
pip install pettingzoo==1.12.0
cp env/battle_v3_view7.py PATH_TO_YOUR_PETTINGZOO_ENV/pettingzoo/magent/
cp env/adversarial_pursuit_view8_v3.py PATH_TO_YOUR_PETTINGZOO_ENV/pettingzoo/magent/
```

IMP environment:
```bash
pip install git+https://github.com/moratodpg/imp_marl.git
```

Examples of Commands for Starting Training:
```bash
nohup env CUDA_VISIBLE_DEVICES=0 python src/main.py --config=SOPS_n6 --env-config=MAgent_Battle_25 > train_$(date +%Y%m%d_%H%M%S).log 2>&1 &
```
