CodeProject.AI Version 2.0

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,238
Reaction score
4,299
Location
Brooklyn, NY
I was trying to install the toolkit, but says other installations are running. However, on system info on CPAI I see this:

View attachment 172091

Also on the dashboard it shows CUDA. so do I still need CUDA toolkit and the cuDNN?

is the 3GB 1060 enough or should I hook up the 1080?
You must of installed CUDA at sometime. Open Windows app settings and search CUDA. If it shows 12.2 you need to uninstall it and install CUDA 11.8 because the ALPR module does not work with CUDA 12.2

1694470821516.png
 

harleyl7

Pulling my weight
Joined
Jun 4, 2021
Messages
262
Reaction score
223
You must of installed CUDA at sometime. Open Windows app settings and search CUDA. If it shows 12.2 you need to uninstall it and install CUDA 11.8 because the ALPR module does not work with CUDA 12.2

View attachment 172095
Hmm.. 1694471439027.png
all I did driver wise was use geforce experience to update to the newest drivers.
 

harleyl7

Pulling my weight
Joined
Jun 4, 2021
Messages
262
Reaction score
223
I restarted the server, and 11.8 is installing now. guessing it needed a restart after the geforce experience drivers update

1694472584761.png

going to reinstall LPR module.
 
Last edited:

Vettester

Getting comfortable
Joined
Feb 5, 2017
Messages
762
Reaction score
757
That's strange because if I'm using it and my internet drops out which it does frequently, alerts time out and go un-analyzed.
I've been using the dot net for a long time and if I turn off my fiber fiber jack CPAI keeps working.
 

CCTVCam

Known around here
Joined
Sep 25, 2017
Messages
2,713
Reaction score
3,568
Mike, Interesting development.

I decided to repair Windows .net (using the uninstall tool) and reinstall EdgeTPU Runtime given that I'm reading someone has processing times of 75ms over on the BI forums. I rebooted between repair/ re-installation / removal / re-installation respectively.

Having done this, in the BI Web Console, I turned Yolo 5 off and started the Coral Version. My pc instantly Blue Screened.

I retrieved the events from the Windows log in case it helps to debug the situation - 2 entries:


11/09/2023 23:26 Application Error Faulting application name: CodeProject.AI.Server.exe, version: 2.1.11.0, time stamp: 0x64b07659
Faulting module name: KERNELBASE.dll, version: 10.0.19041.3155, time stamp: 0xbf300201
Exception code: 0xe0434352
Fault offset: 0x000000000002cf19
Faulting process id: 0x1790
Faulting application start time: 0x01d9e5076fbdcd71
Faulting application path: C:\Program Files\CodeProject\AI\Server\CodeProject.AI.Server.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 652df522-2d0b-4e0f-8bf0-132030c5b236
Faulting package full name: 
Faulting package-relative application ID:

11/09/2023 23:26 Application Error Faulting application name: CodeProject.AI.Server.exe, version: 2.1.11.0, time stamp: 0x64b07659
Faulting module name: KERNELBASE.dll, version: 10.0.19041.3155, time stamp: 0xbf300201
Exception code: 0xe0434352
Fault offset: 0x000000000002cf19
Faulting process id: 0xd0c
Faulting application start time: 0x01d9e5076a4615ae
Faulting application path: C:\Program Files\CodeProject\AI\Server\CodeProject.AI.Server.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 8187dbb1-5469-41d5-b51c-7d485a80e385
Faulting package full name: 
Faulting package-relative application ID:


The actual BlueScreen identified the issue as CodeProjectAI.sys before rebooting.
 

CCTVCam

Known around here
Joined
Sep 25, 2017
Messages
2,713
Reaction score
3,568
Wished I'd not tried again now.

Ran DSIM.exe - scanhealth - no integrity violations in Windows

Tried to restart AI, blue screened again on startup when service started.

Removed CPAI and reinstalled to try to stop the running module.

Updated BI to latest Version.

Now even after a complete reinstall of CPAI, module won't start "as the path is wrong"

CPAI Cannot Start.png


CPAI / BI really need to get a grip on this conflict between the two programs as it's starting to get very irritating. I seem to remember having to completely re-install Windows as start from scratch last time this happened. Hoping a solution can be found this time to prevent that.

Having a module control for CPAI in the cloud also isn't a good idea as it relies on being able to start the CPAI web service to turn modules on / off which is not good if the fault stops the web service from starting.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,238
Reaction score
4,299
Location
Brooklyn, NY
Wished I'd not tried again now.

Ran DSIM.exe - scanhealth - no integrity violations in Windows

Tried to restart AI, blue screened again on startup when service started.

Removed CPAI and reinstalled to try to stop the running module.

Updated BI to latest Version.

Now even after a complete reinstall of CPAI, module won't start "as the path is wrong"

View attachment 172114


CPAI / BI really need to get a grip on this conflict between the two programs as it's starting to get very irritating. I seem to remember having to completely re-install Windows as start from scratch last time this happened. Hoping a solution can be found this time to prevent that.

Having a module control for CPAI in the cloud also isn't a good idea as it relies on being able to start the CPAI web service to turn modules on / off which is not good if the fault stops the web service from starting.
I find Blue Iris Auto start/stop with Blue Iris: buggy, uncheck this setting and try just let CodeProject.AI service start up on its own. Also you should change the port to 32168.
 

CCTVCam

Known around here
Joined
Sep 25, 2017
Messages
2,713
Reaction score
3,568
I find Blue Iris Auto start/stop with Blue Iris: buggy, uncheck this setting and try just let CodeProject.AI service start up on its own. Also you should change the port to 32168.
Same result. Message as above. Could not start (248) etc.
 
Top