Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
hvy committed Jan 20, 2017
1 parent bfe2fc8 commit c89105c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,29 @@ Download the pretrained VGG Chainer model following the README in [this](https:/
Then, run the `visualize.py` script as follows. The VGG model will be feeded with an image and the activations in each of the five convolutional layer will be projected back to the input space, i.e. the space of the original image of size (3, 224, 224). The projections will be stored in the specified output directory.

```bash
python visualize.py --image-filename images/cat.jpg --model-filename VGG.model --out-dirname results --gpu 0
python visualize.py --image-filename images/cat.jpg --model-filename VGG.model --out-dirname results --gpu 0
```

## Sample Outputs
## Visualized Activations

### First layer of convolutions
Activation from the convolutional layers of VGG using an image of a cat. Higher resolution images are found in the `samples` directory.

### 1st Layer of Convolutions

![](samples/cat/conv1.jpg)

### Second layer of convolutions
### 2nd Layer of Convolutions

![](samples/cat/conv2.jpg)

### Third layer of convolutions
### 3rd Layer of Convolutions

![](samples/cat/conv3.jpg)

### Forth layer of convolutions
### 4th Layer of Convolutions

![](samples/cat/conv4.jpg)

### Fifth layer of convolutions
### 5th Layer of Convolutions

![](samples/cat/conv5.jpg)

0 comments on commit c89105c

Please sign in to comment.