Skip to content

Latest commit

 

History

History
32 lines (31 loc) · 1.49 KB

readme.md

File metadata and controls

32 lines (31 loc) · 1.49 KB

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