Giter VIP home page Giter VIP logo

piha's Introduction

Physics Inspired Hybrid Attention for SAR Target Recognition

0. Table of Contents

1. Introduction

This is the official implementation for paper "Physics Inspired Hybrid Attention for SAR Target Recognition".

DOI: 10.1016/j.isprsjprs.2023.12.004

Full paper access: Arxiv ResearchGate

@article{huang2024physics,
  title={Physics inspired hybrid attention for SAR target recognition},
  author={Huang, Zhongling and Wu, Chong and Yao, Xiwen and Zhao, Zhicheng and Huang, Xiankai and Han, Junwei},
  journal={ISPRS Journal of Photogrammetry and Remote Sensing},
  volume={207},
  pages={164--174},
  year={2024},
  publisher={Elsevier}
}

2. Features

3. Contributions

  • A novel physics-inspired hybrid attention (PIHA) mechanism is proposed for SAR target recognition, in which the semantic prior of physical information is adaptively incorporated with the attention mechanism. It is flexible for different types of physical information and can be incorporated into various deep architectures to enhance performance.

  • We propose the once-for-all (OFA) evaluation protocol for MSTAR dataset to thoroughly assess the algorithm, demonstrating the robustness and generalization capabilities more effectively.

  • The physical information of SAR targets used in this study together with the source code are open to public, which ensures the reproducibility of our work and facilitates a fair comparison of the results with other methodologies.

4. Getting Started

4.1 Data Preparation

The experimented dataset is MSTAR. We extracted the Attributed Scattering Centers (ASC) for SAR targets and processed the targets into K parts with local semantics. The ASC data can be downloaded at:

https://drive.google.com/file/d/1OqdgOodVVAJclnjSH06B4tvVn9F1C4Ns/view?usp=sharing

4.2 Training

To train a PIHA based model, run the following command

python submitit_pretrain.py \
    --datatxt_train ${TRAIN_LIST_PATH} \
    --datatxt_OFA1 ${OFA1_LIST_PATH} \
    --datatxt_OFA2 ${OFA2_LIST_PATH} \
    --datatxt_OFA3 ${OFA3_LIST_PATH} \
    --datatxt_val ${VAL_LIST_PATH} \
    --train_num 5 \
    --num_epochs 1000 \
    --patience 200 \
    --batch_size 32 \
    --device '0' \
    --arch 'Densenet121_PIHA' \
    --cate_num 10 \
    --part_num 4 \
    --attention_setting True \
    --save_path ${SAVE_PATH} \
    --pretrain None \
  • Here the datatxt_train, datatxt_OFA1, datatxt_OFA2, datatxt_OFA3, datatxt_val are the path of data list which are provided in the above link.
  • Train_num is the number of training process to ensure the stability of result.
  • Patience is the parameter of earlystop strategy to stop training when accuracy of validation set does not improve.
  • Arch is the type of backbone which can be selected during Densenet121_PIHA, Aconvnet_PIHA and MSNet_PIHA.
  • Part_num is the numbers of clusters in data preparation and part_num of our data is 4.
  • Attention_setting decide whether to use our PIHA.

5. Contributors

In this repository, the applied backbones are based on DenseNet121, MS-CVNets and A_ConvNet. We deeply appreciate the authors for releasing their codes.

Main contributors: @nwpuwwc @Alien9427

If you have any questions, please contact [email protected]

piha's People

Contributors

nwpuwwc avatar alien9427 avatar

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.