资源简介

本代码为image caption基于python的代码,经测试,可以正常使用。

资源截图

代码片段和文件信息

#! /usr/bin/python
# -*- coding: utf8 -*-

import tensorflow as tf
import tensorlayer as tl
from tensorflow.contrib.slim.python.slim.nets.inception_v3 import inception_v3_base inception_v3_arg_scope
slim = tf.contrib.slim

## Model Config ================= Don‘t Change =================================
# Image format (“jpeg“ or “png“).
image_format = “jpeg“
# Approximate number of values per input shard. Used to ensure sufficient
# mixing between shards in training.
values_per_input_shard = 2300
# Minimum number of shards to keep in the input queue.
input_queue_capacity_factor = 2
# Number of threads for prefetching SequenceExample protos.
num_input_reader_threads = 1
# Name of the SequenceExample context feature containing image data.
image_feature_name = “image/data“
# Name of the Seque

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-09-28 17:07  Image-Captioning-master\
     文件          96  2017-09-28 17:07  Image-Captioning-master\.gitignore
     文件        1059  2017-09-28 17:07  Image-Captioning-master\README.md
     文件       28231  2017-09-28 17:07  Image-Captioning-master\buildmodel.py
     目录           0  2017-09-28 17:07  Image-Captioning-master\data\
     文件         281  2017-09-28 17:07  Image-Captioning-master\data\README.md
     文件       17456  2017-09-28 17:07  Image-Captioning-master\data\build_mscoco_data.py
     文件        2790  2017-09-28 17:07  Image-Captioning-master\data\download_and_preprocess_mscoco.sh
     目录           0  2017-09-28 17:07  Image-Captioning-master\demo\
     文件        3568  2017-09-28 17:07  Image-Captioning-master\demo\gdo.py
     目录           0  2017-09-28 17:07  Image-Captioning-master\demo\static\
     目录           0  2017-09-28 17:07  Image-Captioning-master\demo\static\css\
     文件        2735  2017-09-28 17:07  Image-Captioning-master\demo\static\css\bootstrap-horizon.css
     目录           0  2017-09-28 17:07  Image-Captioning-master\demo\static\icons\
     文件        1910  2017-09-28 17:07  Image-Captioning-master\demo\static\icons\plus.png
     文件       40942  2017-09-28 17:07  Image-Captioning-master\demo\static\icons\spin.gif
     目录           0  2017-09-28 17:07  Image-Captioning-master\demo\templates\
     文件        7444  2017-09-28 17:07  Image-Captioning-master\demo\templates\index.html
     文件        7361  2017-09-28 17:07  Image-Captioning-master\evaluate.py
     文件       29234  2017-09-28 17:07  Image-Captioning-master\inception_v3(for TF 0.10).py
     文件       28418  2017-09-28 17:07  Image-Captioning-master\model.py
     文件        3870  2017-09-28 17:07  Image-Captioning-master\run_inference.py
     文件        4640  2017-09-28 17:07  Image-Captioning-master\run_inference_demo.py
     目录           0  2017-09-28 17:07  Image-Captioning-master\tensorlayer\
     文件         666  2017-09-28 17:07  Image-Captioning-master\tensorlayer\__init__.py
     文件      137672  2017-09-28 17:07  Image-Captioning-master\tensorlayer\_layers.py
     文件        2980  2017-09-28 17:07  Image-Captioning-master\tensorlayer\activation.py
     文件       15743  2017-09-28 17:07  Image-Captioning-master\tensorlayer\cost.py
     文件       29601  2017-09-28 17:07  Image-Captioning-master\tensorlayer\files.py
     文件       15796  2017-09-28 17:07  Image-Captioning-master\tensorlayer\iterate.py
     文件      219339  2017-09-28 17:07  Image-Captioning-master\tensorlayer\layers.py
............此处省略20个文件信息

评论

共有 条评论