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 23e6b7413e0b3a9d12b8394eb8e630f715717ef4)

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 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              box_ids: list<item: int64>
                child 0, item: int64
              boxes_normalized: list<item: list<item: double>>
                child 0, item: list<item: double>
                    child 0, item: double
              id: int64
              count: int64
              class: string
              split: string
              box_captions: list<item: string>
                child 0, item: string
              caption: string
              file_name: string
              to
              {'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), 'id': Value(dtype='int64', id=None), 'box_ids': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'relation': Value(dtype='string', id=None), 'count': Value(dtype='int64', id=None), 'split': Value(dtype='string', id=None), 'box_captions': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'caption': Value(dtype='string', id=None), 'objA': Value(dtype='string', id=None), 'file_name': 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 1577, 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 1191, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2013, 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 23e6b7413e0b3a9d12b8394eb8e630f715717ef4)
              
              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.

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

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
2