These are chat archives for beniz/deepdetect

16th
Aug 2016
Jacky Yang
@anguoyang
Aug 16 2016 11:04
This message was deleted
Jacky Yang
@anguoyang
Aug 16 2016 11:23
Hi @beniz , I print the classif: 0/11111{u'status': {u'msg': u'NotFound', u'dd_msg': u'Service Not Found', u'code': 400, u'dd_code': 1002}}
does it mean, I need to put service first ?
I see, the service creation failed: {u'status': {u'msg': u'BadRequest', u'dd_msg': u'Service Bad Request Error', u'code': 400, u'dd_code': 1006}}
Emmanuel Benazera
@beniz
Aug 16 2016 11:33
if service creation fails it will not appear for the remaining call, thus the NotFound. Always trust the server ;)
Jacky Yang
@anguoyang
Aug 16 2016 16:53
I always trust the server indeed, it seems the message sent from client not compatible with the rule
I print the message body when put service:
{'model': {'templates': '../templates/caffe/', 'repository': '/opt/deepdetect/demo/imgsearch/model'}, 'type': 'unsupervised', 'description': 'image classification', 'parameters': {'input': {'connector': 'image', 'width': 224, 'height': 224}, 'mllib': {'template': 'googlenet', 'nclasses': 1000}, 'output': {}}, 'mllib': 'caffe'}
it returns bad request error, what is wrong with my message? /opt/deepdetect/demo/imgsearch/model is my model rep which I have copied the googlenet models into it
other params are same with the documentation
Emmanuel Benazera
@beniz
Aug 16 2016 17:56
look at the server log