Image2PlantArchitecture: DINOv2-Small (448x448, Multi-View) + GPT-2-Medium

Paper DOI arXiv GitHub Dataset

Lightweight ViT-S checkpoint from 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).

Note: For the best-performing checkpoint reported in the paper (ViT-B + GPT-2-Medium, BLEU-4 94.00%, ROUGE-L 0.5182), see heesup/dinov2-base_448_RGB_Sideview_gpt2-medium.

Model Details

  • Vision Encoder: facebook/dinov2-small (ViT-S)
  • Text Decoder: gpt2-medium (with cross-attention)
  • Input Resolution: 448 x 448 RGB
  • View Configuration: Multi-view (top-down + 3 side views)
  • Training Dataset: heesup/Cowpea-Architecture-XML

Evaluation Results (4,000 Test Samples, Plots 9000–9099)

Metric Score
BLEU-4 84.27%
ROUGE-L 0.5175

Usage

See the GitHub repository for PlantArchitectureModel and XML conversion utilities:

import torch
from models.model import PlantArchitectureModel

checkpoint_path = "heesup/dinov2-small_448_Sideview_gpt2-medium"
model = PlantArchitectureModel.from_pretrained(checkpoint_path, torch_dtype=torch.float16).to("cuda")
model.eval()

Citation

@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
8
Safetensors
Model size
0.4B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Dataset used to train heesup/dinov2-small_448_Sideview_gpt2-medium

Paper for heesup/dinov2-small_448_Sideview_gpt2-medium