These are chat archives for beniz/deepdetect

9th
Dec 2017
jubeenshah
@jubeenshah
Dec 09 2017 14:35

Hey Beniz, I was successfully able to train the model, Thank You for help!

please help me understand the output of the prediction

curl -X POST "http://127.0.0.1:9001/predict" -d '{
       "service":"cosmos_image_classification",
       "parameters":{
         "input":{
           "width":224,
           "height":224
         },
         "output":{
           "best":3
         }
       },
       "data":["/home/ubuntu/Documents/trained_model/ambulance.jpg"]
     }'
{"status":{"code":200,"msg":"OK"},"head":{"method":"/predict","service":"cosmos_image_classification","time":1027.0},"body":{"predictions":[{"uri":"/home/ubuntu/Documents/trained_model/ambulance.jpg","classes":[{"prob":0.9202892780303955,"cat":"n01514668"},{"prob":0.07731050997972489,"cat":"n01514859"},{"prob":0.0015054618706926704,"last":true,"cat":"n01518878"}]}]}}
jubeenshah
@jubeenshah
Dec 09 2017 14:51
[{"prob":0.9202892780303955,"cat":"n01514668"}
Cat is the class? it is predicting?