├── README.md ├── attacks_crafting.py ├── bd_image_visual.py ├── run_attack.sh ├── run_clean.sh ├── run_detect.sh ├── run_mitigate.sh ├── src ├── mlp.py ├── resnet.py └── utils.py ├── train.py ├── train_models_contam.py ├── univ_bd.py └── univ_bm.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/README.md -------------------------------------------------------------------------------- /attacks_crafting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/attacks_crafting.py -------------------------------------------------------------------------------- /bd_image_visual.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/bd_image_visual.py -------------------------------------------------------------------------------- /run_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/run_attack.sh -------------------------------------------------------------------------------- /run_clean.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/run_clean.sh -------------------------------------------------------------------------------- /run_detect.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/run_detect.sh -------------------------------------------------------------------------------- /run_mitigate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/run_mitigate.sh -------------------------------------------------------------------------------- /src/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/src/mlp.py -------------------------------------------------------------------------------- /src/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/src/resnet.py -------------------------------------------------------------------------------- /src/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/src/utils.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/train.py -------------------------------------------------------------------------------- /train_models_contam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/train_models_contam.py -------------------------------------------------------------------------------- /univ_bd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/univ_bd.py -------------------------------------------------------------------------------- /univ_bm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wanghangpsu/MM-BD/HEAD/univ_bm.py --------------------------------------------------------------------------------