Skip to content

Python api for classification images for an IIoT environment

Notifications You must be signed in to change notification settings

Sauron-IIoT/classification-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sauron - Classification API

How to install

Download and install python 3.6+ and pip. If you wanta more isolate environment, you can install virtualenv and install the dependencies on a virtual environment. For that you need to:

Install:

pip install virtualenv

Create a virtual env:

virtualenv -p python venv

Start virtualenv:

venv/Scripts/activate.bat

Then on the root of the project run:

Linux:

pip3 install -r requirements.txt

Windows:

pip install -r requirements.txt

Or simply install python and install its dependencies.

Running

Create an ````.env``` file with the following content:

PROD=True
MODEL_PATH=model/weights/model.h5

Execute on your terminal:

uvicorn app:app --port 8000 --reload

About

Python api for classification images for an IIoT environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published