Views
No views yet
Non-commercial research use only. The ADOPD fine-tuned checkpoint weights in this repository are provided solely for non-commercial research. Commercial use of these checkpoint weights is not permitted. Users must also comply with every applicable upstream license and acceptable-use term; see USE_RESTRICTIONS.md.
entity class and retains every polygon component associated with each source
mask during conversion to COCO supervision.human_annotated_masks[].polygonsmodel.ckpt is a PyTorch Lightning checkpoint for the seg-2xlarge
architecture. It is not an RFDETR.from_checkpoint() export. The architecture
must therefore be supplied when loading the model through the companion code.1git clone https://github.com/SichenZhu/ADOPD2026.git
2cd ADOPD2026/release_code
3
4git clone https://github.com/roboflow/rf-detr.git upstream/rf-detr
5git -C upstream/rf-detr checkout 7f2490d4ece5a894b6bfe69e876a1d5d9936e2e1
6
7python -m pip install -e model_zoo/common
8python -m pip install -e 'upstream/rf-detr[train,loggers]'
9python -m pip install -e model_zoo/rf_detr
10
11hf download adopd/RF-DETR-Seg-2XL-segmentation-ADOPD \
12 --local-dir checkpoints/rfdetr-seg-2xl
13
14adopd-rfdetr-infer \
15 --checkpoint checkpoints/rfdetr-seg-2xl/model.ckpt \
16 --architecture seg-2xlarge \
17 --image document.jpg \
18 --threshold 0.5 \
19 --output prediction.jsonprediction.json contains pixel-space boxes, confidence scores, and masks.adopd-rfdetr-prepare --task segment, then follow the
training and evaluation commands in
rf_detr.1@misc{zhu2026thinkingwithanchors,
2 title={Thinking with Anchors: Grounded and Efficient Document Reasoning},
3 author={Sichen Zhu and Yuchen Zhu and Wenzhuo Xu and Jason Kuen and Wanrong Zhu and Jing Shi and Xuan Shen and Quanyi Wang and Yiwei Wang and Yujun Cai and Bing Shuai and Qin Zhang and Yongxin Chen and Shilong Liu and Molei Tao and Jiuxiang Gu},
4 year={2026}
5}1@inproceedings{gu2024adopd,
2 title={{ADOPD}: A Large-Scale Document Page Decomposition Dataset},
3 author={Jiuxiang Gu and Xiangxi Shi and Jason Kuen and Lu Qi and Ruiyi Zhang and Anqi Liu and Ani Nenkova and Tong Sun},
4 booktitle={The Twelfth International Conference on Learning Representations},
5 year={2024},
6 url={https://openreview.net/forum?id=x1ptaXpOYa}
7}