PaddlePaddle / PaddlePaddle/FastDeploy

UNAVAILABLE: Invalid argument: unexpected inference input 'sigmoid_0.tmp_0', allowed inputs are: save_infer_model/scale_0.tmp_0

Open
#2,582 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description

环境

  • 【FastDeploy版本】: docker pull registry.baidubce.com/paddlepaddle/fastdeploy:1.0.7-gpu-cuda11.4-trt8.5-21.10
  • 【编译命令】如果您是自行编译的FastDeploy,请说明您的编译方式(参数命令)
    Docker内启动服务时:fastdeployserver --model-repository=./examples/vision/ocr/PP-OCR/serving/fastdeploy_serving/models
  • 【系统平台】: Linux x64(centos)
  • 【硬件】: 说明具体硬件型号,如 Nvidia GPU A10
  • 【编译语言】: Python(3.6)

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

  • 【模型跑不通】
    • 先执行examples下的部署示例,可以正确执行,但自己的模型不能运行
      | Model | Version | Status |
      | cls_postprocess | 1 | READY |
      | cls_pp | 1 | READY |
      | cls_runtime | 1 | READY |
      | det_postprocess | 1 | READY |
      | det_preprocess | 1 | READY |
      | det_runtime | 1 | UNAVAILABLE: Invalid argument: unexpected inference input 'sigmoid_0.tmp_0', allowed inputs are: save_infer_model/scale_0.tmp_0 |
      | rec_postprocess | 1 | READY |
      | rec_pp | 1 | READY |
      | rec_runtime | 1 | READY |

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the model repository at examples/vision/ocr/PP-OCR/serving/fastdeploy_serving/models and the fastdeployserver command shown in the issue. Compare the det_runtime model's configured input with the reported sigmoid_0.tmp_0 and save_infer_model/scale_0.tmp_0 names. Done means det_runtime reaches READY and the custom OCR model runs through the serving pipeline.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
ai, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.