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.
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).
- Python 3.7
- PyTorch >= 1.4.0
- opencv 0.4
- PyQt 4
- numpy
- visdom
- Please download and unzip TCLD dataset and place it in
datasets/datafolder. - 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_BandTEST_Bfolders respectively. The name of each generated label is the same as the input satellite image.
- 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
- Run
python -m visdom.server"to activate visdom server. - Run
python run.pyto start training from scratch. - You can easily monitor training process at any time by visiting
http://localhost:8097in your browser.
- For TCLD dataset, please download and unzip pretrained model and place it in
checkpointsfolder. - You need to modify the
configs/FlowNetS.yamlfile and change the status option from train to test. - Run
python run.pyto start testing. - The results of the testing will be saved in the
checkpoint/FlowNetS/testing"directory.
@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},
}