RGuven / docker-ngrok-gradio-detectron2

For a MaskRCnn model trained with detectron2 running on localhost, it is to present the interface environment built with Gradio on docker, where the client can reach and make inferences on the predictions of the trained model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Branch Structures

1. main branch -> docker_compose - ngrok - gradio - detectron2

2. docker-gradio-detectron2 branch -> dockerfile - gradio - detectron2 

First Build Docker Compose

docker-compose build

Run Docker Compose

docker-compose up



Localhost View

Screenshot

Result View

Screenshot

Sign up to Ngrok (https://ngrok.com/) to get time limitless endpoint take the NGROK_AUTH key and paste it in docker-compose.yaml Screenshot

About

For a MaskRCnn model trained with detectron2 running on localhost, it is to present the interface environment built with Gradio on docker, where the client can reach and make inferences on the predictions of the trained model.


Languages

Language:Python 79.9%Language:Dockerfile 20.1%