Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'class'}) and 3 missing columns ({'objB', 'relation', 'objA'}).

This happened while the json dataset builder was generating data using

hf://datasets/j-min/layoutbench-coco/count_layouts_2_4.json (at revision 8d7ab6c1a3f948e3ebe8cc7d40f435a7573e7eb7)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 580, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              file_name: string
              id: int64
              count: int64
              class: string
              boxes_normalized: list<item: list<item: double>>
                child 0, item: list<item: double>
                    child 0, item: double
              box_captions: list<item: string>
                child 0, item: string
              box_ids: list<item: int64>
                child 0, item: int64
              caption: string
              split: string
              -- schema metadata --
              pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 1181
              to
              {'file_name': Value(dtype='string', id=None), 'id': Value(dtype='int64', id=None), 'count': Value(dtype='int64', id=None), 'objA': Value(dtype='string', id=None), 'objB': Value(dtype='string', id=None), 'boxes_normalized': Sequence(feature=Sequence(feature=Value(dtype='float64', id=None), length=-1, id=None), length=-1, id=None), 'box_captions': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'box_ids': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'caption': Value(dtype='string', id=None), 'relation': Value(dtype='string', id=None), 'split': Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1392, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1041, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 999, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1740, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 new columns ({'class'}) and 3 missing columns ({'objB', 'relation', 'objA'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/j-min/layoutbench-coco/count_layouts_2_4.json (at revision 8d7ab6c1a3f948e3ebe8cc7d40f435a7573e7eb7)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

file_name
string
id
int64
count
int64
objA
string
objB
string
boxes_normalized
sequence
box_captions
sequence
box_ids
sequence
caption
string
relation
string
split
string
combination_common_holding_person_vase_iter0.png
1,760
2
person
vase
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "vase" ]
[ 7120, 7121 ]
person is holding vase
holding
common
combination_common_holding_person_vase_iter1.png
1,761
2
person
vase
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "vase" ]
[ 7122, 7123 ]
person is holding vase
holding
common
combination_common_holding_person_vase_iter2.png
1,762
2
person
vase
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "vase" ]
[ 7124, 7125 ]
person is holding vase
holding
common
combination_common_holding_person_baseball glove_iter0.png
1,763
2
person
baseball glove
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "baseball glove" ]
[ 7126, 7127 ]
person is holding baseball glove
holding
common
combination_common_holding_person_baseball glove_iter1.png
1,764
2
person
baseball glove
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "baseball glove" ]
[ 7128, 7129 ]
person is holding baseball glove
holding
common
combination_common_holding_person_baseball glove_iter2.png
1,765
2
person
baseball glove
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "baseball glove" ]
[ 7130, 7131 ]
person is holding baseball glove
holding
common
combination_common_holding_person_handbag_iter0.png
1,766
2
person
handbag
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "handbag" ]
[ 7132, 7133 ]
person is holding handbag
holding
common
combination_common_holding_person_handbag_iter1.png
1,767
2
person
handbag
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "handbag" ]
[ 7134, 7135 ]
person is holding handbag
holding
common
combination_common_holding_person_handbag_iter2.png
1,768
2
person
handbag
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "handbag" ]
[ 7136, 7137 ]
person is holding handbag
holding
common
combination_common_holding_person_banana_iter0.png
1,769
2
person
banana
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "banana" ]
[ 7138, 7139 ]
person is holding banana
holding
common
combination_common_holding_person_banana_iter1.png
1,770
2
person
banana
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "banana" ]
[ 7140, 7141 ]
person is holding banana
holding
common
combination_common_holding_person_banana_iter2.png
1,771
2
person
banana
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "banana" ]
[ 7142, 7143 ]
person is holding banana
holding
common
combination_common_holding_elephant_banana_iter0.png
1,772
2
elephant
banana
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "elephant", "banana" ]
[ 7144, 7145 ]
elephant is holding banana
holding
common
combination_common_holding_elephant_banana_iter1.png
1,773
2
elephant
banana
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "elephant", "banana" ]
[ 7146, 7147 ]
elephant is holding banana
holding
common
combination_common_holding_elephant_banana_iter2.png
1,774
2
elephant
banana
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "elephant", "banana" ]
[ 7148, 7149 ]
elephant is holding banana
holding
common
combination_common_holding_cat_mouse_iter0.png
1,775
2
cat
mouse
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "cat", "mouse" ]
[ 7150, 7151 ]
cat is holding mouse
holding
common
combination_common_holding_cat_mouse_iter1.png
1,776
2
cat
mouse
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "cat", "mouse" ]
[ 7152, 7153 ]
cat is holding mouse
holding
common
combination_common_holding_cat_mouse_iter2.png
1,777
2
cat
mouse
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "cat", "mouse" ]
[ 7154, 7155 ]
cat is holding mouse
holding
common
combination_common_holding_person_bowl_iter0.png
1,778
2
person
bowl
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "bowl" ]
[ 7156, 7157 ]
person is holding bowl
holding
common
combination_common_holding_person_bowl_iter1.png
1,779
2
person
bowl
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "bowl" ]
[ 7158, 7159 ]
person is holding bowl
holding
common
combination_common_holding_person_bowl_iter2.png
1,780
2
person
bowl
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "bowl" ]
[ 7160, 7161 ]
person is holding bowl
holding
common
combination_common_holding_person_dog_iter0.png
1,781
2
person
dog
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "dog" ]
[ 7162, 7163 ]
person is holding dog
holding
common
combination_common_holding_person_dog_iter1.png
1,782
2
person
dog
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "dog" ]
[ 7164, 7165 ]
person is holding dog
holding
common
combination_common_holding_person_dog_iter2.png
1,783
2
person
dog
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "dog" ]
[ 7166, 7167 ]
person is holding dog
holding
common
combination_common_holding_person_tennis racket_iter0.png
1,784
2
person
tennis racket
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "tennis racket" ]
[ 7168, 7169 ]
person is holding tennis racket
holding
common
combination_common_holding_person_tennis racket_iter1.png
1,785
2
person
tennis racket
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "tennis racket" ]
[ 7170, 7171 ]
person is holding tennis racket
holding
common
combination_common_holding_person_tennis racket_iter2.png
1,786
2
person
tennis racket
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "tennis racket" ]
[ 7172, 7173 ]
person is holding tennis racket
holding
common
combination_common_holding_person_cat_iter0.png
1,787
2
person
cat
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "cat" ]
[ 7174, 7175 ]
person is holding cat
holding
common
combination_common_holding_person_cat_iter1.png
1,788
2
person
cat
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "cat" ]
[ 7176, 7177 ]
person is holding cat
holding
common
combination_common_holding_person_cat_iter2.png
1,789
2
person
cat
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "cat" ]
[ 7178, 7179 ]
person is holding cat
holding
common
combination_common_holding_person_umbrella_iter0.png
1,790
2
person
umbrella
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "umbrella" ]
[ 7180, 7181 ]
person is holding umbrella
holding
common
combination_common_holding_person_umbrella_iter1.png
1,791
2
person
umbrella
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "umbrella" ]
[ 7182, 7183 ]
person is holding umbrella
holding
common
combination_common_holding_person_umbrella_iter2.png
1,792
2
person
umbrella
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "umbrella" ]
[ 7184, 7185 ]
person is holding umbrella
holding
common
combination_common_holding_dog_sports ball_iter0.png
1,793
2
dog
sports ball
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "dog", "sports ball" ]
[ 7186, 7187 ]
dog is holding sports ball
holding
common
combination_common_holding_dog_sports ball_iter1.png
1,794
2
dog
sports ball
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "dog", "sports ball" ]
[ 7188, 7189 ]
dog is holding sports ball
holding
common
combination_common_holding_dog_sports ball_iter2.png
1,795
2
dog
sports ball
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "dog", "sports ball" ]
[ 7190, 7191 ]
dog is holding sports ball
holding
common
combination_common_holding_person_tie_iter0.png
1,796
2
person
tie
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "tie" ]
[ 7192, 7193 ]
person is holding tie
holding
common
combination_common_holding_person_tie_iter1.png
1,797
2
person
tie
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "tie" ]
[ 7194, 7195 ]
person is holding tie
holding
common
combination_common_holding_person_tie_iter2.png
1,798
2
person
tie
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "tie" ]
[ 7196, 7197 ]
person is holding tie
holding
common
combination_common_holding_handbag_cell phone_iter0.png
1,799
2
handbag
cell phone
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "handbag", "cell phone" ]
[ 7198, 7199 ]
handbag is holding cell phone
holding
common
combination_common_holding_handbag_cell phone_iter1.png
1,800
2
handbag
cell phone
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "handbag", "cell phone" ]
[ 7200, 7201 ]
handbag is holding cell phone
holding
common
combination_common_holding_handbag_cell phone_iter2.png
1,801
2
handbag
cell phone
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "handbag", "cell phone" ]
[ 7202, 7203 ]
handbag is holding cell phone
holding
common
combination_common_holding_person_wine glass_iter0.png
1,802
2
person
wine glass
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "wine glass" ]
[ 7204, 7205 ]
person is holding wine glass
holding
common
combination_common_holding_person_wine glass_iter1.png
1,803
2
person
wine glass
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "wine glass" ]
[ 7206, 7207 ]
person is holding wine glass
holding
common
combination_common_holding_person_wine glass_iter2.png
1,804
2
person
wine glass
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "wine glass" ]
[ 7208, 7209 ]
person is holding wine glass
holding
common
combination_common_holding_backpack_bottle_iter0.png
1,805
2
backpack
bottle
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "backpack", "bottle" ]
[ 7210, 7211 ]
backpack is holding bottle
holding
common
combination_common_holding_backpack_bottle_iter1.png
1,806
2
backpack
bottle
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "backpack", "bottle" ]
[ 7212, 7213 ]
backpack is holding bottle
holding
common
combination_common_holding_backpack_bottle_iter2.png
1,807
2
backpack
bottle
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "backpack", "bottle" ]
[ 7214, 7215 ]
backpack is holding bottle
holding
common
combination_common_holding_person_cup_iter0.png
1,808
2
person
cup
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "cup" ]
[ 7216, 7217 ]
person is holding cup
holding
common
combination_common_holding_person_cup_iter1.png
1,809
2
person
cup
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "cup" ]
[ 7218, 7219 ]
person is holding cup
holding
common
combination_common_holding_person_cup_iter2.png
1,810
2
person
cup
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "cup" ]
[ 7220, 7221 ]
person is holding cup
holding
common
combination_common_holding_suitcase_laptop_iter0.png
1,811
2
suitcase
laptop
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "suitcase", "laptop" ]
[ 7222, 7223 ]
suitcase is holding laptop
holding
common
combination_common_holding_suitcase_laptop_iter1.png
1,812
2
suitcase
laptop
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "suitcase", "laptop" ]
[ 7224, 7225 ]
suitcase is holding laptop
holding
common
combination_common_holding_suitcase_laptop_iter2.png
1,813
2
suitcase
laptop
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "suitcase", "laptop" ]
[ 7226, 7227 ]
suitcase is holding laptop
holding
common
combination_common_holding_person_surfboard_iter0.png
1,814
2
person
surfboard
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "person", "surfboard" ]
[ 7228, 7229 ]
person is holding surfboard
holding
common
combination_common_holding_person_surfboard_iter1.png
1,815
2
person
surfboard
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "person", "surfboard" ]
[ 7230, 7231 ]
person is holding surfboard
holding
common
combination_common_holding_person_surfboard_iter2.png
1,816
2
person
surfboard
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "person", "surfboard" ]
[ 7232, 7233 ]
person is holding surfboard
holding
common
combination_common_holding_backpack_book_iter0.png
1,817
2
backpack
book
[ [ 0.208984375, 0.134765625, 0.73828125, 0.87109375 ], [ 0.62890625, 0.287109375, 0.84765625, 0.48242187500000006 ] ]
[ "backpack", "book" ]
[ 7234, 7235 ]
backpack is holding book
holding
common
combination_common_holding_backpack_book_iter1.png
1,818
2
backpack
book
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.103515625, 0.234375, 0.322265625, 0.4296875 ] ]
[ "backpack", "book" ]
[ 7236, 7237 ]
backpack is holding book
holding
common
combination_common_holding_backpack_book_iter2.png
1,819
2
backpack
book
[ [ 0.2421875, 0.125, 0.771484375, 0.861328125 ], [ 0.69921875, 0.5234375, 0.841796875, 0.6640625 ] ]
[ "backpack", "book" ]
[ 7238, 7239 ]
backpack is holding book
holding
common
combination_common_next to_person_bicycle_iter0.png
1,820
2
person
bicycle
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "person", "bicycle" ]
[ 7240, 7241 ]
person is next to bicycle
next to
common
combination_common_next to_person_bicycle_iter1.png
1,821
2
person
bicycle
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "person", "bicycle" ]
[ 7242, 7243 ]
person is next to bicycle
next to
common
combination_common_next to_person_bicycle_iter2.png
1,822
2
person
bicycle
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "person", "bicycle" ]
[ 7244, 7245 ]
person is next to bicycle
next to
common
combination_common_next to_car_motorcycle_iter0.png
1,823
2
car
motorcycle
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "car", "motorcycle" ]
[ 7246, 7247 ]
car is next to motorcycle
next to
common
combination_common_next to_car_motorcycle_iter1.png
1,824
2
car
motorcycle
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "car", "motorcycle" ]
[ 7248, 7249 ]
car is next to motorcycle
next to
common
combination_common_next to_car_motorcycle_iter2.png
1,825
2
car
motorcycle
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "car", "motorcycle" ]
[ 7250, 7251 ]
car is next to motorcycle
next to
common
combination_common_next to_bus_train_iter0.png
1,826
2
bus
train
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "bus", "train" ]
[ 7252, 7253 ]
bus is next to train
next to
common
combination_common_next to_bus_train_iter1.png
1,827
2
bus
train
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "bus", "train" ]
[ 7254, 7255 ]
bus is next to train
next to
common
combination_common_next to_bus_train_iter2.png
1,828
2
bus
train
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "bus", "train" ]
[ 7256, 7257 ]
bus is next to train
next to
common
combination_common_next to_truck_boat_iter0.png
1,829
2
truck
boat
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "truck", "boat" ]
[ 7258, 7259 ]
truck is next to boat
next to
common
combination_common_next to_truck_boat_iter1.png
1,830
2
truck
boat
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "truck", "boat" ]
[ 7260, 7261 ]
truck is next to boat
next to
common
combination_common_next to_truck_boat_iter2.png
1,831
2
truck
boat
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "truck", "boat" ]
[ 7262, 7263 ]
truck is next to boat
next to
common
combination_common_next to_traffic light_fire hydrant_iter0.png
1,832
2
traffic light
fire hydrant
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "traffic light", "fire hydrant" ]
[ 7264, 7265 ]
traffic light is next to fire hydrant
next to
common
combination_common_next to_traffic light_fire hydrant_iter1.png
1,833
2
traffic light
fire hydrant
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "traffic light", "fire hydrant" ]
[ 7266, 7267 ]
traffic light is next to fire hydrant
next to
common
combination_common_next to_traffic light_fire hydrant_iter2.png
1,834
2
traffic light
fire hydrant
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "traffic light", "fire hydrant" ]
[ 7268, 7269 ]
traffic light is next to fire hydrant
next to
common
combination_common_next to_stop sign_parking meter_iter0.png
1,835
2
stop sign
parking meter
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "stop sign", "parking meter" ]
[ 7270, 7271 ]
stop sign is next to parking meter
next to
common
combination_common_next to_stop sign_parking meter_iter1.png
1,836
2
stop sign
parking meter
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "stop sign", "parking meter" ]
[ 7272, 7273 ]
stop sign is next to parking meter
next to
common
combination_common_next to_stop sign_parking meter_iter2.png
1,837
2
stop sign
parking meter
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "stop sign", "parking meter" ]
[ 7274, 7275 ]
stop sign is next to parking meter
next to
common
combination_common_next to_bench_fire hydrant_iter0.png
1,838
2
bench
fire hydrant
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "bench", "fire hydrant" ]
[ 7276, 7277 ]
bench is next to fire hydrant
next to
common
combination_common_next to_bench_fire hydrant_iter1.png
1,839
2
bench
fire hydrant
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "bench", "fire hydrant" ]
[ 7278, 7279 ]
bench is next to fire hydrant
next to
common
combination_common_next to_bench_fire hydrant_iter2.png
1,840
2
bench
fire hydrant
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "bench", "fire hydrant" ]
[ 7280, 7281 ]
bench is next to fire hydrant
next to
common
combination_common_next to_bird_cat_iter0.png
1,841
2
bird
cat
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "bird", "cat" ]
[ 7282, 7283 ]
bird is next to cat
next to
common
combination_common_next to_bird_cat_iter1.png
1,842
2
bird
cat
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "bird", "cat" ]
[ 7284, 7285 ]
bird is next to cat
next to
common
combination_common_next to_bird_cat_iter2.png
1,843
2
bird
cat
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "bird", "cat" ]
[ 7286, 7287 ]
bird is next to cat
next to
common
combination_common_next to_dog_horse_iter0.png
1,844
2
dog
horse
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "dog", "horse" ]
[ 7288, 7289 ]
dog is next to horse
next to
common
combination_common_next to_dog_horse_iter1.png
1,845
2
dog
horse
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "dog", "horse" ]
[ 7290, 7291 ]
dog is next to horse
next to
common
combination_common_next to_dog_horse_iter2.png
1,846
2
dog
horse
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "dog", "horse" ]
[ 7292, 7293 ]
dog is next to horse
next to
common
combination_common_next to_sheep_cow_iter0.png
1,847
2
sheep
cow
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "sheep", "cow" ]
[ 7294, 7295 ]
sheep is next to cow
next to
common
combination_common_next to_sheep_cow_iter1.png
1,848
2
sheep
cow
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "sheep", "cow" ]
[ 7296, 7297 ]
sheep is next to cow
next to
common
combination_common_next to_sheep_cow_iter2.png
1,849
2
sheep
cow
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "sheep", "cow" ]
[ 7298, 7299 ]
sheep is next to cow
next to
common
combination_common_next to_elephant_zebra_iter0.png
1,850
2
elephant
zebra
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "elephant", "zebra" ]
[ 7300, 7301 ]
elephant is next to zebra
next to
common
combination_common_next to_elephant_zebra_iter1.png
1,851
2
elephant
zebra
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "elephant", "zebra" ]
[ 7302, 7303 ]
elephant is next to zebra
next to
common
combination_common_next to_elephant_zebra_iter2.png
1,852
2
elephant
zebra
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "elephant", "zebra" ]
[ 7304, 7305 ]
elephant is next to zebra
next to
common
combination_common_next to_giraffe_zebra_iter0.png
1,853
2
giraffe
zebra
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "giraffe", "zebra" ]
[ 7306, 7307 ]
giraffe is next to zebra
next to
common
combination_common_next to_giraffe_zebra_iter1.png
1,854
2
giraffe
zebra
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "giraffe", "zebra" ]
[ 7308, 7309 ]
giraffe is next to zebra
next to
common
combination_common_next to_giraffe_zebra_iter2.png
1,855
2
giraffe
zebra
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "giraffe", "zebra" ]
[ 7310, 7311 ]
giraffe is next to zebra
next to
common
combination_common_next to_backpack_umbrella_iter0.png
1,856
2
backpack
umbrella
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "backpack", "umbrella" ]
[ 7312, 7313 ]
backpack is next to umbrella
next to
common
combination_common_next to_backpack_umbrella_iter1.png
1,857
2
backpack
umbrella
[ [ 0.529296875, 0.234375, 0.98046875, 0.705078125 ], [ 0.0859375, 0.23632812500000003, 0.44921875, 0.697265625 ] ]
[ "backpack", "umbrella" ]
[ 7314, 7315 ]
backpack is next to umbrella
next to
common
combination_common_next to_backpack_umbrella_iter2.png
1,858
2
backpack
umbrella
[ [ 0.53125, 0.4453125, 0.9824218750000001, 0.9160156250000001 ], [ 0.11914062500000001, 0.580078125, 0.435546875, 0.875 ] ]
[ "backpack", "umbrella" ]
[ 7316, 7317 ]
backpack is next to umbrella
next to
common
combination_common_next to_wine glass_bottle_iter0.png
1,859
2
wine glass
bottle
[ [ 0.529296875, 0.408203125, 0.8828125, 0.693359375 ], [ 0.109375, 0.40234375, 0.408203125, 0.69140625 ] ]
[ "wine glass", "bottle" ]
[ 7318, 7319 ]
wine glass is next to bottle
next to
common
End of preview.

LayoutBench-COCO

Release of LayoutBench-COCO dataset from Diagnostic Benchmark and Iterative Inpainting for Layout-Guided Image Generation (CVPR 2024 Workshop)

See also LayoutBench for fine-grained evaluation on OOD layouts with CLEVR objects.

[Project Page] [Paper]

Authors: Jaemin Cho, Linjie Li, Zhengyuan Yang, Zhe Gan, Lijuan Wang, Mohit Bansal

Examples layout inputs in 4 skills

Summary

LayoutBench-COCO is a diagnostic benchmark that examines layout-guided image generation models on arbitrary, unseen layouts. Unlike LayoutBench, LayoutBench-COCO consists of OOD layouts of real objects and suports zero-shot evaluation. LayoutBench-COCO measures 4 skills (Number, Position, Size, Combination), whose objects are from MS COCO. The new 'combination’ split consists of layouts with two objects in different spatial relations, and the remaining three splits are similar to those of LayoutBench.

Skill Details

Skill 1: Number.

We define two layouts for 2∼10 objects and use 40 COCO objects, resulting in 720 total layouts (= 2×9×40). We name the layouts with 2∼4 and 8∼10 objects as few and many splits. The layouts are paired with captions with a template “a photo of [N] [objects]”.

Skill 2: Position.

For each of boundary and center splits, we define four layouts with 40 COCO objects, resulting in 320 total layouts (= 2 × 4 × 40). The layouts are paired with captions with a template “a photo of [N] [objects]”.

Skill 3: Size.

For each of tiny and large splits, we define nine layouts with 40 COCO objects, resulting in 720 total layouts (= 9×2×40). The layouts are paired with captions with a template “a photo of [N] [objects]”.

Skill 4: Combination.

This skill measures whether a model can generate two objects that commonly or uncommonly appear in the real world. For each of the three spatial relations (holding, next to, sitting on), we define three layouts without specifying objects. For each of the three relations, we manually define 20 object pairs of COCO objects for common and uncommon splits. For example, (1) ‘person sitting on chair’ is more common than (2) ‘elephant sitting on banana’ in real life. This results in 360 total layouts (= 2×3×3×20). The layouts are paired with captions with a template “[objA] [relation] [objB]”.

Use of LayoutBench-COCO

Step 1. Download LayoutBench-COCO and Generate Images from Layouts

Please see Step 1 README for instructions on downloading LayoutBench-COCO and generating images from layouts.

Step 2. Run Evaluation

Please see Step 2 README for instructions on running evaluation on LayoutBench-COCO.

Citation

@inproceedings{Cho2024LayoutBench,
  author    = {Jaemin Cho and Linjie Li and Zhengyuan Yang and Zhe Gan and Lijuan Wang and Mohit Bansal},
  title     = {Diagnostic Benchmark and Iterative Inpainting for Layout-Guided Image Generation},
  booktitle = {The First Workshop on the Evaluation of Generative Foundation Models},
  year      = {2024},
}
Downloads last month
78