Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    TypeError
Message:      int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1539, in _prepare_split_single
                  for key, record in generator:
                                     ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 131, in _generate_examples
                  for example_idx, example in enumerate(self._get_pipeline_from_tar(tar_path, tar_iterator)):
                                              ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  for filename, f in tar_iterator:
                                     ^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
                  for x in self.generator(*self.args):
                           ~~~~~~~~~~~~~~^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1419, in _iter_from_urlpath
                  with xopen(urlpath, "rb", download_config=download_config, block_size=0) as f:
                       ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 976, in xopen
                  file_obj = fs.open(paths[0], mode)
                File "<string>", line 3, in open
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1176, in __call__
                  return self._mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1180, in _mock_call
                  return self._execute_mock_call(*args, **kwargs)
                         ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/unittest/mock.py", line 1247, in _execute_mock_call
                  result = effect(*args, **kwargs)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 794, in wrapped
                  tracker.files[urlpath] = {"read": 0, "size": int(f.size)}
                                                               ~~~^^^^^^^^
              TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1401, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1579, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

jpeg
image
xml
unknown
__key__
string
__url__
string
[ 60, 63, 120, 109, 108, 32, 118, 101, 114, 115, 105, 111, 110, 61, 34, 49, 46, 48, 34, 32, 101, 110, 99, 111, 100, 105, 110, 103, 61, 34, 85, 84, 70, 45, 56, 34, 63, 62, 10, 60, 104, 101, 108, 105, 111, 115, 62, 10, 9, ...
cowpea_1850_day_17
hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.tar
[ 60, 63, 120, 109, 108, 32, 118, 101, 114, 115, 105, 111, 110, 61, 34, 49, 46, 48, 34, 32, 101, 110, 99, 111, 100, 105, 110, 103, 61, 34, 85, 84, 70, 45, 56, 34, 63, 62, 10, 60, 104, 101, 108, 105, 111, 115, 62, 10, 9, ...
cowpea_3696_day_25
hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.tar
[ 60, 63, 120, 109, 108, 32, 118, 101, 114, 115, 105, 111, 110, 61, 34, 49, 46, 48, 34, 32, 101, 110, 99, 111, 100, 105, 110, 103, 61, 34, 85, 84, 70, 45, 56, 34, 63, 62, 10, 60, 104, 101, 108, 105, 111, 115, 62, 10, 9, ...
cowpea_9333_day_26
hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.tar
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGhlbGlvcz4KCTxwbGFudF9pbnN0YW5jZSBJRD0iMCI+Cgk(...TRUNCATED)
cowpea_7972_day_21
"hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.(...TRUNCATED)
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGhlbGlvcz4KCTxwbGFudF9pbnN0YW5jZSBJRD0iMCI+Cgk(...TRUNCATED)
cowpea_9172_day_11
"hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.(...TRUNCATED)
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGhlbGlvcz4KCTxwbGFudF9pbnN0YW5jZSBJRD0iMCI+Cgk(...TRUNCATED)
cowpea_0149_day_25
"hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.(...TRUNCATED)
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGhlbGlvcz4KCTxwbGFudF9pbnN0YW5jZSBJRD0iMCI+Cgk(...TRUNCATED)
cowpea_0154_day_10
"hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.(...TRUNCATED)
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGhlbGlvcz4KCTxwbGFudF9pbnN0YW5jZSBJRD0iMCI+Cgk(...TRUNCATED)
cowpea_2591_day_39
"hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.(...TRUNCATED)
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGhlbGlvcz4KCTxwbGFudF9pbnN0YW5jZSBJRD0iMCI+Cgk(...TRUNCATED)
cowpea_6237_day_11
"hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.(...TRUNCATED)
"PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGhlbGlvcz4KCTxwbGFudF9pbnN0YW5jZSBJRD0iMCI+Cgk(...TRUNCATED)
cowpea_8876_day_16
"hf://datasets/heesup/Cowpea-Architecture-XML@f74ed30f857d962fd68a27ee62e3d22ba66bafb0/shard-000000.(...TRUNCATED)
End of preview.

Cowpea-Architecture-XML

Paper Code

This dataset contains simulated images of cowpea plants paired with organ-level architecture representations in XML format, generated with the Helios plant simulator. It is packaged in WebDataset (.tar) format for efficient high-performance training.

It is the dataset used in the paper "A vision language model for generating XML-based organ-level plant architecture representations of cowpea from simulated images" (Frontiers in Artificial Intelligence, 2026). Code: GEMINI-Breeding/Image2PlantArchitecture.

Dataset Structure

The dataset is sharded into 40 .tar files (shard-000000.tar to shard-000039.tar), each containing up to 10,000 samples. Each sample consists of:

  • .jpeg: The plant image
  • .xml: The organ-level architecture representation
  • .json: (Optional) Metadata

Usage with WebDataset

You can load this dataset directly in PyTorch using the webdataset library:

import webdataset as wds
from torch.utils.data import DataLoader

url = "https://huggingface.co/datasets/heesup/Cowpea-Architecture-XML/resolve/main/shard-{000000..000039}.tar"
dataset = (
    wds.WebDataset(url)
    .decode("rgb")
    .to_tuple("jpeg", "xml")
)

dataloader = DataLoader(dataset, batch_size=16)
for images, xmls in dataloader:
    # training loop
    pass

Citation

If you use this dataset, please cite:

@article{yun2026vision,
  title={A vision language model for generating XML-based organ-level plant architecture representations of cowpea from simulated images},
  author={Yun, Heesup and Uyehara, Isaac Kazuo and Droutsas, Ioannis and Ranario, Earl and Diepenbrock, Christine H. and Bailey, Brian N. and Earles, J. Mason},
  journal={Frontiers in Artificial Intelligence},
  volume={9},
  pages={1844338},
  year={2026},
  doi={10.3389/frai.2026.1844338},
  url={https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2026.1844338/full}
}
Downloads last month
320

Models trained or fine-tuned on heesup/Cowpea-Architecture-XML