feature visualization from ipython notebook

简介: Feature visualization from ipython notebook Wang Xiao   1. install anaconda2 from: https://www.

 

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 !!!

                     

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

make -j4
make check -j4
sudo make install 

 

    (4). cd ./python

python setup.py build 
python setup.py test 
python setup.py install 

   (5). >>python

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

        

    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.

            

            

 

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

 

            

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

  

  

  

  

  

  

  

  

  

  

  

    

 

 

 

 

 

 

 

 

 

 

 

 

 

             

 

相关文章
|
10月前
|
开发者 Python
解决PIE-Engine中python虚拟环境下使用jupyter notebook时PIE模块不存在
解决PIE-Engine中python虚拟环境下使用jupyter notebook时PIE模块不存在
84 0
|
Python
解决ImportError: umap.plot requires pandas matplotlib datashader bokeh holoviews scikit-image and colo
解决ImportError: umap.plot requires pandas matplotlib datashader bokeh holoviews scikit-image and colo
214 0
解决ImportError: umap.plot requires pandas matplotlib datashader bokeh holoviews scikit-image and colo
|
PyTorch 算法框架/工具 Windows
安装PyTorch后jupyter notebook中仍出现“No module named torch“
Jupyter Notebook 后 import torch 却提示 “No module named torch”
1526 0
安装PyTorch后jupyter notebook中仍出现“No module named torch“
|
编解码 Python
Ipython notebook中matplotlib画图
Ipython notebook中matplotlib画图
199 0
Ipython notebook中matplotlib画图
|
TensorFlow 算法框架/工具
成功解决read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and wil
成功解决read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and wil
|
TensorFlow 算法框架/工具
成功解决WARNING:tensorflow:From :read_data_sets (from tensorflow.contrib.learn.python.learn.
成功解决WARNING:tensorflow:From :read_data_sets (from tensorflow.contrib.learn.python.learn.
|
TensorFlow 算法框架/工具 Python
成功解决tensorflow\contrib\learn\python\learn\datasets\mnist.py: maybe_download (from tensorflow.contri
成功解决tensorflow\contrib\learn\python\learn\datasets\mnist.py: maybe_download (from tensorflow.contri
|
数据可视化 数据挖掘 API
Python 上的可视化库——PyG2Plot
更好的阅读体验请到语雀:https://www.yuque.com/antv/g2plot/estl48 G2 是蚂蚁金服开源一个基于图形语法,面向数据分析的统计图表引擎。G2Plot 是在 G2 基础上,屏蔽复杂概念的前提下,保留 G2 强大图形能力,封装出业务上常用的统计图表库。 G2Plot 是一个基于配置、体验优雅、面向数据分析的统计图表库,帮助开发者以最小成本绘制高质量统计图
1117 0