python = 3.8.8
gym = 0.26.1
pettingzoo = 1.17.0
pygame = 2.1.2
After installing the required environment, you need to replace two specific files for proper functionality. Follow these steps:
-
Replace
clip_out_of_bounds.py
:- Navigate to the following path in your Anaconda environment:
Anaconda\envs\your_conda_environment_name\Lib\site-packages\pettingzoo\utils\wrappers
- Navigate to the following path in your Anaconda environment:
-
Replace
simple_tag.py
:- Go to the following directory in your Anaconda environment:
Anaconda\envs\your_conda_environment_name\Lib\site-packages\pettingzoo\mpe\scenarios
- Go to the following directory in your Anaconda environment:
Make sure to perform these replacements to ensure the correct functioning of the environment.
Note 1: Replace your_conda_environment_name
with the actual name of your Conda environment.
Note 2: The clip_out_of_bounds.py
and simple_tag.py
used for replacement can be found in "materials".
If you used this code for your experiments or found it helpful, consider citing the following paper:
@inproceedings{ma2024subplay, title={SUB-PLAY: Adversarial Policies against Partially Observed Multi-Agent Reinforcement Learning Systems}, author={Ma, Oubo and Pu, Yuwen and Du, Linkang and Dai, Yang and Wang, Ruo and Liu, Xiaolei and Wu, Yingcai and Ji, Shouling}, booktitle={Proceedings of the 2024 ACM SIGSAC Conference on Computer and Communications Security (CCS)}, year={2024} }