Git Product home page Git Product logo

attention-graph-convolution-network-for-image-segmentation-in-big-sar-imagery-data's Introduction

Attention-Graph-Convolution-Network-for-Image-Segmentation-in-Big-SAR-Imagery-Data

this code implements the method proposed in paper "Attention Graph Convolution Network for Image Segmentation in Big SAR Imagery Data". if it helps you, please kindly cite this paper. https://doi.org/10.3390/rs11212586

How to use?

  1. run "python generate_gt.py ", to generate the ground truth data from GT.image
  2. run "python main.py" to train and test our model,and print the pixel-level Evaluation Metrics

main.py

train, test our AGCN, and calculate the pixel-level Evaluation Metrics(Kappa, precison, recall, and confusion matrix). Note: as comparison, this file also provide the code of GCN and GAT. If you want to see the results of GAT or GCN, set two parameters "model_nm" and "model" as GAT or GCN

generate_gt.py

generate the ground truth for training the Network

layers.py

define the layers

model_cnn_shanxipucheng.pth

the trained feature_extraction_net

models9.py

define graph convolution Network

train_feature_extraction_net_Pucheng.py

train the feature_extraction_net

utils9.py

define the function for calculating pixel-level Evaluation Metrics

the code runs in python 2.7

numpy 1.16.2

Pillow 5.4.1

scikit-image 0.14.2

scikit-learn 0.20.3

scipy 1.2.1

segraph 0.5

torch 0.4.0

torchfile 0.1.0

any problem please email me : [email protected]

attention-graph-convolution-network-for-image-segmentation-in-big-sar-imagery-data's People

Contributors

mafeimf 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.