You can uninstall all the modules you are not using.
i dont know if its related to that or not, i removed yolov5.net, so that only yolo11 was there, but now yolo11 wont stay started (not sure if it was before).. (it shows GPU)
Getting
16:49:03:ObjectDetectionYOLO11Net.exe: Fatal error. 0xC0000005
16:49:03:ObjectDetectionYOLO11Net.exe: at Microsoft.ML.OnnxRuntime.InferenceSession.Init(Byte[], Microsoft.ML.OnnxRuntime.SessionOptions, Microsoft.ML.OnnxRuntime.PrePackedWeightsContainer)
16:49:03:ObjectDetectionYOLO11Net.exe: at Microsoft.ML.OnnxRuntime.InferenceSession..ctor(Byte[], Microsoft.ML.OnnxRuntime.SessionOptions)
16:49:03:System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e: ..ctor(System.String, Microsoft.ML.OnnxRuntime.SessionOptions)
16:49:03:ObjectDetectionYOLO11Net.exe: at CodeProject.AI.Modules.ObjectDetection.YOLO11.ObjectDetectorV5..ctor(System.String, Microsoft.Extensions.Logging.ILogger, Int32)
16:49:03:ObjectDetectionYOLO11Net.exe: at CodeProject.AI.Modules.ObjectDetection.YOLO11.ObjectDetectionYOLO11ModuleRunner.GetDetectorV5(System.String, Boolean)
16:49:03:ObjectDetectionYOLO11Net.exe: at CodeProject.AI.Modules.ObjectDetection.YOLO11.ObjectDetectionYOLO11ModuleRunner.DoDetectionV5(System.String, CodeProject.AI.SDK.Common.RequestFormFile, Single)
16:49:03:ObjectDetectionYOLO11Net.exe: at CodeProject.AI.Modules.ObjectDetection.YOLO11.ObjectDetectionYOLO11ModuleRunner.Process(CodeProject.AI.SDK.Backend.BackendRequ
Looks like just prior it tries to detect things (i havent gotten face / person detection to work since changing to v11):
16:52:51:Request 'custom' dequeued from 'objectdetection_queue' (...c91a2a)
16:52:51:Response rec'd from Object Detection (YOLO11 .NET) command 'custom' (...21f1a5) ['No objects found'] took 12838ms
16:56:55:Response rec'd from Object Detection (YOLO11 .NET) command 'custom' (...3f93fd) ['Found person'] took 12846ms
Taking a very long time, using built in GPU with 13500t
also, with just yolo11 installed, in BI do i want ipcam-combined,ipcam-combined-v5 etc (the v5s and the non v5s)? (looked back on some posts, i guess having them both listed is ok? v5 might be faster?)
EDIT: removed and reinstalled yolo11 object detection and now its showing CPU instead of GPU (this is how i have ylov5.net, is this what i ideally want here with just the 13500t cpu)
EDIT2: spoke too soon, it started up as CPU then switched to GPU and then crashed again, wont stay running I suppose to get v5.net back on , i have to revert the appsettings file?
**I dont have CUDA installed, do i need to?
These came up after i tried to trick it into CPU mode (which it held for a little while), by choosing wrong device id:
Unable to load the model at C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLO11Net\custom-models\license-plate.onnx
Unable to load the model at C:\Program Files\CodeProject\AI\modules\ObjectDetectionYOLO11Net\custom-models\ipcam-combined.onnx
EDIT: so far it hasnt crashed, and people detection IS working, license-plate or license-plate-v5 i cant get working, but appears this trick to get it going worked
Server version: 2.9.5
System: Windows
Operating System: Windows (Windows 11 24H2)
CPUs: 13th Gen Intel(R) Core(TM) i5-13500T (Intel)
1 CPU x 14 cores. 20 logical processors (x64)
GPU (Primary): Intel(R) UHD Graphics 770 (1,024 MiB) (Intel Corporation)
Driver: 31.0.101.3616
System RAM: 32 GiB
Platform: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
Runtimes installed:
.NET runtime: 9.0.11
.NET SDK: Not found
Default Python: Not found
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
Intel(R) UHD Graphics 770:
Driver Version 31.0.101.3616
Video Processor Intel(R) UHD Graphics Family
System GPU info:
GPU 3D Usage 6%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168