def place_cnn(self): request = json.loads(web.data()) cm = Caffe_Models('place_cnn') return cm.caffe_models_run(request) #response
def place_lenet(self): request = json.loads(web.data()) cm = Caffe_Models('place_lenet') res = cm.caffe_models_run(request) return json.dumps(res)
def object_imagenet(self): request = json.loads(web.data()) cm = Caffe_Models('object_imagenet') return cm.caffe_models_run(request) #response
def style_flickr(self): request = json.loads(web.data()) cm = Caffe_Models('style_flickr') res = cm.caffe_models_run(request) return json.dumps(res)
def place_cnn(self): request = json.loads(web.data()) cm = Caffe_Models("place_cnn") return cm.caffe_models_run(request) # response
def object_imagenet(self): request = json.loads(web.data()) cm = Caffe_Models("object_imagenet") return cm.caffe_models_run(request) # response
def place_lenet(self): request = json.loads(web.data()) cm = Caffe_Models("place_lenet") res = cm.caffe_models_run(request) return json.dumps(res)
def style_flickr(self): request = json.loads(web.data()) cm = Caffe_Models("style_flickr") res = cm.caffe_models_run(request) return json.dumps(res)