textvqa

อ้างอิง:

รถไฟ

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:textvqa/train')
  • คำอธิบาย :
TextVQA requires models to read and reason about text in images to answer questions about them. 
Specifically, models need to incorporate a new modality of text present in the images and reason 
over it to answer TextVQA questions. TextVQA dataset contains 45,336 questions over 28,408 images
from the OpenImages dataset.
  • ใบอนุญาต : CC BY 4.0
  • เวอร์ชั่น : 0.5.1
  • แยก :
แยก ตัวอย่าง
'test' 5734
'train' 34602
'validation' 5,000
  • คุณสมบัติ :
{
    "image_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "question": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "image": {
        "decode": true,
        "id": null,
        "_type": "Image"
    },
    "image_width": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "image_height": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "flickr_original_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "flickr_300k_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "answers": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "image_classes": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "set_name": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

วาล

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:textvqa/val')
  • คำอธิบาย :
TextVQA requires models to read and reason about text in images to answer questions about them. 
Specifically, models need to incorporate a new modality of text present in the images and reason 
over it to answer TextVQA questions. TextVQA dataset contains 45,336 questions over 28,408 images
from the OpenImages dataset.
  • ใบอนุญาต : CC BY 4.0
  • เวอร์ชั่น : 0.5.1
  • แยก :
แยก ตัวอย่าง
'test' 5734
'train' 34602
'validation' 5,000
  • คุณสมบัติ :
{
    "image_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "question": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "image": {
        "decode": true,
        "id": null,
        "_type": "Image"
    },
    "image_width": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "image_height": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "flickr_original_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "flickr_300k_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "answers": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "image_classes": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "set_name": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

ทดสอบ

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:textvqa/test')
  • คำอธิบาย :
TextVQA requires models to read and reason about text in images to answer questions about them. 
Specifically, models need to incorporate a new modality of text present in the images and reason 
over it to answer TextVQA questions. TextVQA dataset contains 45,336 questions over 28,408 images
from the OpenImages dataset.
  • ใบอนุญาต : CC BY 4.0
  • เวอร์ชั่น : 0.5.1
  • แยก :
แยก ตัวอย่าง
'test' 5734
'train' 34602
'validation' 5,000
  • คุณสมบัติ :
{
    "image_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "question": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "image": {
        "decode": true,
        "id": null,
        "_type": "Image"
    },
    "image_width": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "image_height": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "flickr_original_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "flickr_300k_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "answers": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "image_classes": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "set_name": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

textvqa

ใช้คำสั่งต่อไปนี้เพื่อโหลดชุดข้อมูลนี้ใน TFDS:

ds = tfds.load('huggingface:textvqa/textvqa')
  • คำอธิบาย :
TextVQA requires models to read and reason about text in images to answer questions about them.
Specifically, models need to incorporate a new modality of text present in the images and reason
over it to answer TextVQA questions. TextVQA dataset contains 45,336 questions over 28,408 images
from the OpenImages dataset.
  • ใบอนุญาต : CC BY 4.0
  • เวอร์ชั่น : 0.5.1
  • แยก :
แยก ตัวอย่าง
'test' 5734
'train' 34602
'validation' 5,000
  • คุณสมบัติ :
{
    "image_id": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "question": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_tokens": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "image": {
        "decode": true,
        "id": null,
        "_type": "Image"
    },
    "image_width": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "image_height": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "flickr_original_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "flickr_300k_url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "answers": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "image_classes": {
        "feature": {
            "dtype": "string",
            "id": null,
            "_type": "Value"
        },
        "length": -1,
        "id": null,
        "_type": "Sequence"
    },
    "set_name": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}