I don’t want to skew the direction of this thread, but just to answer jrbeddow, I can’t find yolov5l-cls.pt. I used yolov5l.pt from ObjectDetectionYolo\assets. The registry is still edited to \ObjectDetectionYolo\custom-detection.I still struggling with getting a YOLO model working, and am looking for suggestions: I have moved a copy of yolov5l-cls.pt into the appropriate folder (CodeProject\AI\AnalysisLayer\ObjectDetectionYolo\custom-models), yet when I try to enable the yolov5l-cls model in the camera, Custom models box, here is my result in the CPAI log:
10:22:02 PM: Object Detection (YOLO): Detecting using yolov5l-cls
10:22:02 PM: Object Detection (YOLO): Unable to load model at C:\Program Files\CodeProject\AI\AnalysisLayer\ObjectDetectionYolo\custom-models\yolov5l-cls.pt (Can't get attribute 'ClassificationModel' on )
10:22:02 PM: Object Detection (YOLO): Unable to create YOLO detector for model yolov5l-cls
What am I doing wrong here?
I'm not getting those unlocked running BI 5.6.2.1. The use custom model folder is still greyed out for me.
Any idea why I can't complete the benchmark? It starts to run, pegs the CPU for a few seconds, and then crashes with this error message.
View attachment 141112
Try a reboot and see if it still happens.I'm not getting those unlocked running BI 5.6.2.1. The use custom model folder is still greyed out for me.
Any idea why I can't complete the benchmark? It starts to run, pegs the CPU for a few seconds, and then crashes with this error message.
View attachment 141112
Nope. Unfortunately still greyed out for me.Try a reboot and see if it still happens.
Post a screenshot of the main AI setting for the BI issue and the dashboard for the CP.AI issueNope. Unfortunately still greyed out for me.
Post a screenshot of the main AI setting for the BI issue and the dashboard for the CP.AI issue
Yes, this could be another way to solve the problem.
I am guessing, since I am a beginner in this AI world, I will be stumbling over many obstacles in the future. Thanks for your advice. much appreciated.
For the custom model options in BI are greyed out checkoff Auto start/stop the click ok and reopen the AI settings and the custom model options in BI will not be greyed outI uninstalled CP AI 1.6.1 and installed 1.6.2. I was able to run the benchmark successfully a couple times on 1.6.2 getting ~1.5 operations per second in a Win 10 VM. But now trying to run the benchmark it keeps failing with the above error code.
Using my desktop with a GTX 2060 I can get ~50 operations per second using the same benchmark and it completes every time. I wonder if the test is taking so long in the VM it's just timing itself out.
No idea why the custom model options in BI are greyed out. I even tried unchecking "Default Object Detection" but it didn't make any difference.
For the custom model options in BI are greyed out checkoff Auto start/stop the click ok and reopen the AI settings and the custom model options in BI will not be greyed out
No, but it sounds like it's on the roadmap per a comment on their forum stating they got a Coral device to test/play with: CodeProject.AI Server: AI the easy way. Hopefully that links properly - otherwise just search that message board for CoralIs there support for a Coral unit yet? I have a Debian NUC sitting idle with a PCI Coral device in it. Would love to run CP from that and just point BI to it.
How refreshing to once again find Docker self-updating and running the latest image.
DockerDesktop is perfect for apps like this under constant development;
So no need to worry about clean un-installs\upgrades
- Single command to download and deploy Code.Project.AI Server (always self-restarts, if it stops for any reason)
- Watchtower ensures Code.project.AI is always running the latest version
No need to worry about dependencies\optimal configuration
Doesn't bog down windows, with legacy registry keys\settings\temp files. Replace the container and it's gone
More secure than a native windows app
No compatibility issues, just works as the developer intended
I was just on a zoom call with Chris from CP.AI and he does have a Coral device, he showed it to me. So they are working on adding support.No, but it sounds like it's on the roadmap per a comment on their forum stating they got a Coral device to test/play with: CodeProject.AI Server: AI the easy way. Hopefully that links properly - otherwise just search that message board for Coral
I'm waiting for it myself since I finally received my Coral device after a 9 month wait.
If you want to always have the latest container running, Watchtower is good. By-default will check your containers once every 24hours, if it finds a new container will download it, and start the new one with the same actions as the old one.I just today installed Docker Desktop for Windows, made sure WSL2 was limited to only use 2GB of RAM (for now), pulled the latest version of CodeProject:AI Server and ran it on port 32168. All seems to be working, only performed a few benchmark tests and detection tests to see what the response time was like, am getting anywhere between 150ms all the way upto 490ms, not that great but then again I only have a lowly i5-6500 with 16Gb of RAM.
Will play around with it over the weekend when I plan to add another cam to my system so I might use this new cam as a test cam to test the overall performance.
Hi - my first post here, total newbie to all this. I had this same issue - I think it's caused by the AI service still running in the background. For me, I opened Services, stopped the Codeproject.AI service (I have issues stopping it, always have to stop twice as it always times out the first time), then, when it has stopped, go back to BI and the Custom checkbox is available. I make my selection, then restart the AI service.Hmmm. If I have "Auto Start/Stop with Blue Iris" checked, I can select CUDA, Default Object Detection, Facial Recognition, Mode, and Time Out. If I uncheck "Auto Start/Stop with Blue Iris" then all of those items are greyed out except Default Object Detection.
Use Custom model Folder is greyed out still no matter if Auto Start/Stop is checked or unchecked. Confirmed after multiple restarts of BI and the VM. Strange. Anyone else have this issue?
Thanks! I’ll give this a try today! Oh and welcome to the forum!Hi - my first post here, total newbie to all this. I had this same issue - I think it's caused by the AI service still running in the background. For me, I opened Services, stopped the Codeproject.AI service (I have issues stopping it, always have to stop twice as it always times out the first time), then, when it has stopped, go back to BI and the Custom checkbox is available. I make my selection, then restart the AI service.
Thanks! My head feels like it's going to explode trying to get a grip on all this. I'm using BI primarily to keep an eye on my cats, so trying to find the settings to give the most reliable alerts is proving difficult. Mostly my big cat (8kg) is being flagged as a dog - don't mind that, as long as he gets flagged. But, I'm getting people flagged as dogs and cats too.... so lots of tinkering to do. May have to delve into my own AI training as my one cat is roughly the same colour as the floorboards, so I can't use the contrast setting...Thanks! I’ll give this a try today! Oh and welcome to the forum!
So the P400 is not supported?The better support for older NVidia GPUs was added with all the help from users that tested my revised process.py. Below is the revised code.
PHP:device_name = torch.cuda.get_device_name(self.device) # https://www.nvidia.com/en-us/design-visualization/previous-quadro-desktop-gpus/ no_half = ["TU102","TU104","TU106","TU116", "TU117", "GeForce RTX 2060", "GeForce RTX 2070", "GeForce RTX 2080", "GeForce GTX 1650", "GeForce GTX 1660", "MX550", "MX450", "Quadro RTX 8000", "Quadro RTX 6000", "Quadro RTX 5000", "Quadro RTX 4000" "Quadro P1000", "Quadro P620", "Quadro P400", "T1000", "T600", "T400","T1200","T500","T2000", "Tesla T4"] self.half = not any(check_name in device_name for check_name in no_half)
It is supportedSo the P400 is not supported?