5.5.8 - June 13, 2022 - Code Project’s SenseAI Version 1 - See V2 here https://ipcamtalk.com/threads/codeproject-ai-version-2-0.68030/

rdxny

Getting the hang of it
Joined
Oct 15, 2022
Messages
139
Reaction score
81
Location
ny
main here...and the yolo custom models folder
 

Attachments

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,206
Reaction score
4,247
Location
Brooklyn, NY
main here...and the yolo custom models folder
So far all looks good post the below screenshot.
One thing that I do not thinks should be an issue is that the Object Detection (YOLOv5 .NET) custom model folder only needs onnx extension files and the Object Detection (YOLOv5 6.2) custom model folder only needs PT extension files

1674057870775.png
 

rdxny

Getting the hang of it
Joined
Oct 15, 2022
Messages
139
Reaction score
81
Location
ny
So far all looks good post the below screenshot.
One thing that I do not thinks should be an issue is that the Object Detection (YOLOv5 .NET) custom model folder only needs onnx extension files and the Object Detection (YOLOv5 6.2) custom model folder only needs PT extension files

View attachment 151318
sending both the yolov5 6.2 version (that shows only yolo, not ipcam-combined I think) and the .net version, which looks like nothing is happening in the log?cpserver.pngnet server.pngserver log.png
 

rdxny

Getting the hang of it
Joined
Oct 15, 2022
Messages
139
Reaction score
81
Location
ny
So far all looks good post the below screenshot.
One thing that I do not thinks should be an issue is that the Object Detection (YOLOv5 .NET) custom model folder only needs onnx extension files and the Object Detection (YOLOv5 6.2) custom model folder only needs PT extension files

View attachment 151318
So far all looks good post the below screenshot.
One thing that I do not thinks should be an issue is that the Object Detection (YOLOv5 .NET) custom model folder only needs onnx extension files and the Object Detection (YOLOv5 6.2) custom model folder only needs PT extension files

View attachment 151318
OK, I can now get both the ObjectDetection (Yolov5 6.2) AND the .NET versions working with Mike's models! The trick, for me, was to not have any yolov5l models in the respective custom model folders. Just IPcam-combined.pt in the ObjectDetectionYolo\custom-models folder and IPCam-combined.onnx in the ObjectDetectionNet\custom-models folder. It seems having both Mikes and Yolov5l in the same custom folders makes CPAI use only the Yolo and ignore mikes? for me anyway. So all good here for now:)
 

ReXX

Young grasshopper
Joined
Dec 28, 2018
Messages
47
Reaction score
15
Location
Denmark
Can't get GPU mode to work on Intel UHD 630 GPU. No matter how many times I click enable GPU it displays CPU.
Shouldn't it work with the embedded Intel GPU's ?
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,206
Reaction score
4,247
Location
Brooklyn, NY
Can't get GPU mode to work on Intel UHD 630 GPU. No matter how many times I click enable GPU it displays CPU.
Shouldn't it work with the embedded Intel GPU's ?
You need to use Object Detection (YOLOv5 .NET) module for Intel GPU support, make sure that Object Detection (YOLOv5 6.2) is disabled. One note currently custom models do not work with Blue Iris.

1674146706460.png
 

ReXX

Young grasshopper
Joined
Dec 28, 2018
Messages
47
Reaction score
15
Location
Denmark
I have it like so:

1674147007711.png

1674147040632.png

Also tried without been on RDP, so it only sees the Intel 630 GPU, but no difference.
 

ReXX

Young grasshopper
Joined
Dec 28, 2018
Messages
47
Reaction score
15
Location
Denmark
Just tried updating GPU driver to 31.0.101.2114, but still no difference.
 

ReXX

Young grasshopper
Joined
Dec 28, 2018
Messages
47
Reaction score
15
Location
Denmark
Can you post your issue on CodePjoject.AI forum
I have done that, and looking in the code to see if I can get any wiser about the problem. So far it seem that CPAI_MODULE_SUPPORT_GPU should be True, but its False.
 

MikeLud1

IPCT Contributor
Joined
Apr 5, 2017
Messages
2,206
Reaction score
4,247
Location
Brooklyn, NY
I have done that, and looking in the code to see if I can get any wiser about the problem. So far it seem that CPAI_MODULE_SUPPORT_GPU should be True, but its False.
What happens if you temporary disable the Remote Display Adapter and restart CodeProject.AI service, does it work then.
 

ReXX

Young grasshopper
Joined
Dec 28, 2018
Messages
47
Reaction score
15
Location
Denmark
What happens if you temporary disable the Remote Display Adapter and restart CodeProject.AI service, does it work then.
No, I have tried rebooting the pc, and just check the status via the webservice, but still no luck.
 

Tinman

Known around here
Joined
Nov 2, 2015
Messages
1,209
Reaction score
1,476
Location
USA
So I just tried the Yolov5.net and first time I did not have CUDA checked in the BI AI settings and I would get this:

Screenshot 2023-01-19 163944.pngScreenshot 2023-01-19 163801.png

Then If I checked use CUDA in the BI AI settings I would get this:

Screenshot 2023-01-19 164137.pngScreenshot 2023-01-19 164105.png

So do we need to have CUDA checked ? This is using a INTEL embedded 770 CPU. I do think it is working as it bumps up mu GPU usage.
 

ReXX

Young grasshopper
Joined
Dec 28, 2018
Messages
47
Reaction score
15
Location
Denmark
So do we need to have CUDA checked ? This is using a INTEL embedded 770 CPU. I do think it is working as it bumps up mu GPU usage.
Thanks for testing. I can get GPU mode enabled by enabling CUDA in BI. But why is it controlled by BI and not the program itself ? Or both :)
In says GPU (DirectML) now, but don't see any GPU usage and response times are the same as using CPU.

So either its not working or the Intel GPU, in my case the Intel 630 UHD on a 6-core i5-8500T CPU, is not any faster than using the CPU mode.

@Tinman Do you see any difference in using CPU or the Intel GPU ? What kind of response times do you get ?
 

Tinman

Known around here
Joined
Nov 2, 2015
Messages
1,209
Reaction score
1,476
Location
USA
Thanks for testing. I can get GPU mode enabled by enabling CUDA in BI. But why is it controlled by BI and not the program itself ? Or both :)
In says GPU (DirectML) now, but don't see any GPU usage and response times are the same as using CPU.

So either its not working or the Intel GPU, in my case the Intel 630 UHD on a 6-core i5-8500T CPU, is not any faster than using the CPU mode.

@Tinman Do you see any difference in using CPU or the Intel GPU ? What kind of response times do you get ?
I'm pretty sure it was using my GPU according to my task manager, but the times were not much different. But I was using Mike's ip-combined custom model on CPU where in the .net mode it is using the default model, which I am thinking would yield a slower time, so it may be helping. Hopefully Once BI and CP get all the bugs out we will have more of a Idea. As far as the CUDA thing goes, I'm stumped on why that has to be checked ?? On my main BI machine I am still using CPU mode and it works VERY well for me, just wanted to see all our options.
 

Attachments

Top