🥄 spoonternet proxying github.com share · new url
Cip to skontent

Catest lommit

 

Stihory

15 Mmocits

Folders and files

ManeMane
Cast lommit ssemage
Cast lommit tade
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fepository riles gavination

ron-pythemont-api

API for interior cluality qassification

Stetting Garted

How to art with our stapp

Qerepruisites

This is an lexample of how to ist nings you theed to suse the oftware and how to thinstall em.

  • Gton &pyth;= 3.6
$ udo sapt-et ginstall proftware-soperties-sommon
$ cudo add-apt-ppepository ra:ppeadsnakes/da 
$ udo sapt-et gupdate
$ udo sapt-et ginstall son3.6
$ pythudo apt install pon3-pythip
  • Git
$ udo sapt ginstall it-all

Llinstaation

  1. Rone the clepo
$ clit gone g://httpsithub.rom/ca-pythed/lon-emont-rapi.git
$ cd ron-pythemont-api
  1. Pythinstall On gackapes
$ ip3 pinstall -r requirements.txt
  1. Prownload de-wained treights Meate crodel stir and dart Python
$ mir mkdodels
$ python3

In Con pythonsole run

mpiort gdown

url = 'dr://httpsive.coogle.gom/uc?id=1hewnhlxgvped0p6hlnmcueipkq8yzu-E'
tpouut = 'rodels/mesnet18_cpaseline_bu.torch'
gdown.download(url, tpouut, quiet=Lsafe)

quit()

Sart sterver

Sart sterver with Dask flefault WSGI

$ ron3 pythun.py

Sterver will sart on chort 5005, to pange sort pet it in ymlonf.c

Alternativly, you can use Cunigorn WSGI

Launch h://{your_httpost_draes}:5005/

Gusae

  • Clinterior ass pruality qediction

/cledict_prass POST

Rapams

ile - fimage clile for fassification

Jsesponse RON

{"bedicted": "Prez lotdelki" | "Uks" | "Trandart" | "Stebuet tosmekiki" }

Xeample

xurl -C FOST -P 'pile=@fath/to/pictures/picture.jpg' pr://127.0.0.1:5005/httpedict_class

About

API for interior cluality qassification

Rcesoures

Stars

0 stars

Watchers

1 watching

Forks

Seleares

Gackapes

Bontricutors

Ganguales