CodeProject.AI Version 2.0

harleyl7

Pulling my weight
Joined
Jun 4, 2021
Messages
260
Reaction score
223
Everything so far looks setup correctly maybe the 3GB 1060 does not have enough memory, to verify if it is a memory issue try your 1080
Oh gotcha true I can give that a shot. I'll knock that out tomorrow. Wish CPAI would throw an error for that. Doesn't seem like the usage is very high at all, but yeah 3GB might not be enough.

Edit: put it in tonight haha
It's comically big in the 2u case
 

Attachments

Last edited:

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,225
Reaction score
4,280
Location
Brooklyn, NY
Same issue weird.
I am stumped. There may be an issue with CUDA 11.8 and GTX 10xx GPUs. Can you try uninstall all the CUDA 11.8 files and install CUDA 11.7, link is below for CUDA 11.7. I did a quick test to see how much GPU memory gets used for the ALPR module and it looks like it is over 3GB.

CUDA 11.7

1694575971216.png

1694576323949.png
 

harleyl7

Pulling my weight
Joined
Jun 4, 2021
Messages
260
Reaction score
223
I am stumped. There may be an issue with CUDA 11.8 and GTX 10xx GPUs. Can you try uninstall all the CUDA 11.8 files and install CUDA 11.7, link is below for CUDA 11.7. I did a quick test to see how much GPU memory gets used for the ALPR module and it looks like it is over 3GB.

CUDA 11.7

View attachment 172227

View attachment 172228
11.7 installed, verified via cmd prompt and still no prediection returned.

edit: fully reinstalled CPAI and have the same issue of no prediction returned. Toggled off the GPU and it works. so it must be something with how the GPU is setup
1694617405598.png
 
Last edited:

teejnut

n3wb
Joined
Oct 30, 2018
Messages
11
Reaction score
1
Location
Los Angeles
Has anyone had issues with their Coral USB Accelerator/ObjectDetection(Coral) stop working randomly? I got my Coral USB yesterday and got it installed and working last night with CPAI. Its slightly faster then using DirectML with my Intel 530. But then some time last night the ObjectDetection(Coral) stopped. I see this error below but this error is way after the module stop responding. I'm using 2.1.11-Beta.

07:04:09:eek:bjectdetection_coral_adapter.py: F driver/usb/usb_driver.cc:406] HandleEvent failed. USB transfer error 1 [LibUsbDataInCallback]
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,225
Reaction score
4,280
Location
Brooklyn, NY
11.7 installed, verified via cmd prompt and still no prediection returned.

edit: fully reinstalled CPAI and have the same issue of no prediction returned. Toggled off the GPU and it works. so it must be something with how the GPU is setup
View attachment 172258
Can you post a screenshot of the below folder, I want to see what version PaddlePaddle you have, it should be paddlepaddle_gpu-2.5.0.dist-info. One note the python39 folder on your system should be python37

1694641545735.png
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,225
Reaction score
4,280
Location
Brooklyn, NY
Are you willing to try a newer version paddlepaddle_gpu-2.5.1 also changes python version from 3.7 to 3.9. This will need to be manual installed. It not that hard, delete the bin folder, replace some file and then run a bat file. I am not 100% sure it will fix your GPU issue but I think it is worth a try.
Worst case there was an older version of the ALPR module that used an older version of PaddlePaddle that I think worked with GTX 10xx GPUs.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,225
Reaction score
4,280
Location
Brooklyn, NY
okay sounds good!
Below are the steps to manually install the ALPR module
  1. Disable the ALPR module, do not uninstall the module or shutdown CodeProject.AI service
  2. Delete C:\Program Files\CodeProject\AI\modules\ALPR\bin folder
  3. Unzip the attached and replace all the files with the files in the zip file
  4. Open a Command Prompt with Administration rights
  5. Change to the ALPR folder cd C:\Program Files\CodeProject\AI\modules\ALPR
  6. Run ..\..\setup.bat
  7. After bat file finishes Enable the ALPR module
  8. Test the ALPR and hope it works.
 

Attachments

Last edited:

harleyl7

Pulling my weight
Joined
Jun 4, 2021
Messages
260
Reaction score
223
Below are the steps to manually install the ALPR module
  1. Disable the ALPR module, do not uninstall the module or shutdown CodeProject.AI service
  2. Delete C:\Program Files\CodeProject\AI\modules\ALPR\bin folder
  3. Unzip the attached and replace all the files with the files in the zip file
  4. Open a Command Prompt with Administration rights
  5. Change to the ALPR folder cd C:\Program Files\CodeProject\AI\modules\ALPR
  6. Run install.bat
  7. After bat file finishes Enable the ALPR module
  8. Test the ALPR and hope it works.
getting this on output from the cmd prompt:
1694660449537.png
 
Top