castdet

[ECCV'24] Code repo for "Toward Open Vocabulary Aerial Object Detection with CLIP-Activated Student-Teacher Learning"

https://github.com/visionxlab/castdet

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

[ECCV'24] Code repo for "Toward Open Vocabulary Aerial Object Detection with CLIP-Activated Student-Teacher Learning"

Basic Info
  • Host: GitHub
  • Owner: VisionXLab
  • License: apache-2.0
  • Language: Python
  • Default Branch: main_obb
  • Homepage:
  • Size: 10.7 MB
Statistics
  • Stars: 47
  • Watchers: 1
  • Forks: 4
  • Open Issues: 4
  • Releases: 0
Created about 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License Citation

README.md

[ECCV 2024] Toward Open Vocabulary Aerial Object Detection with CLIP-Activated Student-Teacher Learning

Note: This branch is for oriented open-vocabulary aerial object detection. Please switch to another branch for horizontal detection.

✨ Latest Updates

📆 [2025-06-05] : The code for Oriented GLIP, Oriented GroundingDINO, and Oriented ViLD are now available!

📆 [2025-02-08] : The code for Oriented CastDet is now available! 🎉 CastDet now supports Open-vocabulary Oriented Aerial Object Detection. Stay tuned—Oriented GLIP, Oriented GroundingDINO, and Oriented ViLD are coming soon! 🚀

📆 [2024-11-04] : Our paper "Exploiting Unlabeled Data with Multiple Expert Teachers for Open Vocabulary Aerial Object Detection and Its Orientation Adaptation" is available open on arxiv!

📆 [2024-07-01] : Our paper "Toward Open Vocabulary Aerial Object Detection with CLIP-Activated Student-Teacher Learning" has been accepted by ECCV 2024!

📆 [2024-04-21] : We've released the code of CastDet now.

Introduction

In recent years, aerial object detection has been increasingly pivotal in various earth observation applications. However, current algorithms are limited to detecting pre-annotated categories. In this paper, we put forth a novel formulation of the aerial object detection problem, namely open-vocabulary aerial object detection (OVAD), which can detect objects beyond training categories without costly collecting new labeled data. We propose CastDet, a CLIP-activated student-teacher detection framework that serves as the first OVAD detector specifically designed for the challenging aerial scenario, where objects exhibit weak appearance features and arbitrary orientations. Our framework integrates a robust localization teacher along with several box selection strategies to generate high-quality proposals for novel objects. Additionally, the RemoteCLIP model is adopted as an omniscient teacher, which provides rich knowledge to enhance classification capabilities for novel categories. A dynamic label queue is devised to maintain high-quality pseudo-labels during training. By doing so, the proposed CastDet boosts not only novel object proposals but also classification. Furthermore, we extend our approach from horizontal to oriented OVAD with tailored algorithm designs for bounding box representation and pseudo-label generation.

Moreover, we integrate multiple open-vocabulary oriented detection algorithms into this repo, including Oriented CastDet, Oriented ViLD, Oriented GLIP and Oriented GroundingDINO; and build a more comprehensive benchmark for the open-vocabulary aerial detection task, including both horizontal object detection and oriented object detection.

Installation

```shell conda create --name castdet python=3.8 -y conda activate castdet conda install pytorch torchvision -c pytorch

Install MMEngine and MMCV using MIM.

pip install -U openmim mim install mmengine mim install mmcv-full mim install mmdet==3.3.0

cd mmrotate pip install -r requirements/build.txt pip install -v -e .

Install other packages

pip install imagesize pip install opencliptorch pip install future tensorboard ```

To use the Oriented GLIP or Oriented GroundingDINO, you need to install additional dependency packages: ```shell

source installation

pip install -r requirements/multimodal.txt

or mim installation

mim install mmdet[multimodal] ```

Supported algorithms

Please refer to castdet_readme to prepare the data, and other tutorials to train the model:

  1. Horizontal Open-vocabulary Aerial Object Detection
  2. [x] CastDet (ECCV'24)

  3. Oriented Open-vocabulary Aerial Object Detection

  4. [x] Oriented CastDet

  5. [x] Oriented GroundingDINO

  6. [x] Oriented GLIP

  7. [x] Oriented ViLD

Main results

Acknowledgement

Thanks the wonderful open source projects MMDetection, MMRotate, RemoteCLIP, RHINO, ViLD, GroundingDINO, and GLIP!

Citation

If you find this repo useful for your research, please use the following BibTeX entry.

``` @misc{li2024open, title={Toward Open Vocabulary Aerial Object Detection with CLIP-Activated Student-Teacher Learning}, author={Yan Li and Weiwei Guo and Xue Yang and Ning Liao and Dunyun He and Jiaqi Zhou and Wenxian Yu}, year={2024}, eprint={2311.11646}, archivePrefix={arXiv}, primaryClass={cs.CV} }

@misc{li2024exploitingunlabeleddatamultiple, title={Exploiting Unlabeled Data with Multiple Expert Teachers for Open Vocabulary Aerial Object Detection and Its Orientation Adaptation}, author={Yan Li and Weiwei Guo and Xue Yang and Ning Liao and Shaofeng Zhang and Yi Yu and Wenxian Yu and Junchi Yan}, year={2024}, eprint={2411.02057}, archivePrefix={arXiv}, primaryClass={cs.CV}, url={https://arxiv.org/abs/2411.02057}, } ```

Owner

  • Name: VisionXLab
  • Login: VisionXLab
  • Kind: organization
  • Email: yangxue0827@126.com

VisionXLab at Shanghai Jiao Tong University, led by Prof. Xue Yang.

GitHub Events

Total
  • Issues event: 6
  • Watch event: 16
  • Issue comment event: 17
  • Push event: 3
  • Fork event: 3
Last Year
  • Issues event: 6
  • Watch event: 16
  • Issue comment event: 17
  • Push event: 3
  • Fork event: 3

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 9
  • Total pull requests: 0
  • Average time to close issues: 5 months
  • Average time to close pull requests: N/A
  • Total issue authors: 7
  • Total pull request authors: 0
  • Average comments per issue: 0.78
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 8
  • Pull requests: 0
  • Average time to close issues: 5 months
  • Average time to close pull requests: N/A
  • Issue authors: 6
  • Pull request authors: 0
  • Average comments per issue: 0.88
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • NanaRobert (2)
  • UnchangedOriInten (2)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels