Skip to content
Permalink
Browse files

fixed up ipynbs

  • Loading branch information...
lengstrom committed Aug 21, 2019
1 parent 5d6568e commit 9b6b4730a407ca170e007228f7acd8ffde6d9272
Showing with 1,517 additions and 85 deletions.
  1. +1 −1 README.md
  2. +4 −6 decision_inspection.ipynb
  3. +374 −7 direct_feature_visualization.ipynb
  4. +380 −20 feature_addition.ipynb
  5. +374 −22 image_inversion.ipynb
  6. +376 −24 interpolation.ipynb
  7. +1 −0 requirements.txt
  8. +0 −1 robustness_lib
  9. +7 −4 user_constants.py
@@ -16,7 +16,7 @@ Steps to run the notebooks (for now, requires CUDA):
checkpoints there
- Install all the required packages with `pip install -r requirements.txt`
- Edit `user_constants.py` to point to PyTorch-formatted versions of the `CIFAR` and `ImageNet` datasets
- Start a jupyter notebook server: `PYTHONPATH=robustness_lib/ jupyter notebook . --ip 0.0.0.0`
- Start a jupyter notebook server: `jupyter notebook . --ip 0.0.0.0`

## Citation

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -1,4 +1,5 @@
torch
robustness
torchvision
pandas
numpy
Submodule robustness_lib deleted from 48e8fd
@@ -1,6 +1,9 @@
# Path to dataset (Insert appropriate paths here)
DATA_PATH_DICT = {
'CIFAR': '/path/to/cifar',
'RestrictedImageNet': '/path/to/imagenet'
}

'CIFAR': '/scratch/datasets/cifar10',
'RestrictedImageNet': '/scratch/engstrom_scratch/imagenet',
'ImageNet': '/scratch/engstrom_scratch/imagenet',
'H2Z': '/scratch/datasets/A2B/horse2zebra',
'A2O': '/scratch/datasets/A2B/apple2orange',
'S2W': '/scratch/datasets/A2B/summer2winter_yosemite'
}

0 comments on commit 9b6b473

Please sign in to comment.
You can’t perform that action at this time.