├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── ReadmeImages ├── Fig_nadal_2_small.png └── Fig_stopsign_2_small.png ├── ShowAndTellREADME.md ├── WORKSPACE ├── adjective.txt ├── adverb.txt ├── demo.sh ├── download_model.sh ├── examples ├── image1.jpg ├── image2.jpg ├── image3.jpg └── image4.jpg ├── g3doc ├── COCO_val2014_000000224477.jpg ├── example_captions.jpg └── show_and_tell_architecture.png ├── gen_table.py ├── im2txt ├── BUILD ├── attack_wrapper.py ├── configuration.py ├── data │ ├── build_mscoco_data.py │ └── download_and_preprocess_mscoco.sh ├── evaluate.py ├── inference_utils │ ├── BUILD │ ├── caption_generator.py │ ├── caption_generator_test.py │ ├── inference_wrapper_base.py │ └── vocabulary.py ├── inference_wrapper.py ├── l2_attack.py ├── ops │ ├── BUILD │ ├── image_embedding.py │ ├── image_embedding_test.py │ ├── image_processing.py │ └── inputs.py ├── pretrained │ ├── LICENSE │ ├── README.md │ ├── model.ckpt-2000000.index │ ├── upgrade_tf_model.py │ └── word_counts.txt ├── run_attack.py ├── run_attack_BATCH_search_C.py ├── run_inference.py ├── show_and_fool_demo.py ├── show_and_tell_model.py ├── show_and_tell_model_test.py └── train.py ├── noun.txt ├── process_transfer.py ├── run_attack.sh ├── verb.txt └── wordPOS ├── adjective.txt ├── adverb.txt ├── noun.txt └── verb.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/README.md -------------------------------------------------------------------------------- /ReadmeImages/Fig_nadal_2_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/ReadmeImages/Fig_nadal_2_small.png -------------------------------------------------------------------------------- /ReadmeImages/Fig_stopsign_2_small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/ReadmeImages/Fig_stopsign_2_small.png -------------------------------------------------------------------------------- /ShowAndTellREADME.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/ShowAndTellREADME.md -------------------------------------------------------------------------------- /WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "im2txt") 2 | -------------------------------------------------------------------------------- /adjective.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/adjective.txt -------------------------------------------------------------------------------- /adverb.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/adverb.txt -------------------------------------------------------------------------------- /demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/demo.sh -------------------------------------------------------------------------------- /download_model.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/download_model.sh -------------------------------------------------------------------------------- /examples/image1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/examples/image1.jpg -------------------------------------------------------------------------------- /examples/image2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/examples/image2.jpg -------------------------------------------------------------------------------- /examples/image3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/examples/image3.jpg -------------------------------------------------------------------------------- /examples/image4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/examples/image4.jpg -------------------------------------------------------------------------------- /g3doc/COCO_val2014_000000224477.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/g3doc/COCO_val2014_000000224477.jpg -------------------------------------------------------------------------------- /g3doc/example_captions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/g3doc/example_captions.jpg -------------------------------------------------------------------------------- /g3doc/show_and_tell_architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/g3doc/show_and_tell_architecture.png -------------------------------------------------------------------------------- /gen_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/gen_table.py -------------------------------------------------------------------------------- /im2txt/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/BUILD -------------------------------------------------------------------------------- /im2txt/attack_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/attack_wrapper.py -------------------------------------------------------------------------------- /im2txt/configuration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/configuration.py -------------------------------------------------------------------------------- /im2txt/data/build_mscoco_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/data/build_mscoco_data.py -------------------------------------------------------------------------------- /im2txt/data/download_and_preprocess_mscoco.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/data/download_and_preprocess_mscoco.sh -------------------------------------------------------------------------------- /im2txt/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/evaluate.py -------------------------------------------------------------------------------- /im2txt/inference_utils/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/inference_utils/BUILD -------------------------------------------------------------------------------- /im2txt/inference_utils/caption_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/inference_utils/caption_generator.py -------------------------------------------------------------------------------- /im2txt/inference_utils/caption_generator_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/inference_utils/caption_generator_test.py -------------------------------------------------------------------------------- /im2txt/inference_utils/inference_wrapper_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/inference_utils/inference_wrapper_base.py -------------------------------------------------------------------------------- /im2txt/inference_utils/vocabulary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/inference_utils/vocabulary.py -------------------------------------------------------------------------------- /im2txt/inference_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/inference_wrapper.py -------------------------------------------------------------------------------- /im2txt/l2_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/l2_attack.py -------------------------------------------------------------------------------- /im2txt/ops/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/ops/BUILD -------------------------------------------------------------------------------- /im2txt/ops/image_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/ops/image_embedding.py -------------------------------------------------------------------------------- /im2txt/ops/image_embedding_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/ops/image_embedding_test.py -------------------------------------------------------------------------------- /im2txt/ops/image_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/ops/image_processing.py -------------------------------------------------------------------------------- /im2txt/ops/inputs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/ops/inputs.py -------------------------------------------------------------------------------- /im2txt/pretrained/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/pretrained/LICENSE -------------------------------------------------------------------------------- /im2txt/pretrained/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/pretrained/README.md -------------------------------------------------------------------------------- /im2txt/pretrained/model.ckpt-2000000.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/pretrained/model.ckpt-2000000.index -------------------------------------------------------------------------------- /im2txt/pretrained/upgrade_tf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/pretrained/upgrade_tf_model.py -------------------------------------------------------------------------------- /im2txt/pretrained/word_counts.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/pretrained/word_counts.txt -------------------------------------------------------------------------------- /im2txt/run_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/run_attack.py -------------------------------------------------------------------------------- /im2txt/run_attack_BATCH_search_C.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/run_attack_BATCH_search_C.py -------------------------------------------------------------------------------- /im2txt/run_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/run_inference.py -------------------------------------------------------------------------------- /im2txt/show_and_fool_demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/show_and_fool_demo.py -------------------------------------------------------------------------------- /im2txt/show_and_tell_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/show_and_tell_model.py -------------------------------------------------------------------------------- /im2txt/show_and_tell_model_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/show_and_tell_model_test.py -------------------------------------------------------------------------------- /im2txt/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/im2txt/train.py -------------------------------------------------------------------------------- /noun.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/noun.txt -------------------------------------------------------------------------------- /process_transfer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/process_transfer.py -------------------------------------------------------------------------------- /run_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/run_attack.sh -------------------------------------------------------------------------------- /verb.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/verb.txt -------------------------------------------------------------------------------- /wordPOS/adjective.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/wordPOS/adjective.txt -------------------------------------------------------------------------------- /wordPOS/adverb.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/wordPOS/adverb.txt -------------------------------------------------------------------------------- /wordPOS/noun.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/wordPOS/noun.txt -------------------------------------------------------------------------------- /wordPOS/verb.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBM/Image-Captioning-Attack/HEAD/wordPOS/verb.txt --------------------------------------------------------------------------------