CodeProject.AI Version 2.0

Server version: 2.3.4-Beta
System: Windows
Operating System: Windows (Microsoft Windows 11 version 10.0.22631)
CPUs: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz (Intel)
1 CPU x 6 cores. 12 logical processors (x64)
GPU: NVIDIA GeForce GTX 1660 SUPER (6 GiB) (NVIDIA)
Driver: 545.84 CUDA: 12.3.52 (max supported: 12.3) Compute: 7.5
System RAM: 16 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.10
Video adapter info:
NVIDIA GeForce GTX 1660 SUPER:
Driver Version 31.0.15.4584
Video Processor NVIDIA GeForce GTX 1660 SUPER
System GPU info:
GPU 3D Usage 15%
GPU RAM Usage 2.2 GiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168



Can you post a screenshot of you system info. Version 2.3.4 is working fine with Nvidia GPUs

View attachment 177577
 
Server version: 2.3.4-Beta
System: Windows
Operating System: Windows (Microsoft Windows 11 version 10.0.22631)
CPUs: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz (Intel)
1 CPU x 6 cores. 12 logical processors (x64)
GPU: NVIDIA GeForce GTX 1660 SUPER (6 GiB) (NVIDIA)
Driver: 545.84 CUDA: 12.3.52 (max supported: 12.3) Compute: 7.5
System RAM: 16 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.10
Video adapter info:
NVIDIA GeForce GTX 1660 SUPER:
Driver Version 31.0.15.4584
Video Processor NVIDIA GeForce GTX 1660 SUPER
System GPU info:
GPU 3D Usage 15%
GPU RAM Usage 2.2 GiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
Try uninstalling the ALPR module then reinstall using Do not use download cache.

1699653668456.png
 
@Amgclk65 Yes, I only run 1 custom model like ipcam-general. If you turn off the default object detection as shown in the screenshot you can reduce workload on CP.AI
ai.png
 
  • Like
Reactions: Amgclk65
@actran
Thanks for the info. I’ll deselect it and see how it goes. Now does that tie into the Static object analysis setting within the camera AI option?
 
I’ll play around with a clone camera and see the difference with ignoring some objects under those settings. Thanks
 
Still no luck, also tried completely removing CPAI, CUDA and reinstalling. @ChrisMaunder mentioned a potential issue with PaddlePaddle updated to v2.5.2 (up from 2.5.1) causing issues with GPU support, has that been resolved?

Under ALPR info I see:

Module 'License Plate Reader' 2.7.2 (ID: ALPR)
Module Path: <root>\modules\ALPR
AutoStart: True
Queue: alpr_queue
Platforms: windows,linux,linux-arm64,macos,macos-arm64,!orangepi,!jetson
GPU Libraries: installed if available
GPU Enabled: enabled
Parallelism: 0
Accelerator:
Half Precis.: enable
Runtime: python3.7
Runtime Loc: Local
FilePath: ALPR_adapter.py
Pre installed: False
Start pause: 1 sec
LogVerbosity:
Valid: True
Environment Variables
AUTO_PLATE_ROTATE = True
MIN_COMPUTE_CAPABILITY = 7
MIN_CUDNN_VERSION = 7
OCR_OPTIMAL_CHARACTER_HEIGHT = 60
OCR_OPTIMAL_CHARACTER_WIDTH = 36
OCR_OPTIMIZATION = True
PLATE_CONFIDENCE = 0.7
PLATE_RESCALE_FACTOR = 2
PLATE_ROTATE_DEG = 0
Started: 11 Nov 2023 8:05:59 AM Eastern Standard Time
LastSeen: Not seen
Status: Started
Processed: 0
Provider:
CanUseGPU: False
HardwareType: CPU



Try uninstalling the ALPR module then reinstall using Do not use download cache.

View attachment 177589
 
Still no luck, also tried completely removing CPAI, CUDA and reinstalling. @ChrisMaunder mentioned a potential issue with PaddlePaddle updated to v2.5.2 (up from 2.5.1) causing issues with GPU support, has that been resolved?

Under ALPR info I see:

Module 'License Plate Reader' 2.7.2 (ID: ALPR)
Module Path: <root>\modules\ALPR
AutoStart: True
Queue: alpr_queue
Platforms: windows,linux,linux-arm64,macos,macos-arm64,!orangepi,!jetson
GPU Libraries: installed if available
GPU Enabled: enabled
Parallelism: 0
Accelerator:
Half Precis.: enable
Runtime: python3.7
Runtime Loc: Local
FilePath: ALPR_adapter.py
Pre installed: False
Start pause: 1 sec
LogVerbosity:
Valid: True
Environment Variables
AUTO_PLATE_ROTATE = True
MIN_COMPUTE_CAPABILITY = 7
MIN_CUDNN_VERSION = 7
OCR_OPTIMAL_CHARACTER_HEIGHT = 60
OCR_OPTIMAL_CHARACTER_WIDTH = 36
OCR_OPTIMIZATION = True
PLATE_CONFIDENCE = 0.7
PLATE_RESCALE_FACTOR = 2
PLATE_ROTATE_DEG = 0
Started: 11 Nov 2023 8:05:59 AM Eastern Standard Time
LastSeen: Not seen
Status: Started
Processed: 0
Provider:
CanUseGPU: False
HardwareType: CPU
What version CodeProject.AI do you have installed? The current version is 2.3.4
 
Yup, 2.3.4, see below.

Server version: 2.3.4-Beta
System: Windows
Operating System: Windows (Microsoft Windows 11 version 10.0.22631)
CPUs: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz (Intel)
1 CPU x 6 cores. 12 logical processors (x64)
GPU: NVIDIA GeForce GTX 1660 SUPER (6 GiB) (NVIDIA)
Driver: 545.84 CUDA: 12.3.52 (max supported: 12.3) Compute: 7.5
System RAM: 16 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.10
Video adapter info:
NVIDIA GeForce GTX 1660 SUPER:
Driver Version 31.0.15.4584
Video Processor NVIDIA GeForce GTX 1660 SUPER
System GPU info:
GPU 3D Usage 24%
GPU RAM Usage 1.9 GiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168




What version CodeProject.AI do you have installed? The current version is 2.3.4
 
Yup, 2.3.4, see below.

Server version: 2.3.4-Beta
System: Windows
Operating System: Windows (Microsoft Windows 11 version 10.0.22631)
CPUs: 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz (Intel)
1 CPU x 6 cores. 12 logical processors (x64)
GPU: NVIDIA GeForce GTX 1660 SUPER (6 GiB) (NVIDIA)
Driver: 545.84 CUDA: 12.3.52 (max supported: 12.3) Compute: 7.5
System RAM: 16 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.10
Video adapter info:
NVIDIA GeForce GTX 1660 SUPER:
Driver Version 31.0.15.4584
Video Processor NVIDIA GeForce GTX 1660 SUPER
System GPU info:
GPU 3D Usage 24%
GPU RAM Usage 1.9 GiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
Looking at your previous post showing part of the install log it looks like you may have an old version on CUDA install along with a new version. Can you check the below folder to see how many CUDA do you have install.

1699740001467.png

1699739966145.png
 
Just one version of CUDA installed, 12.3. I uninstalled CUDA and made sure all Nvidia folders were deleted prior to the re-install I did yesterday. The error message for v.10 has been there since initial install, I never had v.10 installed. Any idea why LPR thinks otherwise? Yolo is working fine with GPU.




Looking at your previous post showing part of the install log it looks like you may have an old version on CUDA install along with a new version. Can you check the below folder to see how many CUDA do you have install.

View attachment 177649

View attachment 177648
 
C:\Users\tedrpi>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Sep__8_19:56:38_Pacific_Daylight_Time_2023
Cuda compilation tools, release 12.3, V12.3.52
Build cuda_12.3.r12.3/compiler.33281558_0



Open a command prompt and run nvcc --version post a screenshot of the results, like below.

View attachment 177655
 
C:\Users\tedrpi>nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Sep__8_19:56:38_Pacific_Daylight_Time_2023
Cuda compilation tools, release 12.3, V12.3.52
Build cuda_12.3.r12.3/compiler.33281558_0
I am not sure what is happening nvcc --version is how CP.AI know what version CUDA you have installed. Can you try uninstalling the ALPR module and the reinstall using Do not use download cache and Install verbosity Loud. After installing post the install log.

1699748119303.png
 
Just did that again, sent you a DM with full logs.


I am not sure what is happening nvcc --version is how CP.AI know what version CUDA you have installed. Can you try uninstalling the ALPR module and the reinstall using Do not use download cache and Install verbosity Loud. After installing post the install log.

View attachment 177656