Skip to content

TeyrCrimson/model_serving_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

model_serving_test

Model server (Flask):

python test_v2.py

Model server (FastAPI):

python test_v3.py

To test:

from request_module import Serving_clf
requestor = Serving_clf(url=__INSERT URL HERE__)
prediction = requestor.predict([frame])

where frame is an RGB image array.

prediction should return a json in the form of:

{
  'predictions': {
    'points': ([l,t,r,b]),
    'attributes-value': (text)
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages