Home

Awesome

Introduction

This repo contains a sample code to show how to create a Flask API server by deploying our remote sensing imagery cloud removal PyTorch model that is trained on RICE dataset.

Demo

https://410a2aab7578.ngrok.io/

demo.png

Install

pip install -r requirements.txt

Usage

  1. Download the pretrained model.
  1. Place the model on root dir.
  2. Run app.py.

Deploy

Go to https://ngrok.com/, register an account and then you can get an authtoken.

wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
unzip ngrok-stable-linux-amd64.zip
./ngrok authtoken ***
./ngrok http 9000

Tips

There are many images used for test in test_thin and test_thick folder.

Cites