Giter Club home page Giter Club logo

lgnet's Introduction

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},
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.