|
|
i recently installed codeproject-ai and pass my coral usb stick through to the docker container. i've downloaded the coral usb module within the cpai interface, but i'm not sure how to make sure all other installed models are running through my coral stick and not cpu.
is there a way to verify this?
|
|
|
|
|
Running Codeproject AI 2.6.2 with object detection (Coral) 2.2.2. And when I watch in the log I get a lot of the following warnings:
16:27:48:objectdetection_coral_adapter.py: WARNING:root:No work in 60.0 seconds, watchdog shutting down TPUs.
16:27:53:objectdetection_coral_adapter.py: WARNING:root:No work in 60.0 seconds, watchdog shutting down TPUs.
16:27:58:objectdetection_coral_adapter.py: WARNING:root:No work in 60.0 seconds, watchdog shutting down TPUs.
16:28:03:objectdetection_coral_adapter.py: WARNING:root:No work in 60.0 seconds, watchdog shutting down TPUs.
16:28:08:objectdetection_coral_adapter.py: WARNING:root:No work in 60.0 seconds, watchdog shutting down TPUs.
16:28:13:objectdetection_coral_adapter.py: WARNING:root:No work in 60.0 seconds, watchdog shutting down TPUs.
16:28:18:objectdetection_coral_adapter.py: WARNING:root:No work in 60.0 seconds, watchdog shutting down TPUs.
What causes this? and how can I fix this?
|
|
|
|
|
It should be booting itself back up as soon as new work arrives, so it shouldn’t be a problem.
|
|
|
|
|
But detection time seems to be a bit slower now, 15-20ms before vs 25ms now? That is really not that much slower but the constant red in the status window makes it seem like something bad is happening.
|
|
|
|
|
In the Blue Iris when a new trigger arrives I get an "AI: error 500". This also happens since the last update. It looks like it needs to wake-up the coral and then has a timeout error.
|
|
|
|
|
Hi,
The majority of the time, even with clear view & multiple reeds showing the same plate (I send images to the server) it reads as an I when should be the number 1
HW13 PBX reported as HWI PBX
As this all goes on in my python program I could program myself to adjust but would be nice if it was a built in feature, perhaps either a country flag or even a template XX##XXX
I know uk private plates might cause issues but better to have the majority.
previously I used paid version of Plate Recognizer (parkpow) which was extremely accurate & had country settings but always got the I & 1 correct but oddly O & 0 mixed up fairly often.
Thanks I/A
|
|
|
|
|
I am building out a large Blueiris setup with 30X 8K cameras. What specific hardware should I keep in mind for Codeproject AI? RAM, GPU, VRAM?
I am looking at running the YOLOv8x model.
Thanks!
|
|
|
|
|
The RTX 3060 12GB would be a good GPU
|
|
|
|
|
Should I care more about card generation GTX 1XXX, RTX 20XX, 30XX ,40XX? Or VRAM?
|
|
|
|
|
|
An nvidia 3050 6Gb would be preferable to an Nvidia Tesla P40 24GB?
Both cards are at the same price point and very similar compute performance. The 3050 is rated around 50w depending of flavor. The P40 wants around 250w. The 3050 has 6Gb~8Gb of VRAM vs 24Gb in the P40.
|
|
|
|
|
YOLOv8 medium is only 100 MB in size, so VRAM shouldn’t be a huge issue until you’re training a new model or running more than a handful of models at a time.
At least in theory. Mike is gonna have better advice in practice.
|
|
|
|
|
I run 25 4-8 megapixel cams on a RTX A5000 VM with 8GB. The card is bored out of its RAm at 1%-5% utilization.
|
|
|
|
|
I have settled on an RTX 3050 6GB. Basically I have come to the conclusion that a modern GPU is better then an old GPU and any GPU is better then no GPU. Go figure. It's kind of self evident.
Thanks for all the info.
|
|
|
|
|
Have you got the 3050 6gb installed yet?
Let me know what inference speeds you get with which model and streams/resolutions if you can please?
Out of curiosity. I have an old gtx970 which has 1664 cuda cores. Does surprisingly well though I must admit. Limited to ipcam-combined with yolo3.2 though.
|
|
|
|
|
I have not had any success in creating a 2nd instance on my unraid from the app store yet.
Even after giving it a unique name, ports 32170 udp/tcp, paths etc.
Still seems to overide to 32168 and not create any files in data and modules folders.
Even though it is up and running as a second container under docker it seems to be just a duplicate of the 1st instance.
webui does not open
Where am I going wrong?
Thanks
|
|
|
|
|
I see on a second thread you created a second instance on your Windows machine. Is this working for you now? Mesh is intended for multiple servers, not containers on the same server.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Hi, I use CP.AI with Blue Iris and after updating to the latest version today, the object detection modules will not load in the dashboard. The error message from the server logs on the dashboard are below. I get the same error if I try YOLO .NET, YOLO 3.1 and YOLOv8.
19:06:59:Error trying to start Object Detection (YOLOv5 6.2) (detect_adapter.py)
19:06:59:Error is: An error occurred trying to start process 'C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python' with working directory 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLOv5-6.2'. The system cannot find the file specified.
19:06:59: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at CodeProject.AI.Server.Modules.ModuleProcessServices.StartProcess(ModuleConfig module, String installSummary)
19:06:59:Please check the CodeProject.AI installation completed successfully
Here is the System Info:
Server version: 2.6.2
System: Windows
Operating System: Windows (Microsoft Windows 10.0.19045)
CPUs: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (Intel)
1 CPU x 4 cores. 8 logical processors (x64)
GPU (Primary): NVIDIA T600 (4 GiB) (NVIDIA)
Driver: 552.22, CUDA: 12.4 (up to: 12.4), Compute: 7.5, cuDNN:
System RAM: 16 GiB
Platform: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
Runtimes installed:
.NET runtime: 7.0.18
.NET SDK: Not found
Default Python: Not found
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
NVIDIA T600:
Driver Version 31.0.15.5222
Video Processor NVIDIA T600
Microsoft Remote Display Adapter:
Driver Version 10.0.19041.3636
Video Processor
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 576 MiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
modified 24-Apr-24 13:14pm.
|
|
|
|
|
Thanks very much for the report. Out of curiosity, what version were you upgrading from?
What happens if you un-install and re-install and of the modules that get these errors?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I was using 2.0.8 previously. I get the same error when I uninstall and reinstall any of the modules. I have also tried totally uninstalling and reinstalling the 2.6.2.
|
|
|
|
|
Please try uninstalling 2.0.8 (if you haven't already), then deleting C:\ProgramData\CodeProject and C:\Program Files\CodeProject, then installing 2.6.4.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I have uninstalled 2.0.8 already. I'll delete those directories. Do you mean install 2.6.2 or is there a newer version now?
|
|
|
|
|
Apologies, yes. Windows is currently on 2.6.2.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Thanks, I tried this and I get the same error.
The message as shown above says: An error occurred trying to start process C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
That folder, python37, doesnt contain any files. Is this the issue?
|
|
|
|