Git Product home page Git Product logo

chenghuige / remote-sensing-image-semantic-segmentation-tf2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tachibanayoshino/remote-sensing-image-semantic-segmentation-tf2

0.0 1.0 0.0 30 KB

The remote sensing image semantic segmentation repository based on tf.keras includes backbone networks such as resnet, densenet, mobilenet, and segmentation networks such as deeplabv3+, pspnet, panet, and refinenet.

Python 100.00%

remote-sensing-image-semantic-segmentation-tf2's Introduction

Remote-sensing-image-semantic-segmentation-tf2

The remote sensing image semantic segmentation repository based on tf.keras includes backbone networks such as resnet, densenet, mobilenet, and segmentation networks such as deeplabv3+, pspnet, panet, and segnet.

This repository has been used to participate in the remote sensing semantic image segmentation track of the 2020 National Artificial Intelligence Competition (NAIC).


Data description

class label
Water 100
Transportation 200
Building 300
Arable land 400
Grassland 500
Woodland 600
Bare soil 700
Others 800

Requirements

  • python 3.7
  • tensorflow-gpu 2.3
  • opencv-python
  • tqdm
  • numpy
  • argparse
  • matplotlib
  • Pillow

Usage

1. Download dataset

data

2. Separate the validation set from the training data (optional)

python split_val_data_from_train.py

3. Complete the basic configuration of training and testing, such as data path, model path, etc.

Modify the config.py file

4. Train

python train.py --model DeepLabV3Plus --backBone ResNet152 --lr_scheduler cosine_decay --lr_warmup True

4. Download pre-trained weights

Link (TBD)

5. Inference

python predict.py

Results

MIou, FWIou
The inference result image is in the results folder

remote-sensing-image-semantic-segmentation-tf2's People

Watchers

James Cloos 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.