UrbanFloodCastV1 is the first version repository for Inno_Maus project. This repository contains the necessary scripts for data processing, model training, and the required dependencies to run the project.
UrbanFloodCastV1 leverages deep learning techniques to forecast urban flooding based on hydrology data. The project uses a variety of libraries and tools for data preprocessing, model building, and visualization.
The pixelized data required for model training and evaluation can be downloaded from the following link:
To get this data, you can process the data using the script provided in data/process.ipynb
. This can help convert .txt to .tif files.
We prepared the pre-trained model checkpoints: Checkpoints
To set up the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/zhu-xlab/UrbanFloodCastV1.git cd UrbanFloodCastV1
- Install the required dependencies: You can install all the required libraries using the
requirements.txt
file::pip install -r requirements.txt
To use the model, execute the following steps:
-
Process the runoff / ground truth data by running the
downsample.ipynb
notebook. This can help downsample the images. Downsampled runoff is here. -
Please change the 'Root_path' to your local path.
-
Put the test ground truth events folder to 'data/val'. Test the model using the
load_model.ipynb
notebook.