ONNX Model Zoo

maelic/REACTPlusPlus_VG150

By maelic · ↓ 0 · ♥ 0 · Updated 2026-03-17

What's in this repo

This page lists the files in maelic/REACTPlusPlus_VG150, including model.onnx and more.

  • 3 ONNX models (.onnx files)
  • 20 files, including 6 .json, 3 .pt, 3 .pth, 3 .yml, 3 .onnx, 1 .md
  • Last updated 2026-03-17

ONNX files

File Size Download
yolo12m/model.onnx — Download
yolo26m/model.onnx — Download
yolov8m/model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

REACT++ Scene Graph Generation — VG150 (yolo12m, yolo26m, yolov8m)

This repository contains REACT++ model checkpoints for scene graph generation (SGG) on the VG150 benchmark, across 3 backbone sizes.

REACT++ is a parameter-efficient, attention-augmented relation predictor built on top of a YOLO backbone. It uses:

  • DAMP (Detection-Anchored Multi-Scale Pooling), a new simple pooling algorithm for one-stage object detectors such as YOLO
  • SwiGLU gated MLP for all feed-forward blocks (½ the params of ReLU-MLP at equal capacity)
  • Visual x Semantic cross-attention — visual tokens attend to GloVe prototype embeddings
  • Geometry RoPE — box-position encoded as a rotary frequency bias on the Q matrix
  • Prototype Momentum Buffer — per-class EMA prototype bank
  • P5 Scene Context — AIFI-enhanced P5 tokens provide global context via cross-attention

The models were trained with the SGG-Benchmark framework and described in the REACT++ paper (Neau et al., 2026).


Results — SGDet on VG150 test split (CUDA, max_det=100, batch_size=1)

Metrics from end-to-end evaluation (tools/evaluate.py). Latency = model forward only.

Backbone R@20 R@50 R@100 mR@20 mR@50 mR@100 F1@20 F1@50 F1@100 Lat. (ms)
yolo12m 18.76 24.63 28.47 10.81 14.42 16.78 13.72 18.19 21.11 20.5
yolo26m 21.12 28.34 33.7 10.81 14.6 18.36 14.3 19.27 23.77 19.8
yolov8m 22.89 29.96 34.09 12.22 16.31 18.45 15.93 21.12 23.94 18.7

Checkpoints

Variant Sub-folder Checkpoint files
yolo12m yolo12m/ yolo12m/model.onnx (ONNX) · yolo12m/best_model_epoch_19.pth (PyTorch)
yolo26m yolo26m/ yolo26m/model.onnx (ONNX) · yolo26m/best_model_epoch_18.pth (PyTorch)
yolov8m yolov8m/ yolov8m/model.onnx (ONNX) · yolov8m/best_model_epoch_6.pth (PyTorch)

Usage

ONNX (recommended — no Python dependencies beyond onnxruntime)

from huggingface_hub import hf_hub_download

onnx_path = hf_hub_download(
    repo_id="maelic/REACTPlusPlus_VG150",
    filename="yolo12m/react_pp_yolo12m.onnx",
    repo_type="model",
)
# Run with tools/eval_onnx_psg.py or load directly via onnxruntime

PyTorch

# 1. Clone the repository
#    git clone https://github.com/Maelic/SGG-Benchmark

# 2. Install dependencies
#    pip install -e .

# 3. Download checkpoint + config
from huggingface_hub import hf_hub_download

ckpt_path = hf_hub_download(
    repo_id="maelic/REACTPlusPlus_VG150",
    filename="yolo12m/best_model.pth",
    repo_type="model",
)
cfg_path = hf_hub_download(
    repo_id="maelic/REACTPlusPlus_VG150",
    filename="yolo12m/config.yml",
    repo_type="model",
)

# 4. Run evaluation
import subprocess
subprocess.run([
    "python", "tools/relation_eval_hydra.py",
    "--config-path", str(cfg_path),
    "--task", "sgdet",
    "--eval-only",
    "--checkpoint", str(ckpt_path),
])

Citation

@article{neau2026reactpp,
  title   = {REACT++: Efficient Cross-Attention for Real-Time Scene Graph Generation
},
  author  = {Neau, Maëlic and Falomir, Zoe},
  year    = {2026},
  url     = {https://arxiv.org/abs/2603.06386},
}

Model info

object-detection sgg-benchmark
sgg-benchmark onnx scene-graph-generation object-detection visual-relationship-detection pytorch yolo en arxiv:2603.06386 license:apache-2.0 model-index region:us
↓ 0 ♥ 0

Created: 2026-03-17

Updated: 2026-03-17

View on Hugging Face

Files (20)

.gitattributes
README.md
yolo12m/VG150_yolo12m_backbone.pt
yolo12m/best_model.pth
yolo12m/config.yml
yolo12m/eval_results_top_100.json
yolo12m/model.onnx ONNX
yolo12m/results.json
yolo26m/VG150_yolo26m_backbone.pt
yolo26m/best_model.pth
yolo26m/config.yml
yolo26m/eval_results_top_100.json
yolo26m/model.onnx ONNX
yolo26m/results.json
yolov8m/VG150_yolov8m_backbone.pt
yolov8m/best_model.pth
yolov8m/config.yml
yolov8m/eval_results_top_100.json
yolov8m/model.onnx ONNX
yolov8m/results.json

Related models