I can't seem to get CPAI 2.1.8 to run YOLOv5 .NET using GPU (DirectML). No errors are being reported in the CPAI logs, console shows "Connection Lost" and then restarts in CPU mode. I followed the advice to do a clean install, clean up folders, restart & wait it out. Rolling back to 2.0.8
11:24:59:Operating System: Windows (Microsoft Windows 11 version 10.0.22621)
11:24:59:CPUs: 11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz
11:24:59: 1 CPU x 8 cores. 16 logical processors (x64)
11:24:59:System RAM: 16 GiB
11:24:59:Target: Windows
11:24:59:BuildConfig: Release
11:24:59:Execution Env: Native
11:24:59:Runtime Env: Production
11:24:59:.NET framework: .NET 7.0.5
11:24:59:App DataDir: C:\ProgramData\CodeProject\AI
11:24:59:Video adapter info:
11:24:59: Intel(R) UHD Graphics 750:
11:24:59: Driver Version 30.0.101.1340
11:24:59: Video Processor Intel(R) UHD Graphics Family
11:24:59:ROOT_PATH = C:\Program Files\CodeProject\AI
11:24:59:RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
11:24:59 REINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
11:24:59:MODULES_PATH = C:\Program Files\CodeProject\AI\modules
11:24:59 PYTHON_PATH = \bin\windows\%PYTHON_RUNTIME%\venv\scripts\Python
11:24:59 Data Dir = C:\ProgramData\CodeProject\AI
11:24:59:Server version: 2.1.8-Beta
11:25:02:
11:25:02:Module 'Object Detection (YOLOv5 .NET)' (ID: ObjectDetectionNet)
11:25:02:Module Path: C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet
11:25:02:AutoStart: True
11:25:02:Queue: objectdetection_queue
11:25:02 Platforms: windows,linux,linux-arm64,macos,macos-arm64
11:25:02:GPU: Support enabled
11:25:02Parallelism: 0
11:25:02:Accelerator:
11:25:02:Half Precis.: enable
11:25:02:Runtime: execute
11:25:02:Runtime Loc: Shared
11:25:02:FilePath: ObjectDetectionNet.exe
11:25:02Pre installed: False
11:25:02:Start pause: 1 sec
11:25:02:LogVerbosity:
11:25:02:Valid: True
11:25:02:Environment Variables
11:25:02:CUSTOM_MODELS_DIR = %CURRENT_MODULE_PATH%\custom-models
11:25:02:MODELS_DIR = %CURRENT_MODULE_PATH%\assets
11:25:02:MODEL_SIZE = large
11:25:02:
11:25:02:Started Object Detection (YOLOv5 .NET) module
11:25:02:ObjectDetectionNet.exe: Application started. Press Ctrl+C to shut down.
11:25:02:ObjectDetectionNet.exe: Hosting environment: Production
11:25:02:ObjectDetectionNet.exe: Content root path: C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet
11:25:03:ObjectDetectionNet.exe: Please ensure you don't enable this module along side any other Object Detection module using the 'vision/detection' route and 'objectdetection_queue' queue (eg. ObjectDetectionYolo). There will be conflicts
11:25:03:Object Detection (YOLOv5 .NET): Object Detection (YOLOv5 .NET) module started.
11:25:05:Server: This is a new, unreleased version