Files
FastDeploy/examples/vision/classification/paddleclas/serving/models/paddlecls/config.pbtxt
heliqi b0a30a7b10 [Serving]Add PPCls serving examples (#555)
* add ppcls serving examples

* fix ppcls/serving docs

* fix code style
2022-11-11 13:32:46 +08:00

57 lines
988 B
Plaintext

name: "paddlecls"
platform: "ensemble"
max_batch_size: 16
input [
{
name: "INPUT"
data_type: TYPE_UINT8
dims: [ -1, -1, 3 ]
}
]
output [
{
name: "CLAS_RESULT"
data_type: TYPE_STRING
dims: [ -1 ]
}
]
ensemble_scheduling {
step [
{
model_name: "preprocess"
model_version: 1
input_map {
key: "preprocess_input"
value: "INPUT"
}
output_map {
key: "preprocess_output"
value: "RUNTIME_INPUT"
}
},
{
model_name: "runtime"
model_version: 1
input_map {
key: "inputs"
value: "RUNTIME_INPUT"
}
output_map {
key: "save_infer_model/scale_0.tmp_1"
value: "RUNTIME_OUTPUT"
}
},
{
model_name: "postprocess"
model_version: 1
input_map {
key: "post_input"
value: "RUNTIME_OUTPUT"
}
output_map {
key: "post_output"
value: "CLAS_RESULT"
}
}
]
}