Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sdcb.PaddleOCR.Models.LocalV3.dll这个组件到达了152M #62

Closed
Farb opened this issue Jul 28, 2023 · 3 comments
Closed

Sdcb.PaddleOCR.Models.LocalV3.dll这个组件到达了152M #62

Farb opened this issue Jul 28, 2023 · 3 comments

Comments

@Farb
Copy link

Farb commented Jul 28, 2023

Sdcb.PaddleOCR.Models.LocalV3.dll这个组件到达了152M,有没有小一点的,或者再压缩下?我看PaddleOCR给的模型不都是很小嘛,就十几M。

@n0099
Copy link
Contributor

n0099 commented Jul 28, 2023

这是把所有百度训练并公开下载的语言模型都缝合进去了的
您可以用在线即时下载的 https://www.nuget.org/packages/Sdcb.PaddleOCR.Models.Online/
如果不想即时下载可以修改

public static string GlobalModelDirectory { get; set; } = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "paddleocr-models");
的值然后提前把模型下下来放在那

@sdcb sdcb closed this as completed Jul 31, 2023
@Farb
Copy link
Author

Farb commented Aug 15, 2023

建议将语言模型分开封装,用户需要什么语言安装什么语言即可。@sdcb

@n0099
Copy link
Contributor

n0099 commented Aug 15, 2023

您提前下下来模型文件放到默认或修改后的全局变量GlobalModelDirectory里不就行了? #32 (comment)

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

No branches or pull requests

3 participants