GithubHelp home page GithubHelp logo

chao-tan / cmwnet Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 33 KB

PyTorch implementation of paper: Generating the Cloud Motion Winds Field from Satellite Cloud Imagery Using Deep Learning Approach (IGARSS2021).

License: MIT License

Python 100.00%
cloud-motion-wind deep-learning optic-flow efficient-learning

cmwnet's Introduction

Generating the Cloud Motion Winds Field from Satellite Cloud Imagery Using Deep Learning Approach

This repository contains the source code, dataset and pretrained model for CMWNet, provided by Chao Tan.

The paper is avaliable for download here. Click here for more details.


Dataset & Pretrained Model

CMWD (Cloud Motion Wind Dataset) is the first cloud motion wind dataset for deep learning research. It contains 6388 adjacent grayscale image pairs for training and another 715 images pairs for testing. Our CMWD dataset is available for download at TianYiCloud(2.2GB) or BaiduCloud(2.2GB) (extraction code: np6o).
You can get the CMWD dataset at any time but only for scientific research. At the same time, please cite our work when you use the CMWD dataset.

The pretrained model of our CMWNet on CMWD dataset can be download at TianYiCloud or BaiduCloud (extraction code: wqk0).

Prerequisites

  • Python 3.7
  • PyTorch >= 1.4.0
  • opencv 0.4
  • PyQt 4
  • numpy
  • visdom

Training

  1. Please download and unzip TCLD dataset and place it in datasets/data folder.
  2. Generating labels for CMWD dataset.
    • Since our CMWD dataset does not explicitly give a cloud motion wind label for each image pair, you can use existing methods (such as any optical flow algorithm) to generate pixel-wise motion vectors between two frames and use it as the traing label. Please save the motion vectors as an numpy array of size (2* image_length * image_width) under the TRAIN_B and TEST_B folders respectively. The name of each generated label is the same as the input satellite image.
  3. Run python -m visdom.server" to activate visdom server.
  4. Run python run.py to start training from scratch.
  5. You can easily monitor training process at any time by visiting http://localhost:8097 in your browser.

Testing

  1. For TCLD dataset, please download and unzip pretrained model and place it in checkpoints folder.
  2. You need to modify the configs/FlowNetS.yaml file and change the status option from train to test.
  3. Run python run.py to start testing.
  4. The results of the testing will be saved in the checkpoint/FlowNetS/testing" directory.

Citation

@inproceedings{
     title={Generating the Cloud Motion Wind Field from Satellite Cloud Imagery Using Deep Learning Approach},
     author={Tan, Chao},
     booktitle={IGARSS},
     year={2021},
     note={to appear},
}

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.