This repository is now trimmed into a PPO-centered training skeleton for the future multi-user, multi-server MEC-DAG offloading task.
Before every Python command, training script, or test script, activate the project environment first:
conda activate dlonpolicy/algorithms/r_mappo/: PPO updater, policy wrapper, actor, criticonpolicy/utils/shared_buffer.py: shared rollout buffer and GAEonpolicy/utils/separated_buffer.py: separated rollout buffer and GAEonpolicy/runner/shared/base_runner.py: shared-policy runner frameworkonpolicy/runner/separated/base_runner.py: separated-policy runner frameworkonpolicy/envs/env_wrappers.py: vectorized environment wrappers
- MPE wrappers and training scripts
- SMAC/StarCraft wrappers and training scripts
- Hanabi wrappers and evaluation scripts
- Football task-specific wrappers and scripts
- HAPPO, HATRPO, MAT and their helper scripts
The following files are the intended integration points for the new MEC-DAG simulator:
onpolicy/envs/mec_dag/mec_dag_env.py: implement the MEC-DAG environment class hereonpolicy/runner/shared/mec_dag_runner.py: implement shared-policy rollout logic hereonpolicy/runner/separated/mec_dag_runner.py: implement separated-policy rollout logic hereonpolicy/scripts/train/train_mec_dag.py: wire parser, environment creation, and runner selection here
conda activate dl
pip install -e .