AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Vision

    Visual Genome (2016)

    108,000 images where crowd workers named every object, its attributes and how objects relate.

    Why it matters

    ImageNet says what is in a picture and COCO where. Visual Genome tried to capture what is going on: every object, what it looks like and how it relates to the others, as a graph. The annotations were too dense to use whole at first, but an object detector trained on them gave the "bottom-up" image features that powered VQA, captioning and early vision-language transformers (ViLBERT, LXMERT, Oscar) from 2017 to about 2020. It also started scene graph generation as a task, and GQA built its questions from these graphs.

    Get the data

    # pip install -U huggingface_hub
    hf download ranjaykrishna/visual_genome --repo-type dataset \
      --local-dir visual-genome

    The samples come from a Parquet copy (ljnlonoljpiljm/visual_genome) with images, objects, relationships, regions and Q&A in one table; the official repository uses a loading script.

    Year
    2016
    Creators
    Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A. Shamma, Michael S. Bernstein, Li Fei-Fei (Stanford and others)
    Task
    Scene graphs, dense captions and visual question answering
    Size
    108,077 images; 3.8M objects, 2.8M attributes, 2.3M relationships, 5.4M region descriptions, 1.7M questions
    Splits
    images 108,077
    Input
    A photo (about half are also in COCO)
    Labels
    Boxes for objects with attributes ("blue", "drawn"), relationships between them ("pillow on couch"), region phrases and Q&A, mapped to WordNet
    License
    CC BY 4.0
    Paper
    Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotations

    Samples

    Showing 2 of 8 sampled rows(from 108,077 in the train split)

    40 objects · 10 relationships · 49 region descriptions · 17 questions

    Relationships

    eye of dogperson walking dogsshoe on personbushes in mountainstongue of dogperson walking dogrocks behind personperson wearing shirt

    Objects and attributes

    dry, green, dark, small bushdark, brown, walking, golden dogbrown, small, red rocklight, blue, bright skywalking, golden, brown dogslight, beige, tan shortsbig, large rocksscattered, green bushespurple, dark shirttan shoedark sunglasseswhite rock eye person dogs mountains tongue dog bush rock sky shorts shoe sunglasses rocks bushes shirt

    Region descriptions (49)
    • a green bush in the dirt
    • a green bush in the dirt
    • a reddish brown jutting rock
    • a bright blue sky
    • an eye of a dog
    • an eye of a dog
    • an eye of a dog
    • an eye of a dog
    • a pink tongue of a dog
    • the black nose of a dog
    • a golden brown golden retriever
    • a golden brown golden retriever
    Questions (17)
    • What color is the sky? Blue.
    • What item is reddish brown and jutting? A rock.
    • What is bright blue in the photo? Sky.
    • Who is walking two dogs? Lady.
    • What is made of red clay? Ground.
    • What is dried out and leafless in the photo? Bushes.
    • What animals are shown? Two dogs.
    • Who is in the picture? A man.

    94 objects · 14 relationships · 42 region descriptions · 3 questions

    Relationships

    chandelier on ceilingmirror on wallbrown chair on roomtable on roomvase on tableflowers are in vasechair next to tablemirror hung on wallflower in vasewhite chandelier on ceilingpaper on coffee tablegold frame on wall mirror

    Objects and attributes

    brown, wooden, coffee table tablebrown, hardwood floorilluminated, crystal chandeliertall-backed, brown brown chairbrown tableclear vasewooden tablebrown chairyellow wallsquare mirrorwhite white chandelierred flowersround coffee tableliving-room chair chairrectangular wall mirrorgold gold framecream cream wallwooden chair chandelier ceiling mirror wall brown chair room book table flowers vase flower paper+10 more

    Region descriptions (42)
    • A chandelier hanging fro the ceiling
    • A brown mirror on the wall
    • A room containing yellow walls
    • A brown chair in the room
    • A collection of books on table
    • A brown table in the room
    • A clear vase sitting on the table
    • A bouquet of flowers in a vase
    • A brown dinner chair next to the table
    • yellow wall of the room
    • floral pattern on the green carpet
    • brown hardwood surface of the floor
    Questions (3)
    • What is on the side table? Books.
    • What color is the walls? Yellow.
    • Where is the sun shining? On the wall.
    What one record actually looks like (raw JSON, row 26730)
    {
      "height": 500,
      "image": {
        "height": 500,
        "src": "samples/visual-genome/26730-image.jpg",
        "width": 332
      },
      "image_id": 2394941,
      "objects": [
        {
          "attributes": [
            "dry",
            "green",
            "dark",
            "small"
          ],
          "bbox": [
            0.72,
            0.49,
            0.92,
            0.58
          ],
          "labels": [
            "bush"
          ],
          "object_id": 1209141,
          "synsets": [
            "shrub.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "brown",
            "small",
            "red"
          ],
          "bbox": [
            0.82,
            0.91,
            1,
            1
          ],
          "labels": [
            "rock"
          ],
          "object_id": 1209142,
          "synsets": [
            "rock.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "light",
            "blue",
            "bright"
          ],
          "bbox": [
            0.01,
            0,
            1,
            0.26
          ],
          "labels": [
            "sky"
          ],
          "object_id": 1209143,
          "synsets": [
            "sky.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "dark",
            "brown",
            "walking",
            "golden"
          ],
          "bbox": [
            0.43,
            0.64,
            0.56,
            0.81
          ],
          "labels": [
            "dog"
          ],
          "object_id": 1209144,
          "synsets": [
            "dog.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0.33,
            0.66,
            0.35,
            0.66
          ],
          "labels": [
            "eye"
          ],
          "object_id": 3823632,
          "synsets": [
            "eye.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "walking",
            "golden",
            "brown"
          ],
          "bbox": [
            0.27,
            0.61,
            0.57,
            0.81
          ],
          "labels": [
            "dogs"
          ],
          "object_id": 1209145,
          "synsets": [
            "dog.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0.44,
            0.42,
            0.57,
            0.62
          ],
          "labels": [
            "person"
          ],
          "object_id": 1209146,
          "synsets": [
            "person.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0.28,
            0.61,
            0.55,
            0.8
          ],
          "labels": [
            "dogs"
          ],
          "object_id": 3823633,
          "synsets": [
            "dog.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "light",
            "beige",
            "tan"
          ],
          "bbox": [
            0.47,
            0.51,
            0.54,
            0.55
          ],
          "labels": [
            "shorts"
          ],
          "object_id": 1209147,
          "synsets": [
            "short_pants.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "tan"
          ],
          "bbox": [
            0.47,
            0.59,
            0.52,
            0.62
          ],
          "labels": [
            "shoe"
          ],
          "object_id": 3823634,
          "synsets": [
            "shoe.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0.46,
            0.43,
            0.55,
            0.62
          ],
          "labels": [
            "person"
          ],
          "object_id": 3823639,
          "synsets": [
            "person.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "dark"
          ],
          "bbox": [
            0.51,
            0.44,
            0.54,
            0.46
          ],
          "labels": [
            "sunglasses"
          ],
          "object_id": 1209148,
          "synsets": [
            "sunglasses.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "big",
            "large"
          ],
          "bbox": [
            0.01,
            0.07,
            1,
            0.61
          ],
          "labels": [
            "rocks"
          ],
          "object_id": 1209149,
          "synsets": [
            "rock.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0,
            0.09,
            0.99,
            0.54
          ],
          "labels": [
            "mountains"
          ],
          "object_id": 3823636,
          "synsets": [
            "mountain.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "scattered",
            "green"
          ],
          "bbox": [
            0,
            0.26,
            0.94,
            0.58
          ],
          "labels": [
            "bushes"
          ],
          "object_id": 3823637,
          "synsets": [
            "shrub.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "white"
          ],
          "bbox": [
            0.63,
            0.54,
            0.77,
            0.6
          ],
          "labels": [
            "rock"
          ],
          "object_id": 1209150,
          "synsets": [
            "rock.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0.44,
            0.7,
            0.47,
            0.72
          ],
          "labels": [
            "tongue"
          ],
          "object_id": 3823638,
          "synsets": [
            "tongue.n.01"
          ],
          "type": 0
        },
        {
          "attributes": [
            "purple",
            "dark"
          ],
          "bbox": [
            0.47,
            0.45,
            0.56,
            0.53
          ],
          "labels": [
            "shirt"
          ],
          "object_id": 1209151,
          "synsets": [
            "shirt.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0.44,
            0.64,
            0.55,
            0.8
          ],
          "labels": [
            "dog"
          ],
          "object_id": 3823640,
          "synsets": [
            "dog.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0.28,
            0.61,
            0.36,
            0.74
          ],
          "labels": [
            "dog"
          ],
          "object_id": 3823641,
          "synsets": [
            "dog.n.01"
          ],
          "type": 0
        },
        {
          "attributes": null,
          "bbox": [
            0.72,
            0.49,
            0.92,
            0.58
          ],
          "labels": [
            "bush"
          ],
          "object_id": 1209141,
          "synsets": [
            "shrub.n.01"
         
    … (truncated)

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-08 from ljnlonoljpiljm/visual_genome at revision 87c825c

    Worth knowing

    Related datasets

    Landmark papers