Hub serving可以打开,上传图片,但是无法运行OCR识别或者检测
Created by: TopGun666
如题,运行如下命令之后,用yolov3_darknet53_coco2017
的config.json
可以完成识别任务,但是用OCR的就不行,
OCR的三个config.json
,检测、识别、系统都只能上传图片,无法运行。
$ hub serving start --config config.json
config.json
配置如下:
{
"modules_info": {
"ocr_det": {
"init_args": {
"version": "1.0.0"
},
"predict_args": {
"batch_size": 1,
"use_gpu": false
}
},
"ocr_rec": {
"init_args": {
"version": "1.0.0"
},
"predict_args": {
"batch_size": 1,
"use_gpu": false
}
},
"ocr_system": {
"init_args": {
"version": "1.0.0"
},
"predict_args": {
"batch_size": 1,
"use_gpu": false
}
}
},
"port": 8866,
"use_multiprocess": false,
"workers": 2
}