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 uec256_384@bd80e9e8a50662846247f4ffdb1858dc03fd8c9f
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                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 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 478, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2368, in __iter__
                  example = _apply_feature_types_on_example(
                      example, self.features, token_per_repo_id=self.token_per_repo_id
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2285, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2162, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1446, 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.14/site-packages/datasets/features/features.py", line 1469, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ~~~~~~~~~~~~~~~~~~~~~^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1144, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1081, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1102, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label uec256_384@bd80e9e8a50662846247f4ffdb1858dc03fd8c9f

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.

UEC-256 (384)

Food image recognition with 256 food categories.

This is a 384×384 resized version of the UEC-256 dataset, with annotations in COCO format (images, annotations, categories).

Contents

  • images.zip — all images, resized to 384×384 (JPEG).
  • annotations.zip — COCO-format JSON annotation files.

Extract

unzip images.zip
unzip annotations.zip

Splits

Split Images Annotations Categories
train 25,930 28,409 256
val 2,967 3,234 256

Categories

256 categories (e.g. rice, eels on rice, pilaf, chicken-'n'-egg on rice, pork cutlet on rice, beef curry, sushi, chicken rice, fried rice, tempura bowl, bibimbap, toast, croissant, roll bread, raisin bread, chip butty, hamburger, pizza, sandwiches, udon noodle...).

Notes

  • Images resized to 384×384 (JPEG).
  • Annotations in COCO format.
  • License & citation: please refer to the original UEC-256 dataset.
Downloads last month
42