Giter VIP home page Giter VIP logo

chenyangxie102 / pfst-lstm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luochuyao/pfst-lstm

0.0 0.0 0.0 10.33 MB

This is a Pytorch implementation of PFST-LSTM, a recurrent model for precipitation nowcasting (radar echo extrapolation) as described in the following paper: PFST-LSTM: a SpatioTemporal LSTM Model with Pseudo-flow Prediction for Precipitation Nowcasting

Shell 0.01% C++ 1.77% Python 95.07% C 0.51% Java 0.35% Tcl 0.61% PowerShell 0.04% Makefile 1.12% CMake 0.50% Batchfile 0.03%

pfst-lstm's Introduction

PFST-LSTM

This is a Pytorch implementation of PFST-LSTM, a recurrent model for precipitation nowcasting (radar echo extrapolation) as described in the following paper:

PFST-LSTM: a SpatioTemporal LSTM Model with Pseudo-flow Prediction for Precipitation Nowcasting, by Chuyao Luo, Xutao Li, Yunming Ye.Access Paper

Setup

Required python libraries: torch (>=1.4.0) + opencv + numpy + scipy (== 1.0.0) + jpype1. Tested in ubuntu + nvidia 2080Ti with cuda (>=10.1).

Datasets

We conduct experiments on CIKM AnalytiCup 2017 datasets: CIKM_AnalytiCup_Address or CIKM_Rardar

Training

Use any '.py' script in the path of experiment/CIKM/ to train the models. To train the proposed model on the radar, we can simply run the experiment/CIKM/dec_PFST_ConvLSTM.py

You might want to change the parameter and setting, you can change the files in the path of experiment/CIKM/config/ for each model

The preprocess method and data root path can be modified in the data/data_iterator.py file

There are all trained models. You can download it following this address:trained model

Evaluation

We give two approaches to evaluate our models.

The first method is to check all predictions by running the java file in the path of CIKM_Eva/src (It is faster). You need to modify some information of path and make a .jar file to run

The second method is to run the evaluate.py in the path of evaluate/

Prediction samples

5 frames are predicted given the last 10 frames.

Prediction vislazation

pfst-lstm's People

Contributors

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