vvv-tech / rare_animals_detection_samara_hack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rare animals detection samara hack

Eval file "label.csv" for task1 in eval_task1 directory

Eval file "label.csv" for task2 in eval_task2 directory

Web app

Simple app consisting of a form where you can upload an image, and see the inference result of the model in the browser. Run:

$ python3 webapp.py --port 5000

then visit http://localhost:5000/ in your browser

Run & Develop locally

Run locally and dev:

  • python3 -m venv venv
  • source venv/bin/activate
  • (venv) $ pip install -r requirements.txt
  • (venv) $ cd webapp
  • (venv) $ python3 webapp.py --port 5000

Docker

The example dockerfile shows how to expose the rest API:

# Build
docker build -t yolov5-flask .
# Run
docker run -p 5000:5000 yolov5-flask:latest

About


Languages

Language:Jupyter Notebook 87.6%Language:Python 12.1%Language:HTML 0.2%Language:Shell 0.1%Language:Dockerfile 0.0%Language:CSS 0.0%