This is a fast demo to the upstream repository: PaddleSharp's PaddleOCR.
- https://paddlesharp-ocr.starworks.cc:88 (new version, use
PaddleOcrAll
/Gradio.NET
) - https://paddlesharp-ocr-demo.starworks.cc:88 (old version, use
QueuedPaddleOcrAll
/raw js)
- Enable IIS log by change web.config file:
(By change
stdoutLogEnabled="false"
to"true"
inweb.config
) - Restart IIS website, a logs folder will shown in root folder:
- Trigger the error in website and turn off website, check the error log files:
- In my case, it's caused by CUDA PATH not set correctly, I can simply set by change using following web.config file:
(Your case might be different, but it's a good start to troubleshooting)
<?xml version="1.0" encoding="utf-8"?> <configuration> <location path="." inheritInChildApplications="false"> <system.webServer> <handlers> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> </handlers> <aspNetCore processPath="dotnet" arguments=".\aspnetcore-demo.dll" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="inprocess"> <environmentVariables> <environmentVariable name="PATH" value="%PATH%;F:\_\cuda\cu120\bin" /> </environmentVariables> </aspNetCore> </system.webServer> </location> </configuration>