luoyc a9c35a4807 opencv source code commit | 1 jaar geleden | |
---|---|---|
.. | ||
model | 1 jaar geleden | |
.gitignore | 1 jaar geleden | |
Installation_Guide.pdf | 1 jaar geleden | |
README.md | 1 jaar geleden | |
download_caffe_evolutionary_algorithm.sh | 1 jaar geleden | |
download_caffe_gradient_ascent.sh | 1 jaar geleden | |
download_sferes.sh | 1 jaar geleden |
This is the code base used to reproduce the "fooling" images in the paper: Nguyen A, Yosinski J, Clune J. "Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Images". In Computer Vision and Pattern Recognition (CVPR '15), IEEE, 2015.
If you use this software in an academic article, please cite:
@inproceedings{nguyen2015deep,
title={Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Images},
author={Nguyen, Anh and Yosinski, Jason and Clune, Jeff},
booktitle={Computer Vision and Pattern Recognition (CVPR), 2015 IEEE Conference on},
year={2015},
organization={IEEE}
}
For more information regarding the paper, please visit www.evolvingai.org/fooling
This is an installation process that requires two main software packages (included in this package):
./download_caffe_evolutionary_algorithm.sh
Caffe version for EA experiments./download_caffe_gradient_ascent.sh
Caffe version for gradient ascent experiments./download_sferes.sh
to download the correct version of Sferes.Note: These are patched versions of the two frameworks with our additional work necessary to produce the images as in the paper. They are not the same as their master branches.
Please see the Installation_Guide for more details.
./download_caffe_gradient_ascent.sh
script.If Sferes (Waf) can't find your CUDA and Caffe dynamic libraries
Add obj.libpath to the wscript for exp/images to find libcudart and libcaffe or you can use LD_LIBRARY_PATH (for Linux).
Is there a way to monitor the progress of the experiments?
There is a flag for printing out results (fitness + images) every N generations. You can adjust the dump_period setting here.
Where do I get the pre-trained Caffe models?
For AlexNet, please download on Caffe's Model Zoo. For LeNet, you can grab it here.
How do I run the experiments on my local machine without MPI?
You can enable MPI or non-MPI mode by commenting/uncommenting a line here. It can be simple eval::Eval (single-core), eval::Mpi (distributed for clusters).