Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shooting Condition Insensitive Unmanned Aerial Vehicle Object Detection

This project contains the code for the paper "Shooting Condition Insensitive Unmanned Aerial Vehicle Object Detection" and relies on mmdetection 2.x.

Environment Setup

We recommend configuring mmdetection according to https://github.com/open-mmlab/mmdetection/tree/2.x, and for other environment and dependency setups, please refer to the environment specified in requirements.txt.

After preparing the environment, you can download the following datasets:

  • UAVDT dataset can be downloaded from here
  • VisDrone dataset can be downloaded from here

You can also convert the dataset annotations to the COCO format. For your convenience, we have provided COCO format annotations in the project.

Please organize the datasets as follows:

DATA
├─ UAVDT
│  ├─ annotations
│  │  ├─ UAVDT_test_coco.json
│  │  ├─ UAVDT_train_coco.json
│  ├─ images
│  │  ├─ test
│  │  │  ├─ M0203
│  │  │  │  ├─ xxxx.jpg
│  │  │  │  └─ ...
│  │  │  └─ ...
│  │  ├─ train
│  │  │  ├─ M0101
│  │  │  │  ├─ xxxx.jpg
│  │  │  │  └─ ...
│  │  │  └─ ...
├─ visdrone_coco
│  ├─ annotations
│  │  ├─ instances_UAVval.json
│  │  ├─ instances_UAVtrain.json
│  ├─ images
│  │  ├─ instances_UAVtrain
│  │  │  ├─ xxxx.jpg
│  │  │  └─ ...
│  │  ├─ instances_UAVval
│  │  │  ├─ xxxx.jpg
│  │  │  └─ ...

Text Prompt Embedding Fine-Tuning

  1. Run text_learner/gen_fix_prompts.py to generate initial prompt features.
  2. Then, run text_learner/prompts_learner.py to generate fine-tuned features.

Training

Please note that training is supported on a single GPU:

python train.py configs/xxxx.py

Citation

If you find this repository helpful, please consider citing our paper:

@article{LIU2024123221,
title = {Shooting Condition Insensitive Unmanned Aerial Vehicle Object Detection},
journal = {Expert Systems with Applications},
volume = {246},
pages = {123221},
year = {2024},
issn = {0957-4174},
doi = {https://doi.org/10.1016/j.eswa.2024.123221},
url = {https://www.sciencedirect.com/science/article/pii/S0957417424000861},
author = {Jie Liu and Jinzong Cui and Mao Ye and Xiatian Zhu and Song Tang},
}

About

Expert Systems With Applications:Shooting condition insensitive unmanned aerial vehicle object detection

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages