Skip to content

Commit

Permalink
Update README and sample images
Browse files Browse the repository at this point in the history
  • Loading branch information
hvy committed Jan 20, 2017
1 parent c89105c commit c2672df
Show file tree
Hide file tree
Showing 21 changed files 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 @@ -12,26 +12,28 @@ Then, run the `visualize.py` script as follows. The VGG model will be feeded wit
python visualize.py --image-filename images/cat.jpg --model-filename VGG.model --out-dirname results --gpu 0
```

## Visualized Activations
You can visualize the activations for an image of arbitrary size since the image will be scaled to the size expected by the classifier.

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

Activations visualized 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)
![](samples/conv1.png)

### 2nd Layer of Convolutions

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

### 3rd Layer of Convolutions

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

### 4th Layer of Convolutions

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

### 5th Layer of Convolutions

![](samples/cat/conv5.jpg)
![](samples/conv5.png)
Binary file removed samples/cat/conv1.jpg
Binary file not shown.
Binary file removed samples/cat/conv1_unaveraged.jpg
Binary file not shown.
Binary file removed samples/cat/conv2.jpg
Binary file not shown.
Binary file removed samples/cat/conv2_unageraged.jpg
Binary file not shown.
Binary file removed samples/cat/conv3.jpg
Binary file not shown.
Binary file removed samples/cat/conv3_unaveraged.jpg
Binary file not shown.
Binary file removed samples/cat/conv4.jpg
Binary file not shown.
Binary file removed samples/cat/conv4_unaveraged.jpg
Binary file not shown.
Binary file removed samples/cat/conv5.jpg
Binary file not shown.
Binary file removed samples/cat/conv5_unaveraged.jpg
Binary file not shown.
Binary file added samples/conv1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/conv2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/conv3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/conv4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/conv5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed samples/dog/conv1.jpg
Binary file not shown.
Binary file removed samples/dog/conv2.jpg
Binary file not shown.
Binary file removed samples/dog/conv3.jpg
Binary file not shown.
Binary file removed samples/dog/conv4.jpg
Binary file not shown.
Binary file removed samples/dog/conv5.jpg
Binary file not shown.

0 comments on commit c2672df

Please sign in to comment.