https://github.com/tsurumeso/chainer-desalinet
Chainer implementation of DeSaliNet
https://github.com/tsurumeso/chainer-desalinet
chainer cupy deconvnet desalinet
Last synced: 4 months ago
JSON representation
Chainer implementation of DeSaliNet
- Host: GitHub
- URL: https://github.com/tsurumeso/chainer-desalinet
- Owner: tsurumeso
- License: mit
- Created: 2018-01-18T07:51:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T04:51:02.000Z (over 6 years ago)
- Last Synced: 2025-01-11T16:50:50.012Z (11 months ago)
- Topics: chainer, cupy, deconvnet, desalinet
- Language: Python
- Size: 521 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chainer-desalinet
Chainer implementation of DeConvNet [1] and DeSaliNet [2].
These are the technics that visualize feature maps of each layers of convolutional networks.
Currently, this implementation supports VGGNet and AlexNet.
## Summary
||Input|conv5|fc8|
|:-:|:-:|:-:|:-:|
|DeConvNet||||
|DeSaliNet||||
## Requirements
- Chainer
- CuPy (for GPU support)
- OpenCV
## Usage
### DeConvNet
```
python run.py --input images/bird.png --arch alex --gpu 0
python run.py --input images/bird.png --arch vgg --gpu 0
```
### DeSaliNet
```
python run.py --input images/bird.png --arch alex --mask --gpu 0
python run.py --input images/bird.png --arch vgg --mask --gpu 0
```
## References
- [1] Matthew D. Zeiler and Rob Fergus, "Visualizing and Understanding Convolutional Networks",
https://cs.nyu.edu/~fergus/papers/zeilerECCV2014.pdf
- [2] Aravindh Mahendran and Andrea Vedaldi, "Salient deconvolutional networks",
https://www.robots.ox.ac.uk/~vedaldi/assets/pubs/mahendran16salient.pdf