This repo is for the Adversarial Attack Competition of CVPR workshop 2024.
Below we generate perturbation to attack objects, such as car, person, stop sign and etc.
- clone repo
git clone --recursive git@github.com:marioyyds/EMA.git- python==3.8
- mmdetection v3.3.0
# case 1 (recommended)
cd mmdetection
pip install -v -e .
# case 2
pip install -U openmim
mim install mmengine
mim install "mmcv>=2.0.0"
mim install mmdet==3.3.0- pip install -r requirements.txt
Place your datasets to data folder as following.
-
run
python mmdet_model_info.pyto download pre-trained models from MMCV. -
run
python attack_ensemble_patch.pyto perform attacks.