Files
FastDeploy/examples/vision/ocr/PP-OCRv3/serving/models/det_preprocess/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

38 lines
828 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# optional, If name is specified it must match the name of the model repository directory containing the model.
name: "det_preprocess"
backend: "python"
max_batch_size: 1
# Input configuration of the model
input [
{
# input name
name: "INPUT_0"
# input type such as TYPE_FP32、TYPE_UINT8、TYPE_INT8、TYPE_INT16、TYPE_INT32、TYPE_INT64、TYPE_FP16、TYPE_STRING
data_type: TYPE_UINT8
# input shape The batch dimension is omitted and the actual shape is [batch, c, h, w]
dims: [ -1, -1, 3 ]
}
]
# The output of the model is configured in the same format as the input
output [
{
name: "OUTPUT_0"
data_type: TYPE_FP32
dims: [ 3, -1, -1 ]
},
{
name: "OUTPUT_1"
data_type: TYPE_INT32
dims: [ 4 ]
}
]
instance_group [
{
count: 1
kind: KIND_CPU
}
]