Visual Attention based OCR. The model first runs a sliding CNN on the image (images are resized to height 32 while preserving aspect ratio). Then an LSTM is stacked on top of the CNN. Finally, an attention model is used as a decoder for producing the final outputs.这个包含三部分的内容:A. first runs a sliding CNN on the image 一个普通的cnn 网络 这是个什么样的网络B. an LSTM is stacked on top of the CNNC. an attention model is used as a decoder for producing the final outputs.需要做的事情:1. tensflow 的安装 参考官网 打开了官网 但是发现有几种安装方式 但是不知道该按照那一种安装咨询了CH 他说他试了两种方法 一种是andaconda 和 源码安装 都可以 他比较推荐andaconda 这种安装方法。在网上找到安装方法:http://blog.csdn.net/tina_ttl/article/details/51762471 对于我的电脑来说:因为我之前装过caffe 所以andaconda 有安装为了确认andaconda 生效 你需要在确认一下:确认的方式是 vim ~/.bashrc看下 andaconda 有没有在环境变量里面 如果不在的请加入环境变量:类似于:# added by Anaconda 2.3.0 installer export PATH="/home/gjge/local/anaconda/bin:$PATH"然后使它生效:source ~/.bashrc剩下的就是三部曲:A. conda create -n tensorflow python=2.7B. source activate tensorflowC. pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.8.0rc0-cp27-none-linux_x86_64.whl最后就是验证tensorflow 有没有安装成功pythonimport tensorflow