--- license: other license_name: optisar-rsvg-source-licenses task_categories: - object-detection language: - en tags: - remote-sensing - visual-grounding - sar - optical - cross-domain - referring-expression-comprehension - benchmark size_categories: - 10K **Note (Hugging Face layout):** the Hub limits each directory to 10,000 files, so the large `train` split is stored in chunked subfolders (`chunk_000` … `chunk_007`, β‰ˆ 4,745 files each). `val` and `test` remain flat. Image `xxx.jpg` and its label `xxx.txt` always live under the **same** chunk index. ``` OptSAR-RSVG/ β”œβ”€β”€ images/ β”‚ β”œβ”€β”€ train/ β”‚ β”‚ β”œβ”€β”€ chunk_000/ # 4,745 images (opt_*.jpg / sar_*.jpg) β”‚ β”‚ β”œβ”€β”€ ... β”‚ β”‚ └── chunk_007/ # 4,742 images β†’ 37,957 in total β”‚ β”œβ”€β”€ val/ # 4,434 images β”‚ └── test/ # 4,434 images β”œβ”€β”€ labels/ β”‚ β”œβ”€β”€ train/ β”‚ β”‚ β”œβ”€β”€ chunk_000/ … chunk_007/ # YOLO-format .txt, same stem & chunk as the image β”‚ β”œβ”€β”€ val/ # 4,434 labels β”‚ └── test/ # 4,434 labels β”œβ”€β”€ train.json # COCO-style annotations (74,049 instances) β”œβ”€β”€ val.json # COCO-style annotations (7,996 instances) └── test.json # COCO-style annotations (8,103 instances) ``` When loading, simply resolve a train file via its chunk, e.g. glob `images/train/chunk_*/{file_name}`, or build the index once with `glob` across chunks (the `file_name` in the JSONs is unchanged, e.g. `sar_000001.jpg`). ## πŸ“ Annotation Format ### COCO JSON (`train.json` / `val.json` / `test.json`) Standard COCO `instances` files with two extra fields per annotation β€” `caption` (the referring expression) and `category_name`: ```json { "id": 1, "image_id": 1, "category_id": 15, "bbox": [74.0, 58.0, 62.0, 123.0], "area": 7626.0, "iscrowd": 0, "ignore": 0, "segmentation": [[74.0, 58.0, 136.0, 58.0, 136.0, 181.0, 74.0, 181.0]], "category_name": "sar ship", "caption": "A massive sar ship is in the middle" } ``` `bbox` is `[x, y, width, height]` in pixels, top-left origin. ### YOLO text labels (`labels/`) One `.txt` per image (same file stem), one object per line: ``` 12 0.395047 0.414894 0.077830 0.090426 ``` Coordinates are normalized to [0, 1]; `class_id` matches the COCO `category_id` below. ## 🏷️ Categories | ID | Name | ID | Name | |---:|---|---:|---| | 0 | optical vehicle | 8 | optical parking lot | | 1 | optical bridge | 9 | optical basketball court | | 2 | optical crossroad | 10 | optical storage tank | | 3 | optical T junction | 11 | optical ship | | 4 | optical ground track field | 12 | optical airplane | | 5 | optical baseball diamond | 13 | optical harbor | | 6 | optical swimming pool | 14 | sar transmission tower | | 7 | optical tennis court | 15 | sar ship | ## 🌱 Sources & Construction OptSAR-RSVG was consolidated from four public datasets: - **RSVGD / RSSVG** β€” optical ships - **OPT-RSVG** β€” 14 optical categories - **SARVG** β€” SAR ships - **TACMT / SARVG 1.0** β€” SAR transmission towers Construction pipeline: (1) collection, cleaning and merging of source annotations; (2) data augmentation with **GPT-4o-based text rewriting**, adding 9,046 images and 19,136 annotations; (3) manual verification and balanced train/val/test splitting. ## πŸ“ Evaluation Protocol Standard CD-RSVG metrics: **Pr@0.5–Pr@0.9** (cumulative accuracy at IoU thresholds 0.5–0.9), **meanIoU**, and **cumIoU**, evaluated per domain (`optical` / `sar`) and overall. ## πŸ€– Companion Model A trained checkpoint of OptiSAR-Net++ evaluated on this benchmark is available at [JunDong-dev/OptiSAR-Net-PlusPlus](https://huggingface.co/JunDong-dev/OptiSAR-Net-PlusPlus). Training/evaluation code: [GitHub](https://github.com/JunDong-dev/OptiSAR-Net-PlusPlus). ## βš–οΈ License This dataset aggregates several public remote sensing datasets. Its use is intended for research purposes and remains subject to the licenses and terms of the original source datasets listed above. The companion code is released under AGPL-3.0. ## πŸ“š Citation If you use OptSAR-RSVG, please cite: ```bibtex @article{tang2026optisar, title={OptiSAR-Net++: A Large-Scale Benchmark and Transformer-Free Framework for Cross-Domain Remote Sensing Visual Grounding}, author={Tang, Xiaoyu and Dong, Jun and Cheng, Jintao and Fan, Rui}, journal={arXiv preprint arXiv:2603.24876}, year={2026} } ```