My code of 3 submissions for 3 sub competitions
Targeted Adversarial Attack https://www.kaggle.com/c/nips-2017-targeted-adversarial-attack
Non-targeted Adversarial Attack https://www.kaggle.com/c/nips-2017-non-targeted-adversarial-attack
Defense Against Adversarial Attack https://www.kaggle.com/c/nips-2017-defense-against-adversarial-attack
I did not focus on image processing but tried to apply Game Theory in these 3 competitions. And the results showed that this approach worked pretty well.
All models in these submssions are from the tensorflow repository
In order to load different models into one session, the scope should be renamed.
python tensorflow_rename_variables.py --checkpoint_dir=adv_inception_v3.ckpt --output_dir=nips_adv_inception_v3.ckpt --replace_from=InceptionV3 --replace_to=NipsInceptionV3
python tensorflow_rename_variables.py --checkpoint_dir=ens4_adv_inception_v3.ckpt --output_dir=nips04_ens4_adv_inception_v3.ckpt --replace_from=InceptionV3 --replace_to=Nips04InceptionV3
python tensorflow_rename_variables.py --checkpoint_dir=inception_resnet_v2_2016_08_30.ckpt --output_dir=nips_inception_resnet_v2_2016_08_30.ckpt --replace_from=InceptionResnetV2 --replace_to=NipsInceptionResnetV2