Coder Social home page Coder Social logo

emadaldoghry / sgcn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tist0bsc/sgcn

0.0 0.0 0.0 1.65 MB

Split Depth-wise Separable Graph Convolution Network for Road Extraction in Complex Environment from High-resolution Remote Sensing Imagery

Python 100.00%

sgcn's Introduction

SGCN

Split Depth-wise Separable Graph Convolution Network for Road Extraction in Complex Environment from High-resolution Remote Sensing Imagery

Gaodian Zhou, Weitao Chen, Qianshan Gui, Xianju Li and Lizhe Wang,Split Depth-wise Separable Graph Convolution Network for Road Extraction in Complex Environment from High-resolution Remote Sensing Imagery(IEEE TGRS, 2021)

image

quick start

requirements

python 3.6 CUDA10.1 GPU:2080Ti*1

pytorch==1.1.0 tqdm==4.49.0 Pillow==6.1.0 opencv-python==4.1.0.25

parameters

You can change epoch,batch_size,lr and decay in train_config.json

train

1.Download the files mentioned in "dataset/gansu/readme"
2.python3 main.py

It will create a folder, named 'logs', and a log file. This log file will record the training process.

And the trained model, with maximum OA in validation set, will be saved in a folder, named 'saved', and record the epoch num in 'best_epoch.txt' when saving the model.

eval

1.python3 eval.py

It will evalute this model in test dataset, and print the metrics, including OA, IOU, precision, recall, F1, then save the confusion matrix in 'saved' folder.

perdict

1.python3 predict.py

You can find the visual results in 'predict/gansu/',grays value of roads in 'vis' is 255 ,while 1 in 'mask'.

cite

@ARTICLE{9614130,
author={Zhou, Gaodian and Chen, Weitao and Gui, Qianshan and Li, Xianju and Wang, Lizhe},
journal={IEEE Transactions on Geoscience and Remote Sensing}, 
title={Split Depth-wise Separable Graph-Convolution Network for Road Extraction in Complex Environments from High-resolution Remote-Sensing Images}, 
year={2021},
volume={},
number={},
pages={1-1},
doi={10.1109/TGRS.2021.3128033}}

sgcn's People

Contributors

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