# Image Captioning
We reimplemented the complicated [Google' Image Captioning](https://github.com/tensorflow/models/tree/master/im2txt) model by simple [TensorLayer](https://github.com/zsdonghao/tensorlayer) APIs.
This script run well under Python2 or 3 and TensorFlow 10 or 11.
### 1. Prepare MSCOCO data and Inception model
Before you run the scripts, you need to follow Google's [setup guide]((https://github.com/tensorflow/models/tree/master/im2txt)), and setup the model, ckpt and data directories in *.py.
- Creat a ``data`` folder.
- Download and Preprocessing MSCOCO Data [click here](https://github.com/tensorflow/models/tree/master/research/im2txt)
- Download the Inception_V3 CKPT [click here](https://github.com/tensorflow/models/tree/master/research/slim)
### 2. Train the model
- via ``train.py``
### 3. Evaluate the model
- via ``evaluate.py``
### 4. Generate captions by given image and model
- via ``run_inference.py``
### 5. Evaluation
- [tylin/coco-caption](https://github.com/tylin/coco-caption/blob/master/cocoEvalCapDemo.ipynb)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Image-Captioning-master.zip (42个子文件)
Image-Captioning-master
.gitignore 96B
run_inference_demo.py 5KB
data
build_mscoco_data.py 17KB
download_and_preprocess_mscoco.sh 3KB
README.md 281B
tensorlayer
__init__.py 666B
activation.py 3KB
prepro.py 44KB
layers.py 214KB
utils.py 16KB
_layers.py 134KB
visualize.py 11KB
nlp.py 31KB
cost.py 15KB
rein.py 2KB
ops.py 6KB
files.py 29KB
iterate.py 15KB
buildmodel.py 28KB
README.md 1KB
demo
templates
index.html 7KB
static
icons
spin.gif 40KB
plus.png 2KB
css
bootstrap-horizon.css 3KB
gdo.py 3KB
inception_v3(for TF 0.10).py 29KB
evaluate.py 7KB
tensorlayer1.2.2
__init__.py 649B
activation.py 3KB
prepro.py 6KB
layers.py 115KB
utils.py 16KB
visualize.py 11KB
nlp.py 31KB
cost.py 14KB
rein.py 2KB
ops.py 4KB
files.py 29KB
iterate.py 15KB
model.py 28KB
run_inference.py 4KB
train.py 8KB
共 42 条
- 1
资源评论
- 计划是动力2021-06-10这环境配置能详细点吗,还有你这里修改的本地路径能标明一下吗。。。
- 惰2020-05-16读完README还是有点懵,大佬能指教一二吗
- yebulk2020-02-17挺好挺好挺好
小亮PlayNLP
- 粉丝: 230
- 资源: 56
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功