-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: update feature squeezing example to task engine
- Loading branch information
1 parent
9cac4e4
commit 6d85844
Showing
27 changed files
with
3,550 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
examples/tensorflow-mnist-feature-squeezing-legacy/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Tensorflow MNIST Feature Squeezing demo | ||
|
||
This example demonstrates using Dioptra to run experiments that investigate the effectiveness of the feature-squeezing defense against a series of evasion attacks against a neural network model. | ||
The demo can be found in the Jupyter notebook file [demo.ipynb](demo.ipynb). | ||
|
||
## Running the example | ||
|
||
To prepare your environment for running this example, follow the linked instructions below: | ||
|
||
1. [Create and activate a Python virtual environment and install the necessary dependencies](../README.md#creating-a-virtual-environment) | ||
2. [Download the MNIST dataset using the download_data.py script.](../README.md#downloading-datasets) | ||
3. [Follow the links in these User Setup instructions](../../README.md#user-setup) to do the following: | ||
- Build the containers | ||
- Use the cookiecutter template to generate the scripts, configuration files, and Docker Compose files you will need to run Dioptra | ||
4. [Edit the docker-compose.yml file to mount the data folder in the worker containers](../README.md#mounting-the-data-folder-in-the-worker-containers) | ||
5. [Initialize and start Dioptra](https://pages.nist.gov/dioptra/getting-started/running-dioptra.html#initializing-the-deployment) | ||
6. [Register the custom task plugins for Dioptra's examples and demos](../README.md#registering-custom-task-plugins) | ||
7. [Register the queues for Dioptra's examples and demos](../README.md#registering-queues) | ||
8. [Start JupyterLab and open `demo.ipynb`](../README.md#starting-jupyter-lab) | ||
|
||
Steps 1–4 and 6–7 only need to be run once. | ||
**Returning users only need to repeat Steps 5 (if you stopped Dioptra using `docker compose down`) and 8 (if you stopped the `jupyter lab` process)**. |
Oops, something went wrong.