Skip to content

PaddleOCR c# not work in VM windows Server 2016 #106

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

Open
emranallan opened this issue Aug 6, 2024 · 13 comments
Open

PaddleOCR c# not work in VM windows Server 2016 #106

emranallan opened this issue Aug 6, 2024 · 13 comments

Comments

@emranallan
Copy link

Describe the bug

i'm trying to run code on VM ware 2016 and give me this erro
'iisexpress.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.7\System.Runtime.InteropServices.RuntimeInformation.dll'.
The program '[1520] iisexpress.exe' has exited with code 3221225501 (0xc000001d) 'Illegal Instruction'.

but on my laptop work sharp

Steps to reproduce the bug

FullOcrModel model = LocalFullModels.EnglishV3;
PaddleOcrAll all = new PaddleOcrAll(Globals.model, PaddleDevice.Mkldnn())
{
AllowRotateDetection = false,
Enable180Classification = false,
};
crash here

Expected behavior

No response

Screenshots

No response

Release version

No response

IDE

No response

OS version

windows server 2016

Additional context

No response

@n0099
Copy link
Contributor

n0099 commented Aug 6, 2024

Since you are using mkldnn #75, does your physical cpu of VM supporting AVX2 or AVX-512?

@emranallan
Copy link
Author

image (7)

thanks for answer not support
can i do any thing ?

@n0099
Copy link
Contributor

n0099 commented Aug 6, 2024

Not even AVX2? Replace PaddleDevice.Mkldnn() with PaddleDevice.Openblas() and expect performance downgrade.

@emranallan
Copy link
Author

Dear sir;
i just replace to openlabs ,but i'm still facing same issue
The program '[1520] iisexpress.exe' has exited with code 3221225501 (0xc000001d) 'Illegal Instruction'.

@sdcb
Copy link
Owner

sdcb commented Aug 7, 2024

Try uninstall the mkldnn package and install this one: openblas-noavx - https://packages.nuget.org/packages/Sdcb.PaddleInference.runtime.win64.openblas-noavx/

@emranallan
Copy link
Author

dear sir;
thanks for you effort ,but i'm still facing same error

@n0099
Copy link
Contributor

n0099 commented Aug 7, 2024

Try put it out of IIS process into a standalone .exe?

@emranallan
Copy link
Author

Try put it out of IIS process into a standalone .exe?

how to to that please

@n0099
Copy link
Contributor

n0099 commented Aug 7, 2024

but on my laptop work sharp

Are you using IIS Express on the environment of laptop?

@emranallan
Copy link
Author

yes i'm using iis express on my laptob

@n0099
Copy link
Contributor

n0099 commented Aug 7, 2024

bjornd/jvectormap#18

@emranallan
Copy link
Author

is there any specific CPU to make application work
still not work on Virtual Machine Windows server 2019.

@n0099
Copy link
Contributor

n0099 commented Aug 11, 2024

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