Skip to content

resting-dove/MA-SegCloudv1-

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MA-SegCloudv1- A novel ground-based cloud image segmentation method based on a multibranch asymmetric convolution module and attention mechanism

With the spirit of reproducible research, this repository contains all the codes required to produce the results in the manuscript:

image

Please cite the above paper if you intend to use whole/part of the code. This code is only for academic and research purposes.

Usage:

  1. Dataset:The SWINySeg data set is available for download at http://vintage.winklerbros.net/swinyseg.html. All images are normalized to binary images, the size is changed to 320×320, and the training set and test set are divided by voc2pspnet.py.

  2. Training: Set the path for train.py to read images and labels, and load training and validation sets.

    (a).Read image from file: img = Image.open(r"filepath" + '/' + name + ".jpg")

    (b).Read label image from file: label = Image.open(r"filepath" + '/' + name + ".png")

    (c).Set hyperparameters such as learning rate, optimizer, loss function, etc.

  3. prediction:Load the trained weight file, set the file path to save the prediction results, and run the predict.py.

  4. test: Load predictions and labels, run eval.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%