├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── .gitignore ├── .pylintrc ├── .setup_vm_and_run_tests.sh ├── .travis.yml ├── CODE_OF_CONDUCT.rst ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── assets ├── logo.png └── logo.psd ├── cleverhans ├── __init__.py ├── attack_bundling.py ├── attacks │ ├── __init__.py │ ├── attack.py │ ├── basic_iterative_method.py │ ├── carlini_wagner_l2.py │ ├── deep_fool.py │ ├── elastic_net_method.py │ ├── fast_feature_adversaries.py │ ├── fast_gradient_method.py │ ├── hop_skip_jump_attack.py │ ├── lbfgs.py │ ├── madry_et_al.py │ ├── max_confidence.py │ ├── momentum_iterative_method.py │ ├── noise.py │ ├── projected_gradient_descent.py │ ├── saliency_map_method.py │ ├── semantic.py │ ├── sparse_l1_descent.py │ ├── spatial_transformation_method.py │ ├── spsa.py │ └── virtual_adversarial_method.py ├── attacks_tf.py ├── attacks_tfe.py ├── augmentation.py ├── canary.py ├── compat.py ├── confidence_report.py ├── dataset.py ├── devtools │ ├── LICENSE.txt │ ├── __init__.py │ ├── autopep8_all.py │ ├── checks.py │ ├── list_files.py │ ├── mocks.py │ ├── tests │ │ ├── __init__.py │ │ └── test_format.py │ └── version.py ├── evaluation.py ├── experimental │ ├── README.md │ ├── __init__.py │ └── certification │ │ ├── README.md │ │ ├── __init__.py │ │ ├── certify.py │ │ ├── dual_formulation.py │ │ ├── nn.py │ │ ├── optimization.py │ │ ├── tests │ │ ├── dual_formulation_test.py │ │ ├── nn_test.py │ │ ├── optimization_test.py │ │ └── utils_test.py │ │ └── utils.py ├── future │ ├── README.md │ ├── __init__.py │ ├── jax │ │ └── __init__.py │ ├── tf2 │ │ ├── __init__.py │ │ ├── attacks │ │ │ ├── __init__.py │ │ │ ├── fast_gradient_method.py │ │ │ ├── projected_gradient_descent.py │ │ │ └── spsa.py │ │ └── utils_tf.py │ └── torch │ │ ├── __init__.py │ │ └── attacks │ │ ├── __init__.py │ │ ├── fast_gradient_method.py │ │ ├── noise.py │ │ ├── projected_gradient_descent.py │ │ └── semantic.py ├── initializers.py ├── loss.py ├── model.py ├── model_zoo │ ├── __init__.py │ ├── all_convolutional.py │ ├── basic_cnn.py │ ├── capsnet_deflect.py │ ├── deep_k_nearest_neighbors │ │ ├── __init__.py │ │ ├── dknn.md │ │ └── dknn.py │ ├── madry_lab_challenges │ │ ├── __init__.py │ │ ├── cifar10_model.py │ │ └── make_cifar10_joblib.py │ └── soft_nearest_neighbor_loss │ │ ├── SNNL_regularized_model.py │ │ ├── SNNL_regularized_train.py │ │ └── __init__.py ├── picklable_model.py ├── plot │ ├── __init__.py │ ├── image.py │ ├── pyplot_defaults.py │ ├── pyplot_image.py │ ├── save_pdf.py │ └── success_fail.py ├── serial.py ├── train.py ├── utils.py ├── utils_keras.py ├── utils_mnist.py ├── utils_pytorch.py ├── utils_tf.py └── utils_tfe.py ├── cleverhans_tutorials ├── __init__.py ├── cifar10_tutorial_tf.py ├── evaluate_pickled_model.py ├── mnist_blackbox.py ├── mnist_tutorial_cw.py ├── mnist_tutorial_jsma.py ├── mnist_tutorial_keras.py ├── mnist_tutorial_keras_tf.py ├── mnist_tutorial_picklable.py ├── mnist_tutorial_pytorch.py ├── mnist_tutorial_tf.py ├── mnist_tutorial_tfe.py ├── train_deflect.py ├── tutorial_models.py └── tutorial_models_tfe.py ├── defenses ├── README.md └── future │ ├── README.md │ ├── jax │ └── README.md │ ├── tf2 │ └── README.md │ └── torch │ └── README.md ├── docs ├── Makefile ├── _templates │ └── layout.html ├── conf.py ├── docs_requirements.txt ├── index.md └── source │ ├── attacks.md │ └── model.md ├── examples ├── README.md ├── RL-attack │ ├── README.md │ ├── enjoy-adv.py │ ├── model.py │ └── train.py ├── adversarial_asr │ ├── LibriSpeech │ │ ├── LICENSE.TXT │ │ └── test-clean │ │ │ ├── 61 │ │ │ └── 70968 │ │ │ │ ├── 61-70968-0011.wav │ │ │ │ └── 61-70968-0049.wav │ │ │ ├── 2300 │ │ │ └── 131720 │ │ │ │ └── 2300-131720-0015.wav │ │ │ ├── 2830 │ │ │ └── 3980 │ │ │ │ └── 2830-3980-0029.wav │ │ │ ├── 2961 │ │ │ └── 960 │ │ │ │ └── 2961-960-0020.wav │ │ │ ├── 3575 │ │ │ └── 170457 │ │ │ │ └── 3575-170457-0013.wav │ │ │ ├── 5105 │ │ │ └── 28241 │ │ │ │ └── 5105-28241-0006.wav │ │ │ ├── 5142 │ │ │ └── 36377 │ │ │ │ └── 5142-36377-0007.wav │ │ │ ├── 8224 │ │ │ └── 274381 │ │ │ │ └── 8224-274381-0007.wav │ │ │ └── 8230 │ │ │ └── 279154 │ │ │ └── 8230-279154-0017.wav │ ├── README.md │ ├── generate_imperceptible_adv.py │ ├── generate_masking_threshold.py │ ├── generate_robust_adv.py │ ├── model │ │ ├── checkpoint │ │ ├── ckpt-00908156.index │ │ ├── ckpt-00908156.meta │ │ └── events.out.tfevents.1543301105.e33cfcb49883 │ ├── read_data.txt │ ├── room_simulator.py │ ├── test_imperceptible_adv.py │ ├── test_robust_adv.py │ ├── tool.py │ └── util │ │ ├── convert_name_format.sh │ │ └── read_data_full.txt ├── adversarial_patch │ ├── AdversarialPatch.ipynb │ └── README.md ├── facenet_adversarial_faces │ ├── README.md │ ├── facenet_fgsm.py │ └── set_loader.py ├── imagenet_featadvs │ └── model.py ├── madry_lab_challenges │ ├── LICENSE │ ├── README │ ├── cifar10 │ │ └── attack_model.py │ └── mnist │ │ ├── attack_model.py │ │ └── madry_mnist_model.py ├── multigpu_advtrain │ ├── README.md │ ├── attacks_multigpu.py │ ├── evaluator.py │ ├── make_model.py │ ├── model.py │ ├── resnet_tf.py │ ├── run_multigpu.py │ ├── runner.py │ ├── test_attack_multigpu.py │ ├── test_run_multigpu.py │ ├── test_runner.py │ ├── trainer.py │ ├── utils.py │ ├── utils_cifar.py │ └── utils_svhn.py ├── nips17_adversarial_competition │ ├── .gitignore │ ├── README.md │ ├── dataset │ │ ├── README.md │ │ ├── dev_dataset.csv │ │ ├── download_images.py │ │ └── final_dataset.csv │ ├── dev_toolkit │ │ ├── .gitignore │ │ ├── README.md │ │ ├── download_data.sh │ │ ├── run_attacks_and_defenses.py │ │ ├── run_attacks_and_defenses.sh │ │ ├── sample_attacks │ │ │ ├── download_checkpoints.sh │ │ │ ├── fgsm │ │ │ │ ├── attack_fgsm.py │ │ │ │ ├── metadata.json │ │ │ │ └── run_attack.sh │ │ │ ├── noop │ │ │ │ ├── attack_noop.py │ │ │ │ ├── metadata.json │ │ │ │ └── run_attack.sh │ │ │ └── random_noise │ │ │ │ ├── attack_random_noise.py │ │ │ │ ├── metadata.json │ │ │ │ └── run_attack.sh │ │ ├── sample_defenses │ │ │ ├── adv_inception_v3 │ │ │ │ ├── defense.py │ │ │ │ ├── metadata.json │ │ │ │ └── run_defense.sh │ │ │ ├── base_inception_model │ │ │ │ ├── defense.py │ │ │ │ ├── metadata.json │ │ │ │ └── run_defense.sh │ │ │ ├── download_checkpoints.sh │ │ │ └── ens_adv_inception_resnet_v2 │ │ │ │ ├── defense.py │ │ │ │ ├── inception_resnet_v2.py │ │ │ │ ├── metadata.json │ │ │ │ └── run_defense.sh │ │ ├── sample_targeted_attacks │ │ │ ├── download_checkpoints.sh │ │ │ ├── iter_target_class │ │ │ │ ├── attack_iter_target_class.py │ │ │ │ ├── metadata.json │ │ │ │ └── run_attack.sh │ │ │ └── step_target_class │ │ │ │ ├── attack_step_target_class.py │ │ │ │ ├── metadata.json │ │ │ │ └── run_attack.sh │ │ └── validation_tool │ │ │ ├── README.md │ │ │ ├── submission_validator_lib.py │ │ │ └── validate_submission.py │ └── eval_infra │ │ ├── README.md │ │ ├── code │ │ ├── eval_lib │ │ │ ├── __init__.py │ │ │ ├── classification_results.py │ │ │ ├── cloud_client.py │ │ │ ├── dataset_helper.py │ │ │ ├── image_batches.py │ │ │ ├── submissions.py │ │ │ ├── tests │ │ │ │ ├── __init__.py │ │ │ │ ├── classification_results_test.py │ │ │ │ ├── fake_cloud_client.py │ │ │ │ ├── fake_cloud_client_test.py │ │ │ │ ├── image_batches_test.py │ │ │ │ ├── submissions_test.py │ │ │ │ └── work_data_test.py │ │ │ └── work_data.py │ │ ├── master.py │ │ ├── run_worker_locally.sh │ │ ├── start_worker_in_tmux.sh │ │ └── worker.py │ │ ├── run_master.sh │ │ ├── scripts │ │ ├── config.sh │ │ ├── copy_baselines.sh │ │ ├── copy_dataset_to_vm.sh │ │ ├── copy_eval_infra_to_vm.sh │ │ ├── create_workers.sh │ │ ├── prepare_virtualenv.sh │ │ ├── scp_cloud_vm.sh │ │ └── start_workers.sh │ │ └── validation_tool │ │ ├── validate_and_copy_submissions.py │ │ └── validate_submission_lib.py ├── robust_vision_benchmark │ ├── README.md │ └── cleverhans_attack_example │ │ ├── Dockerfile │ │ ├── main.py │ │ ├── requirements.txt │ │ └── utils.py └── test_imagenet_attacks.py ├── scripts ├── compute_accuracy.py ├── make_confidence_report.py ├── make_confidence_report_bundle_examples.py ├── make_confidence_report_bundled.py ├── make_confidence_report_spsa.py ├── plot_success_fail_curve.py ├── print_report.py └── show_images.py ├── setup.py ├── tests_pytorch └── test_utils.py ├── tests_tf ├── test_attack_bundling.py ├── test_attacks.py ├── test_attacks_tf.py ├── test_confidence_report.py ├── test_dataset.py ├── test_defenses.py ├── test_evaluation.py ├── test_mnist_blackbox.py ├── test_mnist_tutorial_cw.py ├── test_mnist_tutorial_jsma.py ├── test_mnist_tutorial_keras.py ├── test_mnist_tutorial_keras_tf.py ├── test_mnist_tutorial_tf.py ├── test_model.py ├── test_picklable_model.py ├── test_projected_gradient_descent.py ├── test_serial.py ├── test_utils.py ├── test_utils_keras.py └── test_utils_tf.py └── tutorials ├── README.md └── future ├── README.md ├── jax └── __init__.py ├── tf2 ├── __init__.py └── mnist_tutorial.py └── torch ├── __init__.py └── cifar10_tutorial.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/.gitignore -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/.pylintrc -------------------------------------------------------------------------------- /.setup_vm_and_run_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/.setup_vm_and_run_tests.sh -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/CODE_OF_CONDUCT.rst -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/assets/logo.png -------------------------------------------------------------------------------- /assets/logo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/assets/logo.psd -------------------------------------------------------------------------------- /cleverhans/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/__init__.py -------------------------------------------------------------------------------- /cleverhans/attack_bundling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attack_bundling.py -------------------------------------------------------------------------------- /cleverhans/attacks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/__init__.py -------------------------------------------------------------------------------- /cleverhans/attacks/attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/attack.py -------------------------------------------------------------------------------- /cleverhans/attacks/basic_iterative_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/basic_iterative_method.py -------------------------------------------------------------------------------- /cleverhans/attacks/carlini_wagner_l2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/carlini_wagner_l2.py -------------------------------------------------------------------------------- /cleverhans/attacks/deep_fool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/deep_fool.py -------------------------------------------------------------------------------- /cleverhans/attacks/elastic_net_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/elastic_net_method.py -------------------------------------------------------------------------------- /cleverhans/attacks/fast_feature_adversaries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/fast_feature_adversaries.py -------------------------------------------------------------------------------- /cleverhans/attacks/fast_gradient_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/fast_gradient_method.py -------------------------------------------------------------------------------- /cleverhans/attacks/hop_skip_jump_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/hop_skip_jump_attack.py -------------------------------------------------------------------------------- /cleverhans/attacks/lbfgs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/lbfgs.py -------------------------------------------------------------------------------- /cleverhans/attacks/madry_et_al.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/madry_et_al.py -------------------------------------------------------------------------------- /cleverhans/attacks/max_confidence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/max_confidence.py -------------------------------------------------------------------------------- /cleverhans/attacks/momentum_iterative_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/momentum_iterative_method.py -------------------------------------------------------------------------------- /cleverhans/attacks/noise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/noise.py -------------------------------------------------------------------------------- /cleverhans/attacks/projected_gradient_descent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/projected_gradient_descent.py -------------------------------------------------------------------------------- /cleverhans/attacks/saliency_map_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/saliency_map_method.py -------------------------------------------------------------------------------- /cleverhans/attacks/semantic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/semantic.py -------------------------------------------------------------------------------- /cleverhans/attacks/sparse_l1_descent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/sparse_l1_descent.py -------------------------------------------------------------------------------- /cleverhans/attacks/spatial_transformation_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/spatial_transformation_method.py -------------------------------------------------------------------------------- /cleverhans/attacks/spsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/spsa.py -------------------------------------------------------------------------------- /cleverhans/attacks/virtual_adversarial_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks/virtual_adversarial_method.py -------------------------------------------------------------------------------- /cleverhans/attacks_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks_tf.py -------------------------------------------------------------------------------- /cleverhans/attacks_tfe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/attacks_tfe.py -------------------------------------------------------------------------------- /cleverhans/augmentation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/augmentation.py -------------------------------------------------------------------------------- /cleverhans/canary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/canary.py -------------------------------------------------------------------------------- /cleverhans/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/compat.py -------------------------------------------------------------------------------- /cleverhans/confidence_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/confidence_report.py -------------------------------------------------------------------------------- /cleverhans/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/dataset.py -------------------------------------------------------------------------------- /cleverhans/devtools/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/devtools/LICENSE.txt -------------------------------------------------------------------------------- /cleverhans/devtools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/devtools/autopep8_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/devtools/autopep8_all.py -------------------------------------------------------------------------------- /cleverhans/devtools/checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/devtools/checks.py -------------------------------------------------------------------------------- /cleverhans/devtools/list_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/devtools/list_files.py -------------------------------------------------------------------------------- /cleverhans/devtools/mocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/devtools/mocks.py -------------------------------------------------------------------------------- /cleverhans/devtools/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/devtools/tests/test_format.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/devtools/tests/test_format.py -------------------------------------------------------------------------------- /cleverhans/devtools/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/devtools/version.py -------------------------------------------------------------------------------- /cleverhans/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/evaluation.py -------------------------------------------------------------------------------- /cleverhans/experimental/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/README.md -------------------------------------------------------------------------------- /cleverhans/experimental/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/experimental/certification/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/README.md -------------------------------------------------------------------------------- /cleverhans/experimental/certification/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/experimental/certification/certify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/certify.py -------------------------------------------------------------------------------- /cleverhans/experimental/certification/dual_formulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/dual_formulation.py -------------------------------------------------------------------------------- /cleverhans/experimental/certification/nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/nn.py -------------------------------------------------------------------------------- /cleverhans/experimental/certification/optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/optimization.py -------------------------------------------------------------------------------- /cleverhans/experimental/certification/tests/dual_formulation_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/tests/dual_formulation_test.py -------------------------------------------------------------------------------- /cleverhans/experimental/certification/tests/nn_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/tests/nn_test.py -------------------------------------------------------------------------------- /cleverhans/experimental/certification/tests/optimization_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/tests/optimization_test.py -------------------------------------------------------------------------------- /cleverhans/experimental/certification/tests/utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/tests/utils_test.py -------------------------------------------------------------------------------- /cleverhans/experimental/certification/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/experimental/certification/utils.py -------------------------------------------------------------------------------- /cleverhans/future/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/README.md -------------------------------------------------------------------------------- /cleverhans/future/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/future/jax/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/future/tf2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/future/tf2/attacks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/tf2/attacks/__init__.py -------------------------------------------------------------------------------- /cleverhans/future/tf2/attacks/fast_gradient_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/tf2/attacks/fast_gradient_method.py -------------------------------------------------------------------------------- /cleverhans/future/tf2/attacks/projected_gradient_descent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/tf2/attacks/projected_gradient_descent.py -------------------------------------------------------------------------------- /cleverhans/future/tf2/attacks/spsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/tf2/attacks/spsa.py -------------------------------------------------------------------------------- /cleverhans/future/tf2/utils_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/tf2/utils_tf.py -------------------------------------------------------------------------------- /cleverhans/future/torch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/future/torch/attacks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/torch/attacks/__init__.py -------------------------------------------------------------------------------- /cleverhans/future/torch/attacks/fast_gradient_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/torch/attacks/fast_gradient_method.py -------------------------------------------------------------------------------- /cleverhans/future/torch/attacks/noise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/torch/attacks/noise.py -------------------------------------------------------------------------------- /cleverhans/future/torch/attacks/projected_gradient_descent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/torch/attacks/projected_gradient_descent.py -------------------------------------------------------------------------------- /cleverhans/future/torch/attacks/semantic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/future/torch/attacks/semantic.py -------------------------------------------------------------------------------- /cleverhans/initializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/initializers.py -------------------------------------------------------------------------------- /cleverhans/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/loss.py -------------------------------------------------------------------------------- /cleverhans/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/__init__.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/all_convolutional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/all_convolutional.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/basic_cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/basic_cnn.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/capsnet_deflect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/capsnet_deflect.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/deep_k_nearest_neighbors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cleverhans/model_zoo/deep_k_nearest_neighbors/dknn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/deep_k_nearest_neighbors/dknn.md -------------------------------------------------------------------------------- /cleverhans/model_zoo/deep_k_nearest_neighbors/dknn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/deep_k_nearest_neighbors/dknn.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/madry_lab_challenges/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Models from 3 | https://github.com/MadryLab/cifar10_challenge 4 | """ 5 | -------------------------------------------------------------------------------- /cleverhans/model_zoo/madry_lab_challenges/cifar10_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/madry_lab_challenges/cifar10_model.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/madry_lab_challenges/make_cifar10_joblib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/madry_lab_challenges/make_cifar10_joblib.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/soft_nearest_neighbor_loss/SNNL_regularized_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/soft_nearest_neighbor_loss/SNNL_regularized_model.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/soft_nearest_neighbor_loss/SNNL_regularized_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/soft_nearest_neighbor_loss/SNNL_regularized_train.py -------------------------------------------------------------------------------- /cleverhans/model_zoo/soft_nearest_neighbor_loss/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/model_zoo/soft_nearest_neighbor_loss/__init__.py -------------------------------------------------------------------------------- /cleverhans/picklable_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/picklable_model.py -------------------------------------------------------------------------------- /cleverhans/plot/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Plotting and visualization 3 | """ 4 | -------------------------------------------------------------------------------- /cleverhans/plot/image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/plot/image.py -------------------------------------------------------------------------------- /cleverhans/plot/pyplot_defaults.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/plot/pyplot_defaults.py -------------------------------------------------------------------------------- /cleverhans/plot/pyplot_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/plot/pyplot_image.py -------------------------------------------------------------------------------- /cleverhans/plot/save_pdf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/plot/save_pdf.py -------------------------------------------------------------------------------- /cleverhans/plot/success_fail.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/plot/success_fail.py -------------------------------------------------------------------------------- /cleverhans/serial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/serial.py -------------------------------------------------------------------------------- /cleverhans/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/train.py -------------------------------------------------------------------------------- /cleverhans/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/utils.py -------------------------------------------------------------------------------- /cleverhans/utils_keras.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/utils_keras.py -------------------------------------------------------------------------------- /cleverhans/utils_mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/utils_mnist.py -------------------------------------------------------------------------------- /cleverhans/utils_pytorch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/utils_pytorch.py -------------------------------------------------------------------------------- /cleverhans/utils_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/utils_tf.py -------------------------------------------------------------------------------- /cleverhans/utils_tfe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans/utils_tfe.py -------------------------------------------------------------------------------- /cleverhans_tutorials/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/__init__.py -------------------------------------------------------------------------------- /cleverhans_tutorials/cifar10_tutorial_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/cifar10_tutorial_tf.py -------------------------------------------------------------------------------- /cleverhans_tutorials/evaluate_pickled_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/evaluate_pickled_model.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_blackbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_blackbox.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_tutorial_cw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_tutorial_cw.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_tutorial_jsma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_tutorial_jsma.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_tutorial_keras.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_tutorial_keras.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_tutorial_keras_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_tutorial_keras_tf.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_tutorial_picklable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_tutorial_picklable.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_tutorial_pytorch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_tutorial_pytorch.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_tutorial_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_tutorial_tf.py -------------------------------------------------------------------------------- /cleverhans_tutorials/mnist_tutorial_tfe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/mnist_tutorial_tfe.py -------------------------------------------------------------------------------- /cleverhans_tutorials/train_deflect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/train_deflect.py -------------------------------------------------------------------------------- /cleverhans_tutorials/tutorial_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/tutorial_models.py -------------------------------------------------------------------------------- /cleverhans_tutorials/tutorial_models_tfe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/cleverhans_tutorials/tutorial_models_tfe.py -------------------------------------------------------------------------------- /defenses/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/defenses/README.md -------------------------------------------------------------------------------- /defenses/future/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/defenses/future/README.md -------------------------------------------------------------------------------- /defenses/future/jax/README.md: -------------------------------------------------------------------------------- 1 | # Defenses implemented with JAX 2 | -------------------------------------------------------------------------------- /defenses/future/tf2/README.md: -------------------------------------------------------------------------------- 1 | # Defenses implemented with TensorFlow 2 2 | -------------------------------------------------------------------------------- /defenses/future/torch/README.md: -------------------------------------------------------------------------------- 1 | # Defenses implemented with PyTorch 2 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_templates/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/docs/_templates/layout.html -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/docs_requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/source/attacks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/docs/source/attacks.md -------------------------------------------------------------------------------- /docs/source/model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/docs/source/model.md -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/RL-attack/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/RL-attack/README.md -------------------------------------------------------------------------------- /examples/RL-attack/enjoy-adv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/RL-attack/enjoy-adv.py -------------------------------------------------------------------------------- /examples/RL-attack/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/RL-attack/model.py -------------------------------------------------------------------------------- /examples/RL-attack/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/RL-attack/train.py -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/LICENSE.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/LICENSE.TXT -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/2300/131720/2300-131720-0015.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/2300/131720/2300-131720-0015.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/2830/3980/2830-3980-0029.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/2830/3980/2830-3980-0029.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/2961/960/2961-960-0020.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/2961/960/2961-960-0020.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/3575/170457/3575-170457-0013.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/3575/170457/3575-170457-0013.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/5105/28241/5105-28241-0006.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/5105/28241/5105-28241-0006.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/5142/36377/5142-36377-0007.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/5142/36377/5142-36377-0007.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/61/70968/61-70968-0011.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/61/70968/61-70968-0011.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/61/70968/61-70968-0049.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/61/70968/61-70968-0049.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/8224/274381/8224-274381-0007.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/8224/274381/8224-274381-0007.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/LibriSpeech/test-clean/8230/279154/8230-279154-0017.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/LibriSpeech/test-clean/8230/279154/8230-279154-0017.wav -------------------------------------------------------------------------------- /examples/adversarial_asr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/README.md -------------------------------------------------------------------------------- /examples/adversarial_asr/generate_imperceptible_adv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/generate_imperceptible_adv.py -------------------------------------------------------------------------------- /examples/adversarial_asr/generate_masking_threshold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/generate_masking_threshold.py -------------------------------------------------------------------------------- /examples/adversarial_asr/generate_robust_adv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/generate_robust_adv.py -------------------------------------------------------------------------------- /examples/adversarial_asr/model/checkpoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/model/checkpoint -------------------------------------------------------------------------------- /examples/adversarial_asr/model/ckpt-00908156.index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/model/ckpt-00908156.index -------------------------------------------------------------------------------- /examples/adversarial_asr/model/ckpt-00908156.meta: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/model/ckpt-00908156.meta -------------------------------------------------------------------------------- /examples/adversarial_asr/model/events.out.tfevents.1543301105.e33cfcb49883: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/model/events.out.tfevents.1543301105.e33cfcb49883 -------------------------------------------------------------------------------- /examples/adversarial_asr/read_data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/read_data.txt -------------------------------------------------------------------------------- /examples/adversarial_asr/room_simulator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/room_simulator.py -------------------------------------------------------------------------------- /examples/adversarial_asr/test_imperceptible_adv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/test_imperceptible_adv.py -------------------------------------------------------------------------------- /examples/adversarial_asr/test_robust_adv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/test_robust_adv.py -------------------------------------------------------------------------------- /examples/adversarial_asr/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/tool.py -------------------------------------------------------------------------------- /examples/adversarial_asr/util/convert_name_format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/util/convert_name_format.sh -------------------------------------------------------------------------------- /examples/adversarial_asr/util/read_data_full.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_asr/util/read_data_full.txt -------------------------------------------------------------------------------- /examples/adversarial_patch/AdversarialPatch.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_patch/AdversarialPatch.ipynb -------------------------------------------------------------------------------- /examples/adversarial_patch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/adversarial_patch/README.md -------------------------------------------------------------------------------- /examples/facenet_adversarial_faces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/facenet_adversarial_faces/README.md -------------------------------------------------------------------------------- /examples/facenet_adversarial_faces/facenet_fgsm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/facenet_adversarial_faces/facenet_fgsm.py -------------------------------------------------------------------------------- /examples/facenet_adversarial_faces/set_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/facenet_adversarial_faces/set_loader.py -------------------------------------------------------------------------------- /examples/imagenet_featadvs/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/imagenet_featadvs/model.py -------------------------------------------------------------------------------- /examples/madry_lab_challenges/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/madry_lab_challenges/LICENSE -------------------------------------------------------------------------------- /examples/madry_lab_challenges/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/madry_lab_challenges/README -------------------------------------------------------------------------------- /examples/madry_lab_challenges/cifar10/attack_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/madry_lab_challenges/cifar10/attack_model.py -------------------------------------------------------------------------------- /examples/madry_lab_challenges/mnist/attack_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/madry_lab_challenges/mnist/attack_model.py -------------------------------------------------------------------------------- /examples/madry_lab_challenges/mnist/madry_mnist_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/madry_lab_challenges/mnist/madry_mnist_model.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/README.md -------------------------------------------------------------------------------- /examples/multigpu_advtrain/attacks_multigpu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/attacks_multigpu.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/evaluator.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/make_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/make_model.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/model.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/resnet_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/resnet_tf.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/run_multigpu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/run_multigpu.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/runner.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/test_attack_multigpu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/test_attack_multigpu.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/test_run_multigpu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/test_run_multigpu.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/test_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/test_runner.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/trainer.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/utils.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/utils_cifar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/utils_cifar.py -------------------------------------------------------------------------------- /examples/multigpu_advtrain/utils_svhn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/multigpu_advtrain/utils_svhn.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/.gitignore -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/README.md -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dataset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dataset/README.md -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dataset/dev_dataset.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dataset/dev_dataset.csv -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dataset/download_images.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dataset/download_images.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dataset/final_dataset.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dataset/final_dataset.csv -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/.gitignore -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/README.md -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/download_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/download_data.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/run_attacks_and_defenses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/run_attacks_and_defenses.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/run_attacks_and_defenses.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/run_attacks_and_defenses.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/download_checkpoints.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/download_checkpoints.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/attack_fgsm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/attack_fgsm.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/metadata.json -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/run_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/fgsm/run_attack.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/noop/attack_noop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/noop/attack_noop.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/noop/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/noop/metadata.json -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/noop/run_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/noop/run_attack.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/random_noise/attack_random_noise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/random_noise/attack_random_noise.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/random_noise/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/random_noise/metadata.json -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/random_noise/run_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_attacks/random_noise/run_attack.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/adv_inception_v3/defense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/adv_inception_v3/defense.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/adv_inception_v3/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/adv_inception_v3/metadata.json -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/adv_inception_v3/run_defense.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/adv_inception_v3/run_defense.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/base_inception_model/defense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/base_inception_model/defense.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/base_inception_model/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/base_inception_model/metadata.json -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/base_inception_model/run_defense.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/base_inception_model/run_defense.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/download_checkpoints.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/download_checkpoints.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/ens_adv_inception_resnet_v2/defense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/ens_adv_inception_resnet_v2/defense.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/ens_adv_inception_resnet_v2/inception_resnet_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/ens_adv_inception_resnet_v2/inception_resnet_v2.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/ens_adv_inception_resnet_v2/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/ens_adv_inception_resnet_v2/metadata.json -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/ens_adv_inception_resnet_v2/run_defense.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_defenses/ens_adv_inception_resnet_v2/run_defense.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/download_checkpoints.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/download_checkpoints.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/iter_target_class/attack_iter_target_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/iter_target_class/attack_iter_target_class.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/iter_target_class/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/iter_target_class/metadata.json -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/iter_target_class/run_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/iter_target_class/run_attack.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/step_target_class/attack_step_target_class.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/step_target_class/attack_step_target_class.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/step_target_class/metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/step_target_class/metadata.json -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/step_target_class/run_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/sample_targeted_attacks/step_target_class/run_attack.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/validation_tool/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/validation_tool/README.md -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/validation_tool/submission_validator_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/validation_tool/submission_validator_lib.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/dev_toolkit/validation_tool/validate_submission.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/dev_toolkit/validation_tool/validate_submission.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/README.md -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/__init__.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/classification_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/classification_results.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/cloud_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/cloud_client.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/dataset_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/dataset_helper.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/image_batches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/image_batches.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/submissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/submissions.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/classification_results_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/classification_results_test.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/fake_cloud_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/fake_cloud_client.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/fake_cloud_client_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/fake_cloud_client_test.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/image_batches_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/image_batches_test.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/submissions_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/submissions_test.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/work_data_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/tests/work_data_test.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/eval_lib/work_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/eval_lib/work_data.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/master.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/master.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/run_worker_locally.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/run_worker_locally.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/start_worker_in_tmux.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/start_worker_in_tmux.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/code/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/code/worker.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/run_master.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/run_master.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/scripts/config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/scripts/config.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/scripts/copy_baselines.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/scripts/copy_baselines.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/scripts/copy_dataset_to_vm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/scripts/copy_dataset_to_vm.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/scripts/copy_eval_infra_to_vm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/scripts/copy_eval_infra_to_vm.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/scripts/create_workers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/scripts/create_workers.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/scripts/prepare_virtualenv.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/scripts/prepare_virtualenv.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/scripts/scp_cloud_vm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/scripts/scp_cloud_vm.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/scripts/start_workers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/scripts/start_workers.sh -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/validation_tool/validate_and_copy_submissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/validation_tool/validate_and_copy_submissions.py -------------------------------------------------------------------------------- /examples/nips17_adversarial_competition/eval_infra/validation_tool/validate_submission_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/nips17_adversarial_competition/eval_infra/validation_tool/validate_submission_lib.py -------------------------------------------------------------------------------- /examples/robust_vision_benchmark/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/robust_vision_benchmark/README.md -------------------------------------------------------------------------------- /examples/robust_vision_benchmark/cleverhans_attack_example/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/robust_vision_benchmark/cleverhans_attack_example/Dockerfile -------------------------------------------------------------------------------- /examples/robust_vision_benchmark/cleverhans_attack_example/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/robust_vision_benchmark/cleverhans_attack_example/main.py -------------------------------------------------------------------------------- /examples/robust_vision_benchmark/cleverhans_attack_example/requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | tensorflow 3 | -------------------------------------------------------------------------------- /examples/robust_vision_benchmark/cleverhans_attack_example/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/robust_vision_benchmark/cleverhans_attack_example/utils.py -------------------------------------------------------------------------------- /examples/test_imagenet_attacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/examples/test_imagenet_attacks.py -------------------------------------------------------------------------------- /scripts/compute_accuracy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/scripts/compute_accuracy.py -------------------------------------------------------------------------------- /scripts/make_confidence_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/scripts/make_confidence_report.py -------------------------------------------------------------------------------- /scripts/make_confidence_report_bundle_examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/scripts/make_confidence_report_bundle_examples.py -------------------------------------------------------------------------------- /scripts/make_confidence_report_bundled.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/scripts/make_confidence_report_bundled.py -------------------------------------------------------------------------------- /scripts/make_confidence_report_spsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/scripts/make_confidence_report_spsa.py -------------------------------------------------------------------------------- /scripts/plot_success_fail_curve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/scripts/plot_success_fail_curve.py -------------------------------------------------------------------------------- /scripts/print_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/scripts/print_report.py -------------------------------------------------------------------------------- /scripts/show_images.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/scripts/show_images.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/setup.py -------------------------------------------------------------------------------- /tests_pytorch/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_pytorch/test_utils.py -------------------------------------------------------------------------------- /tests_tf/test_attack_bundling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_attack_bundling.py -------------------------------------------------------------------------------- /tests_tf/test_attacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_attacks.py -------------------------------------------------------------------------------- /tests_tf/test_attacks_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_attacks_tf.py -------------------------------------------------------------------------------- /tests_tf/test_confidence_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_confidence_report.py -------------------------------------------------------------------------------- /tests_tf/test_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_dataset.py -------------------------------------------------------------------------------- /tests_tf/test_defenses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_defenses.py -------------------------------------------------------------------------------- /tests_tf/test_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_evaluation.py -------------------------------------------------------------------------------- /tests_tf/test_mnist_blackbox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_mnist_blackbox.py -------------------------------------------------------------------------------- /tests_tf/test_mnist_tutorial_cw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_mnist_tutorial_cw.py -------------------------------------------------------------------------------- /tests_tf/test_mnist_tutorial_jsma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_mnist_tutorial_jsma.py -------------------------------------------------------------------------------- /tests_tf/test_mnist_tutorial_keras.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_mnist_tutorial_keras.py -------------------------------------------------------------------------------- /tests_tf/test_mnist_tutorial_keras_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_mnist_tutorial_keras_tf.py -------------------------------------------------------------------------------- /tests_tf/test_mnist_tutorial_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_mnist_tutorial_tf.py -------------------------------------------------------------------------------- /tests_tf/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_model.py -------------------------------------------------------------------------------- /tests_tf/test_picklable_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_picklable_model.py -------------------------------------------------------------------------------- /tests_tf/test_projected_gradient_descent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_projected_gradient_descent.py -------------------------------------------------------------------------------- /tests_tf/test_serial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_serial.py -------------------------------------------------------------------------------- /tests_tf/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_utils.py -------------------------------------------------------------------------------- /tests_tf/test_utils_keras.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_utils_keras.py -------------------------------------------------------------------------------- /tests_tf/test_utils_tf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tests_tf/test_utils_tf.py -------------------------------------------------------------------------------- /tutorials/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tutorials/README.md -------------------------------------------------------------------------------- /tutorials/future/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tutorials/future/README.md -------------------------------------------------------------------------------- /tutorials/future/jax/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tutorials/future/tf2/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tutorials/future/tf2/mnist_tutorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tutorials/future/tf2/mnist_tutorial.py -------------------------------------------------------------------------------- /tutorials/future/torch/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tutorials/future/torch/cifar10_tutorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yaq007/cleverhans/HEAD/tutorials/future/torch/cifar10_tutorial.py --------------------------------------------------------------------------------