Skip to content

huhuhang/mobilenet_v2-imagenet-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

17 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

ImageNet Inference

MOBILENET V2 IMAGENET API

Usage

Run python run.py locally to start the Flask web service:

curl -X POST -F image=@test.jpg 'http://127.0.0.1:5000/predict'

Recommended:

Or use the Heroku API:

curl -X POST -F image=@test.jpg 'https://mobilenet-v2-imagenet.herokuapp.com/predict'
{
  "predictions": [
    { "label": "sports_car", "probability": 0.856 },
    { "label": "racer", "probability": 0.028 },
    { "label": "convertible", "probability": 0.022 },
    { "label": "grille", "probability": 0.014 },
    { "label": "car_wheel", "probability": 0.009 }
  ],
  "status": "success"
}

About

๐ŸŒ MOBILENET-V2 ImageNet Inference API

Topics

Resources

License

Stars

Watchers

Forks

Languages