Git Product home page Git Product logo

agpcnet's Introduction

Attention-Guided Pyramid Context Networks

Paper Link
Authors: Tianfang Zhang, Lei Li, Siying Cao, Tian Pu and Zhenming Peng

Train

python train.py --net-name agpcnet_1 --batch-size 8 --save-iter-step 20 --dataset mdfa
python train.py --net-name agpcnet_1 --batch-size 8 --save-iter-step 40 --dataset sirstaug
python train.py --net-name agpcnet_1 --batch-size 8 --save-iter-step 100 --dataset merged

Inference

python inference.py --pkl-path {checkpoint path} --image-path {image path}

Evaluation

python evaluation.py --dataset {dataset name} 
                     --sirstaug-dir {base dir of sirstaug}
                     --mdfa-dir {base dir of MDFA}
                     --pkl-path {checkpoint path}
Methods Data Precision Recall mIoU Fmeasure AUC Download
AGPCNet+ResNet18 MDFA 0.5939 0.7241 0.4843 0.6525 0.8682 model
AGPCNet+ResNet18 SIRST Aug 0.8323 0.8542 0.7288 0.8431 0.9344 model
AGPCNet+ResNet18 Merged 0.7453 0.8384 0.6517 0.7891 0.9194 model

Figure. Illustration of ROC compared with state-of-the-art methods.

Evaluation of model-driven algorithms based on traditional metrics refers [ISTD-python].

@article{zhang2023attention,
  title={Attention-guided pyramid context networks for detecting infrared small target under complex background},
  author={Zhang, Tianfang and Li, Lei and Cao, Siying and Pu, Tian and Peng, Zhenming},
  journal={IEEE Transactions on Aerospace and Electronic Systems},
  year={2023},
  doi={10.1109/TAES.2023.3238703},
  publisher={IEEE}
}

agpcnet's People

Contributors

tianfang-zhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

agpcnet's Issues

评价代码

你好,想问下使用传统方法得到的结果图怎样评价,能否提供一个通用版本的代码,循环读取一个文件夹下的预测结果与另一个文件下的真值进行评价, thanks

Inference yields no results

I cloned the repo and was going to test the model inference but when I executed the command below I see a fully black inference result. This goes for the training images as well. Even though I use the training image it still fails to display correct results.
python inference.py --pkl-path results/sirstaug_mIoU-0.7288_fmeasure-0.8431.pkl --image-path ../MDvsFA_cGAN/data/training/009999_1.png

关于传统算法指标计算问题

张博士您好,我在计算红外小目标检测传统算法IPI的时候遇到了问题。
我利用混淆矩阵计算指标,发现计算出来的IoU与nIoU是一样。因为IoU=tp/(fn+fp+tp),nIoU=tp/(t+p-tp)。公式表示是一样的,我感觉我算出来的是nIoU。
请问您可以教教我,如何计算红外小目标检测传统算法的IoU与nIoU吗?不胜感激。。。

Does AGPCNet compare with the existing SOTA model?

Thanks to your great work! I have learned a lot at your paper. I have tried to reproduce DNANet and ALCNET, and the effect may be better than ACM. Ask the author if there is any idea of ​​reproducing and comparing the two models. I am more interested in the results of this experiment

张博士你好

我目前是一名研二学生,毕业方向也是在做红外小目标的检测,想跟你多一些交流,您看是否可以加个个人微信呢

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.