天天看点

feature visualization from ipython notebook

Feature visualization from ipython notebook

Wang Xiao

1. install anaconda2 from: https://www.continuum.io/downloads 

  Note: download the version 2 not version 3 ! Or the following will always wrong !!!

feature visualization from ipython notebook

2. Then install python.protobuf follow the blog from: http://www.voidcn.com/blog/woainiwss/article/p-5002715.html

  (1). Download: http://protobuf.googlecode.com/files/protobuf-2.5.0.zip

  (2). Unzip protobuf-2.5.0  and cd protobuf-2.5.0

  (3). Do the following in the terminal

    (4). cd ./python

   (5). >>python

    check if you input the >> import google.protobuf , it does not inform you any error, it means everything is ok.

        

feature visualization from ipython notebook

    If your screen like the above figure, you only could try it again like me.

  (6).Then, input : ipython notebook in the terminal, and a page will be opened in your Browser.

feature visualization from ipython notebook
feature visualization from ipython notebook

    Then Compile the python file in what you needed way. Then run it step by step, you will see your image in each layer.            

feature visualization from ipython notebook

  (7). The results can be shown in the following way:

  

feature visualization from ipython notebook
feature visualization from ipython notebook
feature visualization from ipython notebook
feature visualization from ipython notebook
feature visualization from ipython notebook
feature visualization from ipython notebook
feature visualization from ipython notebook
feature visualization from ipython notebook
feature visualization from ipython notebook
feature visualization from ipython notebook