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:    CastError
Message:      Couldn't cast
test_0_0.png: struct<blocks: list<item: struct<lines: list<item: struct<words: list<item: struct<polygon: list<ite (... 232 chars omitted)
  child 0, blocks: list<item: struct<lines: list<item: struct<words: list<item: struct<polygon: list<item: list<item: d (... 156 chars omitted)
      child 0, item: struct<lines: list<item: struct<words: list<item: struct<polygon: list<item: list<item: double>>, de (... 144 chars omitted)
          child 0, lines: list<item: struct<words: list<item: struct<polygon: list<item: list<item: double>>, detection_confid (... 90 chars omitted)
              child 0, item: struct<words: list<item: struct<polygon: list<item: list<item: double>>, detection_confidence: doubl (... 78 chars omitted)
                  child 0, words: list<item: struct<polygon: list<item: list<item: double>>, detection_confidence: double, text: strin (... 49 chars omitted)
                      child 0, item: struct<polygon: list<item: list<item: double>>, detection_confidence: double, text: string, recognit (... 37 chars omitted)
                          child 0, polygon: list<item: list<item: double>>
                              child 0, item: list<item: double>
                                  child 0, item: double
                          child 1, detection_confidence: double
                          child 2, text: string
                          child 3, recognition_confidence: double
                          child 4, order: int64
                  child 1, o
...
            child 1, order: int64
          child 1, words: list<item: null>
              child 0, item: null
          child 2, order: int64
  child 1, free_lines: list<item: null>
      child 0, item: null
  child 2, free_words: list<item: null>
      child 0, item: null
categories: list<item: struct<id: int64, name: string>>
  child 0, item: struct<id: int64, name: string>
      child 0, id: int64
      child 1, name: string
annotations: list<item: struct<id: int64, image_id: int64, category_id: int64, bbox: list<item: double>, area: do (... 125 chars omitted)
  child 0, item: struct<id: int64, image_id: int64, category_id: int64, bbox: list<item: double>, area: double, iscro (... 113 chars omitted)
      child 0, id: int64
      child 1, image_id: int64
      child 2, category_id: int64
      child 3, bbox: list<item: double>
          child 0, item: double
      child 4, area: double
      child 5, iscrowd: int64
      child 6, segmentation: list<item: list<item: double>>
          child 0, item: list<item: double>
              child 0, item: double
      child 7, attributes: struct<transcription: string, order: int64>
          child 0, transcription: string
          child 1, order: int64
images: list<item: struct<id: int64, file_name: string, width: int64, height: int64>>
  child 0, item: struct<id: int64, file_name: string, width: int64, height: int64>
      child 0, id: int64
      child 1, file_name: string
      child 2, width: int64
      child 3, height: int64
to
{'categories': List({'id': Value('int64'), 'name': Value('string')}), 'images': List({'id': Value('int64'), 'file_name': Value('string'), 'width': Value('int64'), 'height': Value('int64')}), 'annotations': List({'id': Value('int64'), 'image_id': Value('int64'), 'category_id': Value('int64'), 'bbox': List(Value('float64')), 'area': Value('float64'), 'iscrowd': Value('int64'), 'segmentation': List(List(Value('float64'))), 'attributes': {'transcription': Value('string'), 'order': Value('int64')}})}
because column names don't match
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 483, 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 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              test_0_0.png: struct<blocks: list<item: struct<lines: list<item: struct<words: list<item: struct<polygon: list<ite (... 232 chars omitted)
                child 0, blocks: list<item: struct<lines: list<item: struct<words: list<item: struct<polygon: list<item: list<item: d (... 156 chars omitted)
                    child 0, item: struct<lines: list<item: struct<words: list<item: struct<polygon: list<item: list<item: double>>, de (... 144 chars omitted)
                        child 0, lines: list<item: struct<words: list<item: struct<polygon: list<item: list<item: double>>, detection_confid (... 90 chars omitted)
                            child 0, item: struct<words: list<item: struct<polygon: list<item: list<item: double>>, detection_confidence: doubl (... 78 chars omitted)
                                child 0, words: list<item: struct<polygon: list<item: list<item: double>>, detection_confidence: double, text: strin (... 49 chars omitted)
                                    child 0, item: struct<polygon: list<item: list<item: double>>, detection_confidence: double, text: string, recognit (... 37 chars omitted)
                                        child 0, polygon: list<item: list<item: double>>
                                            child 0, item: list<item: double>
                                                child 0, item: double
                                        child 1, detection_confidence: double
                                        child 2, text: string
                                        child 3, recognition_confidence: double
                                        child 4, order: int64
                                child 1, o
              ...
                          child 1, order: int64
                        child 1, words: list<item: null>
                            child 0, item: null
                        child 2, order: int64
                child 1, free_lines: list<item: null>
                    child 0, item: null
                child 2, free_words: list<item: null>
                    child 0, item: null
              categories: list<item: struct<id: int64, name: string>>
                child 0, item: struct<id: int64, name: string>
                    child 0, id: int64
                    child 1, name: string
              annotations: list<item: struct<id: int64, image_id: int64, category_id: int64, bbox: list<item: double>, area: do (... 125 chars omitted)
                child 0, item: struct<id: int64, image_id: int64, category_id: int64, bbox: list<item: double>, area: double, iscro (... 113 chars omitted)
                    child 0, id: int64
                    child 1, image_id: int64
                    child 2, category_id: int64
                    child 3, bbox: list<item: double>
                        child 0, item: double
                    child 4, area: double
                    child 5, iscrowd: int64
                    child 6, segmentation: list<item: list<item: double>>
                        child 0, item: list<item: double>
                            child 0, item: double
                    child 7, attributes: struct<transcription: string, order: int64>
                        child 0, transcription: string
                        child 1, order: int64
              images: list<item: struct<id: int64, file_name: string, width: int64, height: int64>>
                child 0, item: struct<id: int64, file_name: string, width: int64, height: int64>
                    child 0, id: int64
                    child 1, file_name: string
                    child 2, width: int64
                    child 3, height: int64
              to
              {'categories': List({'id': Value('int64'), 'name': Value('string')}), 'images': List({'id': Value('int64'), 'file_name': Value('string'), 'width': Value('int64'), 'height': Value('int64')}), 'annotations': List({'id': Value('int64'), 'image_id': Value('int64'), 'category_id': Value('int64'), 'bbox': List(Value('float64')), 'area': Value('float64'), 'iscrowd': Value('int64'), 'segmentation': List(List(Value('float64'))), 'attributes': {'transcription': Value('string'), 'order': Value('int64')}})}
              because column names don't match

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.

Ordered word-level annotations for Russian handwritten essays

Этот репозиторий содержит упорядоченную разметку русских рукописных школьных сочинений на уровне слов. Изображения необходимо скачать отдельно из набора Dataset of handwritten school essays in Russian на Mendeley Data (version 1, DOI: 10.17632/vs44v8r3nf.1).

После распаковки положите файлы разметки из этого репозитория рядом с папками изображений:

handwritten_essay/
├── train/
├── test/
├── train_page.json
├── test_page.json
├── train_coco.json
└── test_coco.json

В исходном архиве названия файлов инвертированы: в папке train/ находятся изображения test_*.png, а в папке test/ — train_*.png. Имена split-файлов разметки в этом репозитории уже приведены в соответствие с папками.

Разметка

Для каждого split доступны два эквивалентных представления:

  • *_page.json — иерархия blocks → lines → words с порядком чтения;
  • *_coco.json — COCO-разметка одного класса text.

На уровне слова указаны полигон, транскрипция, порядок чтения и confidence-поля. COCO-файлы содержат segmentation, bbox, area, транскрипцию и order.

Split Страниц Слов
train 28 5 146
test 131 17 129
Всего 159 22 275

Пример

Word-level annotations

Лицензия и источник

Исходные изображения опубликованы авторами на Mendeley Data под лицензией CC BY-NC 3.0. При использовании изображений необходимо соблюдать условия исходного набора и цитировать DOI: 10.17632/vs44v8r3nf.1.

Downloads last month
148