Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberZHG committed Oct 1, 2020
1 parent 7a13ecb commit 367e04b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
13 changes: 7 additions & 6 deletions README.md
@@ -1,9 +1,7 @@
# Keras Convolution Visualization

[![Travis](https://travis-ci.org/CyberZHG/keras-conv-vis.svg)](https://travis-ci.org/CyberZHG/keras-conv-vis)
[![Travis](https://travis-ci.com/CyberZHG/keras-conv-vis.svg?branch=master)](https://travis-ci.org/CyberZHG/keras-conv-vis)
[![Coverage](https://coveralls.io/repos/github/CyberZHG/keras-conv-vis/badge.svg?branch=master)](https://coveralls.io/github/CyberZHG/keras-conv-vis)
![License](https://img.shields.io/pypi/l/keras-conv-vis.svg)

![](https://img.shields.io/badge/keras-tensorflow-blue.svg)
![](https://img.shields.io/badge/keras-tf.keras-blue.svg)

Expand Down Expand Up @@ -43,6 +41,9 @@ gradient = (gradient * 255.0).astype(np.uint8)
visualization = Image.fromarray(gradient)
```

| Input | Gradient | Deconvnet without Pooling Switches | Guided Backpropagation |
|:-:|:-:|:-:|:-:|
|![](./samples/cat.jpg)|![](./samples/cat_gradient_relevant.jpg)|![](./samples/cat_deconvnet_relevant.jpg)|![](./samples/cat_guided_relevant.jpg)|
| Type | Visualization |
|:-:|:-:|
| Input | <img src="https://github.com/CyberZHG/keras-conv-vis/raw/master/samples/cat.jpg" width="224" height="224" /> |
| Gradient | <img src="https://github.com/CyberZHG/keras-conv-vis/raw/master/samples/cat_gradient_relevant.jpg" width="224" height="224" /> |
| Deconvnet without Pooling Switches | <img src="https://github.com/CyberZHG/keras-conv-vis/raw/master/samples/cat_deconvnet_relevant.jpg" width="224" height="224" /> |
| Guided Backpropagation | <img src="https://github.com/CyberZHG/keras-conv-vis/raw/master/samples/cat_guided_relevant.jpg" width="224" height="224" /> |
16 changes: 8 additions & 8 deletions README.zh-CN.md
@@ -1,9 +1,7 @@
# Keras Convolution Visualization

[![Travis](https://travis-ci.org/CyberZHG/keras-conv-vis.svg)](https://travis-ci.org/CyberZHG/keras-conv-vis)
[![Travis](https://travis-ci.com/CyberZHG/keras-conv-vis.svg?branch=master)](https://travis-ci.org/CyberZHG/keras-conv-vis)
[![Coverage](https://coveralls.io/repos/github/CyberZHG/keras-conv-vis/badge.svg?branch=master)](https://coveralls.io/github/CyberZHG/keras-conv-vis)
![License](https://img.shields.io/pypi/l/keras-conv-vis.svg)

![](https://img.shields.io/badge/keras-tensorflow-blue.svg)
![](https://img.shields.io/badge/keras-tf.keras-blue.svg)

Expand All @@ -15,7 +13,7 @@
pip install git+https://github.com/cyberzhg/keras-conv-vis
```

## 使用
## Guided Backpropagation

参考[论文](https://arxiv.org/pdf/1412.6806.pdf)[样例](./demo/guided_backpropagation.py).

Expand Down Expand Up @@ -43,7 +41,9 @@ gradient = (gradient * 255.0).astype(np.uint8)
visualization = Image.fromarray(gradient)
```


| Input | Gradient | Deconvnet without Pooling Switches | Guided Backpropagation |
|:-:|:-:|:-:|:-:|
|![](./samples/cat.jpg)|![](./samples/cat_gradient_relevant.jpg)|![](./samples/cat_deconvnet_relevant.jpg)|![](./samples/cat_guided_relevant.jpg)|
| 类别 | 可视化 |
|:-:|:-:|
| 输入 | <img src="https://github.com/CyberZHG/keras-conv-vis/raw/master/samples/cat.jpg" width="224" height="224" /> |
| 梯度 | <img src="https://github.com/CyberZHG/keras-conv-vis/raw/master/samples/cat_gradient_relevant.jpg" width="224" height="224" /> |
| Deconvnet without Pooling Switches | <img src="https://github.com/CyberZHG/keras-conv-vis/raw/master/samples/cat_deconvnet_relevant.jpg" width="224" height="224" /> |
| Guided Backpropagation | <img src="https://github.com/CyberZHG/keras-conv-vis/raw/master/samples/cat_guided_relevant.jpg" width="224" height="224" /> |

0 comments on commit 367e04b

Please sign in to comment.