Github库:https://github.com/tensorflow/models/tree/master/research/im2txt
场景:给一张图片,描述图片内容。如下图:
环境:ubuntu,记住用户必须对目录有权限。
1、下载开源包:git clone https://github.com/tensorflow/models.git
进入Im2txt子项目:cd research/im2txt
2、安装依赖包:
First ensure that you have installed the following required packages:
- Bazel (instructions)
- Python 2.7
- TensorFlow 1.0 or greater (instructions)
- NumPy (