Views
No views yet
Metrics from end-to-end ONNX evaluation (tools/eval_onnx_psg.py). E2E Latency = image load + pre-process + ONNX forward.
| Backbone | Params | R@20 | R@50 | R@100 | mR@20 | mR@50 | mR@100 | F1@20 | F1@50 | F1@100 | E2E Lat. (ms) |
|---|---|---|---|---|---|---|---|---|---|---|---|
| yolo12l | ~26.5M | 30.99 | 35.3 | 36.68 | 23.2 | 25.49 | 26.45 | 26.53 | 29.6 | 30.74 | 19.6 |
| yolo12m | ~20.2M | 32.69 | 37.2 | 38.58 | 22.74 | 25.21 | 26.08 | 26.82 | 30.05 | 31.12 | 15.7 |
| yolo12s | ~9.2M | 29.28 | 33.48 | 34.74 | 21.12 | 23.21 | 23.77 | 24.54 | 27.41 | 28.23 | 12.2 |
| yolo12n | ~2.6M | 26.88 | 30.61 | 31.8 | 16.88 | 18.65 | 19.5 | 20.74 | 23.17 | 24.17 | 11.4 |
| yolov8m | ~25.9M | 30.69 | 35.68 | 37.43 | 22.75 | 25.46 | 26.4 | 26.13 | 29.72 | 30.96 | 15.3 |
| Variant | Sub-folder | Checkpoint files |
|---|---|---|
| yolo12l | yolo12l/ | yolo12l/model.onnx (ONNX) · yolo12l/best_model_epoch_9.pth (PyTorch) |
| yolo12m | yolo12m/ | yolo12m/model.onnx (ONNX) · yolo12m/best_model_epoch_9.pth (PyTorch) |
| yolo12s | yolo12s/ | yolo12s/model.onnx (ONNX) · yolo12s/best_model_epoch_6.pth (PyTorch) |
| yolo12n | yolo12n/ | yolo12n/model.onnx (ONNX) · yolo12n/best_model_epoch_5.pth (PyTorch) |
| yolov8m | yolov8m/ | yolov8m/model.onnx (ONNX) · yolov8m/best_model_epoch_6.pth (PyTorch) |
1from huggingface_hub import hf_hub_download
2
3onnx_path = hf_hub_download(
4 repo_id="maelic/REACTPlusPlus_PSG",
5 filename="yolo12l/react_pp_yolo12m.onnx",
6 repo_type="model",
7)
8# Run with tools/eval_onnx_psg.py or load directly via onnxruntime1# 1. Clone the repository
2# git clone https://github.com/Maelic/SGG-Benchmark
3
4# 2. Install dependencies
5# pip install -e .
6
7# 3. Download checkpoint + config
8from huggingface_hub import hf_hub_download
9
10ckpt_path = hf_hub_download(
11 repo_id="maelic/REACTPlusPlus_PSG",
12 filename="yolo12l/best_model.pth",
13 repo_type="model",
14)
15cfg_path = hf_hub_download(
16 repo_id="maelic/REACTPlusPlus_PSG",
17 filename="yolo12l/config.yml",
18 repo_type="model",
19)
20
21# 4. Run evaluation
22import subprocess
23subprocess.run([
24 "python", "tools/relation_eval_hydra.py",
25 "--config-path", str(cfg_path),
26 "--task", "sgdet",
27 "--eval-only",
28 "--checkpoint", str(ckpt_path),
29])1@article{neau2026reactpp,
2 title = {REACT++: Efficient Cross-Attention for Real-Time Scene Graph Generation
3},
4 author = {Neau, Maëlic and Falomir, Zoe},
5 year = {2026},
6 url = {https://arxiv.org/abs/2603.06386},
7}