-
Notifications
You must be signed in to change notification settings - Fork 188
Description
Hi,
I am currently putting together a talk on Image Adversaries 101 that would include the following:
- Adversaries as an optimization problem
- Creating perturbations that do not hurt the eyes
- Create end-to-end image adversaries
- Neural Structured Learning for creating robust models
I have put together a basic Colab Notebook that shows how to create basic adversaries by taking inspiration from here: https://adversarial-ml-tutorial.org/introduction. I am now preparing a notebook that would show the other half - using NSL for training adversarially robust models. The notebook is available here. For the first part, it trains a basic image classification model to distinguish between different flower species (with the Flowers-17 dataset) using the ImageDataGenerator
class. So, to extend that example, I am wondering if NSL would support ImageDataGenerator
class or I would need to create NumPy arrays and then convert them to tf.data.Dataset.from_tensor_slices
.
I am looking forward to your views and any suggestions. All of the pointers gathered from here will be open-sourced and will be made available for the world to see :)
Edit:
I was able to turn the dataset into tf.data.Dataset
objects as you'd see in the Colab Notebook. I just wanted to check in and see if you would have any suggestions for the talk proposal and its structure. I would be really happy to consider it.