Skip to content

optim some infer yaml, readme and parallel#450

Merged
liangxhao merged 1 commit into
mindspore-lab:mainfrom
liangxhao:infer_optim
Jun 27, 2023
Merged

optim some infer yaml, readme and parallel#450
liangxhao merged 1 commit into
mindspore-lab:mainfrom
liangxhao:infer_optim

Conversation

@liangxhao
Copy link
Copy Markdown
Contributor

@liangxhao liangxhao commented Jun 26, 2023

Thank you for your contribution to the MindOCR repo.
Before submitting this PR, please make sure:

Motivation

  1. 优化一些yaml文件,例如RecCTCLabelDecode、CTCLabelDecode和DistillationCTCLabelDecode,都对应RecCTCLabelDecode,之前注册了3对1的映射,随着预/后处理数量的增多,导致注册比较混乱,现在删除冗余的注册,统一改成RecCTCLabelDecode
  2. 补充Rare后处理所需的RecAttnLabelDecode的注册
  3. 修复PSE的参考链接
  4. 优化pipeline中的计时、减少启动和终止时间的统计,并减少空载轮询
  5. 抛异常时增加异常信号,及时终止程序运行

Test Plan

(How should this PR be tested? Do you require special setup to run the test or repro the fixed bug?)

Related Issues and PRs

(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)

@liangxhao liangxhao changed the title optim some infer yaml and readme optim some infer yaml, readme and parallel Jun 27, 2023
@liangxhao liangxhao merged commit 9f35b2b into mindspore-lab:main Jun 27, 2023
@liangxhao liangxhao deleted the infer_optim branch July 2, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants