PaddlePaddle / PaddlePaddle/FastDeploy

相同的模型结构,不同的参数,预测时间差异很大

Open
#2,531 2 comments 0 reactions 1 assignee 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

私有训练了一个OCR识别模型,训出来两个版本,模型结构一模一样,保存到硬盘上大小也没有区别。

现象是:
fastdeploy输入paddle模型,同样的代码,
选择onnx cpu推理,thread=1,先后进行了多次测试,速度测试稳定。
但结果差异巨大,一个是10s,一个是20s,区别只是识别模型用了一个结构的不同版本,也就是网络结构一致,weights值或者训练时的epoch不同。

请问大家遇到过这种问题吗?

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.