Files
FastDeploy/examples/vision/ocr/PP-OCRv3/serving/models/cls_pp/config.pbtxt
Thomas Young 95036392e7 [Serving] add ocr serving example (#627)
* add ocr serving example

* 1

1

* Add files via upload

* Update README.md

* Delete ocr_pipeline.png

* Add files via upload

* Delete ocr_pipeline.png

* Add files via upload

* 1

1

* 1

1

* Update README.md

* 1

1

* fix codestyle

* fix codestyle

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: heliqi <1101791222@qq.com>
2022-11-28 13:25:09 +08:00

55 lines
872 B
Plaintext

name: "cls_pp"
platform: "ensemble"
max_batch_size: 128
input [
{
name: "x"
data_type: TYPE_FP32
dims: [ 3, -1, -1 ]
}
]
output [
{
name: "cls_labels"
data_type: TYPE_INT32
dims: [ 1 ]
},
{
name: "cls_scores"
data_type: TYPE_FP32
dims: [ 1 ]
}
]
ensemble_scheduling {
step [
{
model_name: "cls_runtime"
model_version: 1
input_map {
key: "x"
value: "x"
}
output_map {
key: "softmax_0.tmp_0"
value: "infer_output"
}
},
{
model_name: "cls_postprocess"
model_version: 1
input_map {
key: "POST_INPUT_0"
value: "infer_output"
}
output_map {
key: "POST_OUTPUT_0"
value: "cls_labels"
}
output_map {
key: "POST_OUTPUT_1"
value: "cls_scores"
}
}
]
}