Solved by chenyuntc in post #2 
              
              
                Here is a example to get output of specified layer in vgg16 


the 3rd, 8th, 15th,22nd layer is relu1_2,relu2_2,relu3_3,relu4_3. 
BTW, you may use 

```Python
 
your code
 
```
 
to format your code
it’ll goes like 
your code