格式实际是一样的,但是图片顺序可能是打乱的(分别截取了UltraEdit中的一行)

{"images": [{"sentids": [0, 1, 2, 3, 4], "imgid": 0, "sentences": [{"tokens": ["a", "black", "dog", "is", "running", "after", "a", "white", "dog", "in", "the", "snow"], "raw": "A black dog is running after a white dog in the snow .", "imgid": 0, "sentid": 0}, {"tokens": ["black", "dog", "chasing", "brown", "dog", "through", "snow"], "raw": "Black dog chasing brown dog through snow", "imgid": 0, "sentid": 1}, {"tokens": ["two", "dogs", "chase", "each", "other", "across", "the", "snowy", "ground"], "raw": "Two dogs chase each other across the snowy ground .", "imgid": 0, "sentid": 2}, {"tokens": ["two", "dogs", "play", "together", "in", "the", "snow"], "raw": "Two dogs play together in the snow .", "imgid": 0, "sentid": 3}, {"tokens": ["two", "dogs", "running", "through", "a", "low", "lying", "body", "of", "water"], "raw": "Two dogs running through a low lying body of water .", "imgid": 0, "sentid": 4}], "split": "train", "filename": "2513260012_03d33305cf.jpg"}, {"sentids": [5, 6, 7, 8, 9], "imgid": 1, "sentences": [{"tokens": ["a", "little", "baby", "plays", "croquet"], "raw": "A little baby plays croquet .", "imgid": 1, "sentid": 5}, {"tokens": ["a", "little", "girl", "plays", "croquet", "next", "to", "a", "truck"], "raw": "A little girl plays croquet next to a truck .", "imgid": 1, "sentid": 6}, {"tokens": ["the", "child", "is", "playing", "croquette", "by", "the", "truck"], "raw": "The child is playing croquette by the truck .", "imgid": 1, "sentid": 7}, {"tokens": ["the", "kid", "is", "in", "front", "of", "a", "car", "with", "a", "put", "and", "a", "ball"], "raw": "The kid is in front of a car with a put and a ball .", "imgid": 1, "sentid": 8}, {"tokens": ["the", "little", "boy", "is", "playing", "with", "a", "croquet", "hammer", "and", "ball", "beside", "the", "car"], "raw": "The little boy is playing with a croquet hammer and ball beside the car .", "imgid": 1, "sentid": 9}], "split": "train", "filename": "2903617548_d3e38d7f88.jpg"}, {"sentids": [10, 11, 12, 13, 14], "imgid": 2, "sentences": [{"tokens": ["a", "brown", "dog", "in", "the", "snow", "has", "something", "hot", "pink", "in", "its", "mouth"], "raw": "A brown dog in the snow has something hot pink in its mouth .", "imgid": 2, "sentid": 10}, {"tokens": ["a", "brown", "dog", "in", "the", "snow", "holding", "a", "pink", "hat"], "raw": "A brown dog in the snow holding a pink hat .", "imgid": 2, "sentid": 11}, {"tokens": ["a", "brown", "dog", "is", "holding", "a", "pink", "shirt", "in", "the", "snow"], "raw": "A brown dog is holding a pink shirt in the snow .", "imgid": 2, "sentid": 12}, {"tokens": ["a", "dog", "is", "carrying", "something", "pink", "in", "its", "mouth", "while", "walking", "through", "the", "snow"], "raw": "A dog is carrying something pink in its mouth while walking through the snow .", "imgid": 2, "sentid": 13}, {"tokens": ["a", "dog", "with", "something", "pink", "in", "its", "mouth", "is", "looking", "forward"], "raw": "A dog with something pink in its mouth is looking forward .", "imgid": 2, "sentid": 14}], "split": "train", "filename": "3338291921_fe7ae0c8f8.jpg"}, {"sentids": [15, 16, 17, 18, 19], "imgid": 3, "sentences": [{"tokens": ["a", "brown", "dog", "is", "running", "along", "a", "beach"], "raw": "A brown dog is running along a beach .", "imgid": 3, "sentid": 15}, {"tokens": ["a", "brown", "dog", "wearing", "a", "black", "collar", "running", "across", "the", "beach"], "raw": "A brown dog wearing a black collar running across the beach .", "imgid": 3, "sentid": 16}, {"tokens": ["a", "dog", "walks", "on", "the", "sand", "near", "the", "water"], "raw": "A dog walks on the sand near the water .", "imgid": 3, "sentid": 17}, {"tokens": ["brown", "dog", "running", "on", "the", "beach"], "raw": "Brown dog running on the beach .", "imgid": 3, "sentid": 18}, {"tokens": ["the", "large", "brown", "dog", "is", "running", "on", "the", "beach", "by", "the", "ocean"], "raw": "The large brown dog is running on the beach by the ocean .", "imgid": 3, "sentid": 19}], "split": "train", "filename": "488416045_1c6d903fe0.jpg"}, {"sentids": [20, 21, 22,
{"images": [{"sentids": [0, 1, 2, 3, 4], "imgid": 0, "sentences": [{"tokens": ["two", "young", "guys", "with", "shaggy", "hair", "look", "at", "their", "hands", "while", "hanging", "out", "in", "the", "yard"], "raw": "Two young guys with shaggy hair look at their hands while hanging out in the yard.", "imgid": 0, "sentid": 0}, {"tokens": ["two", "young", "white", "males", "are", "outside", "near", "many", "bushes"], "raw": "Two young, White males are outside near many bushes.", "imgid": 0, "sentid": 1}, {"tokens": ["two", "men", "in", "green", "shirts", "are", "standing", "in", "a", "yard"], "raw": "Two men in green shirts are standing in a yard.", "imgid": 0, "sentid": 2}, {"tokens": ["a", "man", "in", "a", "blue", "shirt", "standing", "in", "a", "garden"], "raw": "A man in a blue shirt standing in a garden.", "imgid": 0, "sentid": 3}, {"tokens": ["two", "friends", "enjoy", "time", "spent", "together"], "raw": "Two friends enjoy time spent together.", "imgid": 0, "sentid": 4}], "split": "train", "filename": "1000092795.jpg"}, {"sentids": [5, 6, 7, 8, 9], "imgid": 1, "sentences": [{"tokens": ["several", "men", "in", "hard", "hats", "are", "operating", "a", "giant", "pulley", "system"], "raw": "Several men in hard hats are operating a giant pulley system.", "imgid": 1, "sentid": 5}, {"tokens": ["workers", "look", "down", "from", "up", "above", "on", "a", "piece", "of", "equipment"], "raw": "Workers look down from up above on a piece of equipment.", "imgid": 1, "sentid": 6}, {"tokens": ["two", "men", "working", "on", "a", "machine", "wearing", "hard", "hats"], "raw": "Two men working on a machine wearing hard hats.", "imgid": 1, "sentid": 7}, {"tokens": ["four", "men", "on", "top", "of", "a", "tall", "structure"], "raw": "Four men on top of a tall structure.", "imgid": 1, "sentid": 8}, {"tokens": ["three", "men", "on", "a", "large", "rig"], "raw": "Three men on a large rig.", "imgid": 1, "sentid": 9}], "split": "train", "filename": "10002456.jpg"}, {"sentids": [10, 11, 12, 13, 14], "imgid": 2, "sentences": [{"tokens": ["a", "child", "in", "a", "pink", "dress", "is", "climbing", "up", "a", "set", "of", "stairs", "in", "an", "entry", "way"], "raw": "A child in a pink dress is climbing up a set of stairs in an entry way.", "imgid": 2, "sentid": 10}, {"tokens": ["a", "little", "girl", "in", "a", "pink", "dress", "going", "into", "a", "wooden", "cabin"], "raw": "A little girl in a pink dress going into a wooden cabin.", "imgid": 2, "sentid": 11}, {"tokens": ["a", "little", "girl", "climbing", "the", "stairs", "to", "her", "playhouse"], "raw": "A little girl climbing the stairs to her playhouse.", "imgid": 2, "sentid": 12}, {"tokens": ["a", "little", "girl", "climbing", "into", "a", "wooden", "playhouse"], "raw": "A little girl climbing into a wooden playhouse.", "imgid": 2, "sentid": 13}, {"tokens": ["a", "girl", "going", "into", "a", "wooden", "building"], "raw": "A girl going into a wooden building.", "imgid": 2, "sentid": 14}], "split": "train", "filename": "1000268201.jpg"}, {"sentids": [15, 16, 17, 18, 19], "imgid": 3, "sentences": [{"tokens": ["someone", "in", "a", "blue", "shirt", "and", "hat", "is", "standing", "on", "stair", "and", "leaning", "against", "a", "window"], "raw": "Someone in a blue shirt and hat is standing on stair and leaning against a window.", "imgid": 3, "sentid": 15}, {"tokens": ["a", "man", "in", "a", "blue", "shirt", "is", "standing", "on", "a", "ladder", "cleaning", "a", "window"], "raw": "A man in a blue shirt is standing on a ladder cleaning a window.", "imgid": 3, "sentid": 16}, {"tokens": ["a", "man", "on", "a", "ladder", "cleans", "the", "window", "of", "a", "tall", "building"], "raw": "A man on a ladder cleans the window of a tall building.", "imgid": 3, "sentid": 17}, {"tokens": ["man", "in", "blue", "shirt", "and", "jeans", "on", "ladder", "cleaning", "windows"], "raw": "Man in blue shirt and jeans on ladder cleaning windows", "imgid": 3, "sentid": 18}, {"tokens": ["a", "man", "on", "a", "ladder", "cleans", "a", "window"], "raw": "A man on a ladder cleans a window", "imgid": 3, "sentid": 1

dataset_flickr8k.json与dataset_flickr30k.json的比较相关推荐

  1. Json对象和Json字符串

    JSON对象 有时候在做项目的时候时常将这两个概念弄混淆,尤其是在使用springmvc的时候,后台@RequestBody接受的是一个json格式的字符串,一定是一个字符串.  先介绍一下json对 ...

  2. Go 学习笔记(20)— Go 操作 json 文件(编码生成 json、解码 json 为 map、解码 json 为 struct)

    1. Json 概述 Go 语言对于标准格式的编码和解码都有良好的支持,由标准库中的 encoding/json . encoding/xml . encoding/asn1 等包提供支持并且这类包都 ...

  3. json对象和json字符串转换方法

    在WEB数据传输过程中,json是以文本,即字符串的轻量级形式传递的,而客户端一般用JS操作的是接收到的JSON对象,所以,JSON对象和JSON字符串之间的相互转换.JSON数据的解析是关键. 先明 ...

  4. python中json dumps_python中json.loads,dumps,jsonify使用

    search_info = {'id':132,'user_role':3} print type(search_info) #输出 #转为string用dumps print type(json.d ...

  5. json.dumps()、json.dump()、json.loads()和json.dumps()的区别

    json.dumps().json.dump().json.loads()和json.dumps()的区别 json.dumps()用于将字典形式的数据转化为字符串 json.loads()用于将字符 ...

  6. json数组 js html标签,js定义json对象数组 json 数组也是数组 //

    var jsonstr="[{'name':'a','value':1},{'name':'b','value':2}]"; var jsonarray = eval('('+js ...

  7. php json.parse,PHP JSON头导致JSON.parse出错(使用jQuery)

    我正在从PHP文件中获取一些JavaScript格式的JSON数据. 要使用这些数据,我使用JSON.parse(json_response),除了在PHP中使用JSON头之外,它都可以工作:head ...

  8. 将Model对象转换成json文本或者json二进制文件

    将Model对象转换成json文本或者json二进制文件 https://github.com/casatwy/AnyJson 注意:经过测试,不能够直接处理字典或者数组 主要源码的注释 AJTran ...

  9. Json串到json对象的转换

    为什么80%的码农都做不了架构师?>>>    JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式.易于人阅读和编写.同时也易于机器解析和生 ...

最新文章

  1. 2. 离散特征处理方法--特征交叉 feature crosses
  2. Docker:学习笔记(1)——基础概念
  3. 获取Mysql语句执行时的详细信息
  4. 【译】Privacy on the Blockchain
  5. 数据结构与算法--力扣109题将有序双向链表转换为二叉搜索树
  6. JS设计模式(2)策略模式
  7. 堆和栈的区别(经典干货)
  8. 互联网日报 | 美团市值突破万亿港元;北京恢复二级响应;滴滴货运23日上线;微信开放MCN入驻...
  9. 学JS的心路历程 - JS应用
  10. 中兴获25个5G商用合同
  11. Android PreferenceActivity添加ToolBar
  12. c#之List深度复制
  13. C专家编程 模块化与有限机编写cdecl声明程序
  14. [Baltic2008]Mafia
  15. linux开发板设置时间,开发板上修改时间方法
  16. 诚心希望大家可以关注一下这个游戏公司:飞鱼科技
  17. FZU1901 Period II
  18. ECharts-旭日图(Sunburst)带时间轴
  19. Keycloak简单几步实现对Spring Boot应用的权限控制,程序员Java基础案例教程
  20. 那些外卖cps饿了么一键领取最佳红包的公众号或者小程序怎么搭建?

热门文章

  1. 敏捷冲刺每日报告一(Java-Team)
  2. 【翻译自mos文章】job 不能自己主动运行的解决方法
  3. Android 博客园客户端 (八) 下拉刷新、分页,AsyncTask
  4. 类的const和非const成员函数的重载
  5. Ubuntu linux 关机、重启、注销 命令
  6. 理解 ActivityExecutionContextManager
  7. java nep_Java 9 揭秘(1. 入门介绍)
  8. 微型计算机芯片总称,《计算机应用基础》2(G)在线作业答案
  9. java treeset 转array,Java TreeSet toArray(T[])用法及代碼示例
  10. containers文件夹可以删除吗_电脑进行C盘清理,appdata文件夹可以删除吗?