CodeProject.AI Version 2.0

tedrpi

Getting the hang of it
Joined
Sep 2, 2015
Messages
85
Reaction score
36
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
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,220
Reaction score
4,266
Location
Brooklyn, NY
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

Getting the hang of it
Joined
Jan 14, 2018
Messages
108
Reaction score
41
Quick question , Can I only run the ipcam-general model? Screenshot 2023-11-10 at 8.30.22 PM.png
 
Last edited:

actran

Getting comfortable
Joined
May 8, 2016
Messages
806
Reaction score
732
@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
 

Amgclk65

Getting the hang of it
Joined
Jan 14, 2018
Messages
108
Reaction score
41
@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?
 

Amgclk65

Getting the hang of it
Joined
Jan 14, 2018
Messages
108
Reaction score
41
I’ll play around with a clone camera and see the difference with ignoring some objects under those settings. Thanks
 

tedrpi

Getting the hang of it
Joined
Sep 2, 2015
Messages
85
Reaction score
36
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
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,220
Reaction score
4,266
Location
Brooklyn, NY
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
 

Amgclk65

Getting the hang of it
Joined
Jan 14, 2018
Messages
108
Reaction score
41
My testdata folder has only two photos. Where can I get the testdata photos?
 

tedrpi

Getting the hang of it
Joined
Sep 2, 2015
Messages
85
Reaction score
36
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
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,220
Reaction score
4,266
Location
Brooklyn, NY
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
 

tedrpi

Getting the hang of it
Joined
Sep 2, 2015
Messages
85
Reaction score
36
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
 

tedrpi

Getting the hang of it
Joined
Sep 2, 2015
Messages
85
Reaction score
36
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
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,220
Reaction score
4,266
Location
Brooklyn, NY
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
 

tedrpi

Getting the hang of it
Joined
Sep 2, 2015
Messages
85
Reaction score
36
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
 
Top