CoolFace
Datasetpublic

heesup/Cowpea-Architecture-XML

Cowpea-Architecture-XML-WDS This dataset contains simulated images of Cowpea plants paired with organ-level architecture representations in XML format, packaged in WebDataset (.tar) format for efficient high-performance training. Dataset Structure The dataset is sharded into .tar files, each containing up to 10,000 samples. Each sample consists of: .jpeg: The plant image .xml: The organ-level architecture representation .json: (Optional) Metadata… See the full description on the dataset page: https://huggingface.co/datasets/heesup/Cowpea-Architecture-XML.

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes163downloads
Dataset Card

Cowpea-Architecture-XML-WDS

This dataset contains simulated images of Cowpea plants paired with organ-level architecture representations in XML format, packaged in WebDataset (.tar) format for efficient high-performance training.

Dataset Structure

The dataset is sharded into .tar files, 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:

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

url = "https://huggingface.co/datasets/heesup/Cowpea-Architecture-XML-WDS/resolve/main/shard-{000000..000200}.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: "A Vision Language Model for Generating XML-based Organ-level Plant Architecture Representations of Cowpea from Simulated Images"