PaddlePaddle / FastDeploy

⚡️An Easy-to-use and Fast Deep Learning Model Deployment Toolkit for ☁️Cloud 📱Mobile and 📹Edge. Including Image, Video, Text and Audio 20+ main stream scenarios and 150+ SOTA models with end-to-end optimization, multi-platform and multi-framework support.
https://www.paddlepaddle.org.cn/fastdeploy
Apache License 2.0
3k stars 465 forks source link

UIE模型部署时遇到错误,E1120 07:33:13.977535 1004 model_repository_manager.cc:1186] failed to load 'uie' version 1: Invalid argument: unable to load model 'uie', configuration expects 2 inputs, model provides 4 #2296

Open huangjun11 opened 1 year ago

huangjun11 commented 1 year ago

温馨提示:根据社区不完全统计,按照模板提问,可以加快回复和解决问题的速度


环境

问题日志及出现问题的操作流程

huangjun11 commented 1 year ago

图片 配置文件如下: name: "uie" backend: "fastdeploy" max_batch_size: 1

input [ { name: "INPUT_0" data_type: TYPE_STRING dims: [ 1 ] }, { name: "INPUT_1" data_type: TYPE_STRING dims: [ 1 ] } ]

output [ { name: "OUTPUT_0" data_type: TYPE_STRING dims: [ 1 ] } ]

instance_group [ { count: 1

Use GPU, CPU inference option is:KIND_CPU

  kind: KIND_GPU
  # The instance is deployed on the 0th GPU card
  gpus: [0]

} ]

optimization { execution_accelerators { gpu_execution_accelerator : [ {

use TRT engine

name: "tensorrt",
# use fp16 on TRT engine
parameters { key: "precision" value: "trt_fp16" }

} ] }}

Xiaopu17 commented 12 months ago

请问解决了吗