You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dataset root should contain the following structure (R2C7K example, at least test set should exist):
dataset/
R2C7K/
Camo/
test/
Imgs/<Class>/<name>.jpg|.png
GT/<Class>/<name>.png
Ref/ # keep original structure if present; not strictly required for inference
Weights: place the checkpoint (e.g., RefOnce.pth) anywhere and pass it via --checkpoint.
By default, predictions are not saved; enable with --save-preds True and provide --save-dir.
Metrics are reported by CalTotalMetric.get_results() and include Smeasure, wFmeasure, MAE, adpEm, meanEm, maxEm, adpFm, meanFm, maxFm.
Citation
If this release helps your research, please cite it. Example BibTeX (replace with your official paper info):
@article{wu2025refonce,
title={RefOnce: Distilling References into a Prototype Memory for Referring Camouflaged Object Detection},
author={Wu, Yu-Huan and Zhu, Zi-Xuan and Wang, Yan and Zhen, Liangli and Fan, Deng-Ping},
journal={arXiv preprint arXiv:2511.20989},
year={2025}
}
Acknowledgements
This project is based on ZoomNet, RefCOD, and PySODMetrics. Thanks to the authors for their open-source contributions.
About
RefOnce: Distilling References into a Prototype Memory for Referring Camouflaged Object Detection