Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Invalid string class label VisualGenome@a100e0b17f07fbfb9f661647a85346fd4e7e9e7d
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
                  return get_rows(
                         ^^^^^^^^^
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
                  rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2240, in __iter__
                  example = _apply_feature_types_on_example(
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2157, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 2152, in encode_example
                  return encode_nested_example(self, example)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1437, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1460, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1143, in encode_example
                  example_data = self.str2int(example_data)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1080, in str2int
                  output = [self._strval2int(value) for value in values]
                            ^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1101, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label VisualGenome@a100e0b17f07fbfb9f661647a85346fd4e7e9e7d

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Visual Genome Raw Data

This repository provides a convenient copy of the raw Visual Genome dataset files for easier access and downloading.

This is not an official Visual Genome release.
The original dataset was created and released by the Visual Genome authors.
Please refer to the official Visual Genome website and paper for authoritative information.

Dataset Summary

Visual Genome is a large-scale vision-language dataset with dense image annotations, including:

  • Images
  • Region descriptions
  • Object annotations
  • Attribute annotations
  • Relationship annotations
  • Scene graphs
  • Visual question-answering annotations
  • WordNet synset mappings

The dataset contains approximately:

  • 108K images
  • 5.4M region descriptions
  • 1.7M visual question-answer pairs
  • 3.8M object instances
  • 2.8M attributes
  • 2.3M relationships

Intended Use

This dataset can be used for research on:

  • Image-text representation learning
  • Image captioning
  • Dense captioning
  • Object detection
  • Attribute recognition
  • Visual relationship detection
  • Scene graph generation
  • Visual question answering
  • Vision-language pretraining

Source

Original Visual Genome website:

https://visualgenome.org/

Dataset page:

https://homes.cs.washington.edu/~ranjay/visualgenome/

License

Visual Genome is licensed under the Creative Commons Attribution 4.0 International License:

CC BY 4.0
https://creativecommons.org/licenses/by/4.0/

Users should comply with the original license terms, including proper attribution to the Visual Genome authors.

Citation

If you use this dataset, please cite the original Visual Genome paper:

@article{krishna2017visualgenome,
  title={Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotations},
  author={Krishna, Ranjay and Zhu, Yuke and Groth, Oliver and Johnson, Justin and Hata, Kenji and Kravitz, Joshua and Chen, Stephanie and Kalantidis, Yannis and Li, Li-Jia and Shamma, David A and Bernstein, Michael and Fei-Fei, Li},
  journal={International Journal of Computer Vision},
  year={2017}
}

Disclaimer

This repository is not affiliated with, endorsed by, or maintained by the original Visual Genome authors.

The data is provided as-is for convenience. Users are responsible for verifying the dataset version, file integrity, license terms, and suitability for their own use cases.

Downloads last month
51