请问如果想设置成高并发应该怎么做
#201
-
想让它能做并发度为20的识别,但是单纯启动好像也很慢,请问应该怎么做 |
Beta Was this translation helpful? Give feedback.
Answered by
SWHL
Jul 17, 2024
Replies: 4 comments 6 replies
-
目前只能自己手动开启多进程实现。还要看资源。如果一个进程,CPU都满了,那就别高并发了 |
Beta Was this translation helpful? Give feedback.
0 replies
-
请问如果想在python中切换中英文模型识别需要设置什么参数
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: SWHL ***@***.***>
发送时间: Thursday, July 11, 2024 6:09:39 PM
收件人: RapidAI/RapidOCR ***@***.***>
抄送: ***@***.*** ***@***.***>; Author ***@***.***>
主题: Re: [RapidAI/RapidOCR] 请问如果想设置成高并发应该怎么做 (Discussion #201)
This is an external email.
目前只能自己手动开启多进程实现。还要看资源。如果一个进程,CPU都满了,那就别高并发了
―
Reply to this email directly, view it on GitHub<#201 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BAS3H6BJUKOSYIB54VUJF2LZLZKWHAVCNFSM6AAAAABKUVBRKOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBRHE2DQOI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
去查一下官方API文档
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 发送日期 | 2024年07月16日 11:56 |
| 收件人 | RapidAI/RapidOCR ***@***.***> |
| 抄送人 | SWHL ***@***.***>,
Comment ***@***.***> |
| 主题 | Re: [RapidAI/RapidOCR] 请问如果想设置成高并发应该怎么做 (Discussion #201) |
请问如果想在python中切换中英文模型识别需要设置什么参数
获取 Outlook for iOS<https://aka.ms/o0ukef>
________________________________
发件人: SWHL ***@***.***>
发送时间: Thursday, July 11, 2024 6:09:39 PM
收件人: RapidAI/RapidOCR ***@***.***>
抄送: ***@***.*** ***@***.***>; Author ***@***.***>
主题: Re: [RapidAI/RapidOCR] 请问如果想设置成高并发应该怎么做 (Discussion #201)
This is an external email.
目前只能自己手动开启多进程实现。还要看资源。如果一个进程,CPU都满了,那就别高并发了
―
Reply to this email directly, view it on GitHub<#201 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BAS3H6BJUKOSYIB54VUJF2LZLZKWHAVCNFSM6AAAAABKUVBRKOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBRHE2DQOI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
6 replies
-
谢谢
…________________________________
发件人: SWHL ***@***.***>
发送时间: 2024年7月16日 21:24
收件人: RapidAI/RapidOCR ***@***.***>
抄送: ***@***.*** ***@***.***>; Author ***@***.***>
主题: Re: [RapidAI/RapidOCR] 请问如果想设置成高并发应该怎么做 (Discussion #201)
This is an external email.
从你贴的看不出来啥。这个模型我有转好的:https://huggingface.co/SWHL/RapidOCR/tree/main/PP-OCRv4
―
Reply to this email directly, view it on GitHub<#201 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BAS3H6B2IZMVIK3L3DW2WSDZMUNKJAVCNFSM6AAAAABKUVBRKOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMBWGI3TKMQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先,我直接下载我给你的链接,rec模型是没有问题的。从报错来看,你下载错了模型,应该是
ch_PP-OCRv4_rec_server_infer.onnx
,你下载的是检测的模型ch_PP-OCRv4_det_server_infer.onnx
。改正一下,应该就没问题了。其次,我在线转换的模型也没有问题的。转换网址:link
问题如果解决了,请顺手关闭一下Discussions哈