|
As another follow up. After stopping the integration with BI, the server now shows the Object Dection as only using the CPU where as the facial Processing shows CUDA
Also it looks like maybe my GPU is underpowered for this application but any thoughts are apperciated.
|
|
|
|
|
Post your system info like the below
|
|
|
|
|
Thank you for the reply I hope this is right
|
|
|
|
|
So far I do not see any issues with your system info. Try uninstall the Object Detection (YOLOv5 6.2) then reinstall the module using Do not use download cache and Install verbosity set to Loud
|
|
|
|
|
Uninstalled it and also the FaceProcessing as I want to limit it to just one module at this time for simplicity.
20:09:44:Call to run Uninstall on module FaceProcessing has completed.
20:10:02:Sending shutdown request to python/ObjectDetectionYolo
20:10:12:detect_adapter.py: Inference processing will occur on device 'CPU'
20:10:12:detect_adapter.py: Inference processing will occur on device 'CPU'
20:10:12:detect_adapter.py: Inference processing will occur on device 'CPU'
20:10:12:detect_adapter.py: Inference processing will occur on device 'CPU'
20:10:12:detect_adapter.py: Inference processing will occur on device 'CPU'
20:10:13:Module ObjectDetectionYolo has shutdown
20:10:13:detect_adapter.py: has exited
20:10:35:ObjectDetectionYolo went quietly
20:10:35:Call to run Uninstall on module ObjectDetectionYolo has completed
Loaded again and this time loud and to not use download cache
20:18:55:System: Windows
20:18:55:Operating System: Windows (Microsoft Windows 10.0.17763)
20:18:55:CPUs: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (Intel)
20:18:55: 1 CPU x 8 cores. 16 logical processors (x64)
20:18:55:GPU: Quadro M4000 (8 GiB) (NVIDIA)
20:18:55: Driver: 522.06 CUDA: 11.8.89 (max supported: 11.8) Compute: 5.2
20:18:55:System RAM: 16 GiB
20:18:55:Target: Windows
20:18:55:BuildConfig: Release
20:18:55:Execution Env: Native
20:18:55:Runtime Env: Production
20:18:55:.NET framework: .NET 7.0.10
20:18:55:App DataDir: C:\ProgramData\CodeProject\AI
20:18:55:Video adapter info:
20:18:55: Intel(R) UHD Graphics 630:
20:18:55: Driver Version 30.0.100.9955
20:18:55: Video Processor Intel(R) UHD Graphics Family
20:18:55: NVIDIA Quadro M4000:
20:18:55: Driver Version 31.0.15.2206
20:18:55: Video Processor Quadro M4000
20:18:55:STARTING CODEPROJECT.AI SERVER
20:18:55:RUNTIMES_PATH = C:\Program Files\CodeProject\AI\runtimes
20:18:55:PREINSTALLED_MODULES_PATH = C:\Program Files\CodeProject\AI\preinstalled-modules
20:18:55:MODULES_PATH = C:\Program Files\CodeProject\AI\modules
20:18:55:PYTHON_PATH = \bin\windows\%PYTHON_DIRECTORY%\venv\Scripts\python
20:18:55:Data Dir = C:\ProgramData\CodeProject\AI
20:18:55:Server version: 2.3.4-Beta
20:18:55:ModuleRunner Start
20:18:55:Starting Background AI Modules
20:19:01:Current Version is 2.3.4-Beta
20:19:01:Server: This is the latest version
20:21:01:Preparing to install module 'ObjectDetectionYolo'
20:21:01:Downloading module 'ObjectDetectionYolo'
20:21:01:Installing module 'ObjectDetectionYolo'
20:21:01:Installer script at 'C:\Program Files\CodeProject\AI\setup.bat'
20:21:01:ObjectDetectionYolo: Installing CodeProject.AI Analysis Module
20:21:01:ObjectDetectionYolo: ========================================================================
20:21:01:ObjectDetectionYolo: CodeProject.AI Installer
20:21:01:ObjectDetectionYolo: ========================================================================
20:21:01:ObjectDetectionYolo: setupMode = InstallModule
20:21:01:ObjectDetectionYolo: executionEnvironment = Production
20:21:01:ObjectDetectionYolo: installerScriptsPath = C:\Program Files\CodeProject\AI\
20:21:01:ObjectDetectionYolo: sdkScriptsDirPath = C:\Program Files\CodeProject\AI\SDK\Scripts
20:21:01:ObjectDetectionYolo: absoluteAppRootDir = C:\Program Files\CodeProject\AI\
20:21:01:ObjectDetectionYolo: runtimesDirPath = C:\Program Files\CodeProject\AI\runtimes
20:21:01:ObjectDetectionYolo: modulesDirPath = C:\Program Files\CodeProject\AI\modules
20:21:01:ObjectDetectionYolo: downloadDirPath = C:\Program Files\CodeProject\AI\downloads
20:21:01:ObjectDetectionYolo: General CodeProject.AI setup
20:21:02:ObjectDetectionYolo: Creating Directories...Done
20:21:02:ObjectDetectionYolo: GPU support
20:21:02:ObjectDetectionYolo: CUDA Present...Yes (version 11.8)
20:21:02:ObjectDetectionYolo: ROCm Present...False
20:21:02:ObjectDetectionYolo: Variable Dump
20:21:02:ObjectDetectionYolo: moduleName = ObjectDetectionYolo
20:21:02:ObjectDetectionYolo: moduleVersion = 1.7.1
20:21:02:ObjectDetectionYolo: runtime = python3.7
20:21:02:ObjectDetectionYolo: installGPU = true
20:21:02:ObjectDetectionYolo: pythonLocation = Shared
20:21:02:ObjectDetectionYolo: pythonVersion = 3.7
20:21:03:ObjectDetectionYolo: virtualEnvDirPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv
20:21:03:ObjectDetectionYolo: venvPythonCmdPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python.exe
20:21:03:ObjectDetectionYolo: packagesDirPath = C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages
20:21:03:ObjectDetectionYolo: Installing module ObjectDetectionYolo 1.7.1
20:21:03:ObjectDetectionYolo: Installing Python 3.7
20:21:03:ObjectDetectionYolo: Installing python37 in C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37
20:21:03:ObjectDetectionYolo: Python 3.7 is already installed
20:21:03:ObjectDetectionYolo: Creating Virtual Environment (Shared)...Virtual Environment already present
20:21:03:ObjectDetectionYolo: Confirming we have Python 3.7 in our virtual environment...present
20:21:03:ObjectDetectionYolo: Downloading models-yolo5-pt.zip to C:\Program Files\CodeProject\AI\downloads\ObjectDetectionYolo
20:21:03:ObjectDetectionYolo: Downloading Standard YOLO models...Checking 'C:\Program Files\CodeProject\AI\downloads\ObjectDetectionYolo\models-yolo5-pt.zip'
20:21:03:ObjectDetectionYolo: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\ObjectDetectionYolo
20:21:03:ObjectDetectionYolo: Extracting models-yolo5-pt.zip
20:21:05:ObjectDetectionYolo: Done.
20:21:05:ObjectDetectionYolo: Copying contents of models-yolo5-pt.zip to assets...done
20:21:06:ObjectDetectionYolo: Cleaning up...Cleaning up extracted files
20:21:06:ObjectDetectionYolo: done
20:21:06:ObjectDetectionYolo: Downloading custom-models-yolo5-pt.zip to C:\Program Files\CodeProject\AI\downloads\ObjectDetectionYolo
20:21:06:ObjectDetectionYolo: Downloading Custom YOLO models...Checking 'C:\Program Files\CodeProject\AI\downloads\ObjectDetectionYolo\custom-models-yolo5-pt.zip'
20:21:06:ObjectDetectionYolo: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\ObjectDetectionYolo
20:21:06:ObjectDetectionYolo: Extracting custom-models-yolo5-pt.zip
20:21:08:ObjectDetectionYolo: Done.
20:21:09:ObjectDetectionYolo: Copying contents of custom-models-yolo5-pt.zip to custom-models...done
20:21:09:ObjectDetectionYolo: Cleaning up...Cleaning up extracted files
20:21:09:ObjectDetectionYolo: done
20:21:09:ObjectDetectionYolo: Installing Python packages for ObjectDetectionYolo
20:21:09:ObjectDetectionYolo: [0;Installing GPU-enabled libraries: If available
20:21:10:ObjectDetectionYolo: Ensuring Python package manager (pip) is installed...Looking in links: c:\Windows\TEMP\tmpvzwbwo_b
20:21:10:ObjectDetectionYolo: Requirement already satisfied: setuptools in c:\program files\codeproject\ai\runtimes\bin\windows\python37\venv\lib\site-packages (68.0.0)
20:21:10:ObjectDetectionYolo: Requirement already satisfied: pip in c:\program files\codeproject\ai\runtimes\bin\windows\python37\venv\lib\site-packages (23.3.1)
20:21:12:ObjectDetectionYolo: Done
20:21:13:ObjectDetectionYolo: Ensuring Python package manager (pip) is up to date...Requirement already satisfied: setuptools in c:\program files\codeproject\ai\runtimes\bin\windows\python37\venv\lib\site-packages (68.0.0)
20:21:14:ObjectDetectionYolo: Requirement already satisfied: pip in c:\program files\codeproject\ai\runtimes\bin\windows\python37\venv\lib\site-packages (23.3.1)
20:21:15:ObjectDetectionYolo: Done
20:21:15:ObjectDetectionYolo: Requirements Search Path is C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo
20:21:15:ObjectDetectionYolo: Searching for a suitable requirements.txts file in C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo
20:21:15:ObjectDetectionYolo: CUDA version is 11.8 (11_8 / 11)
20:21:15:ObjectDetectionYolo: Python packages specified by requirements.windows.cuda.txt
20:21:15:ObjectDetectionYolo: Choosing Python packages from C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\requirements.windows.cuda.txt
20:21:16:ObjectDetectionYolo: - Installing Pandas, a data analysis / data manipulation tool...Already installed
20:21:17:ObjectDetectionYolo: - Installing CoreMLTools, for working with .mlmodel format models...Already installed
20:21:18:ObjectDetectionYolo: - Installing OpenCV, the Open source Computer Vision library...Already installed
20:21:19:ObjectDetectionYolo: - Installing Pillow, a Python Image Library...Already installed
20:21:20:ObjectDetectionYolo: - Installing SciPy, a library for mathematics, science, and engineering...Already installed
20:21:21:ObjectDetectionYolo: - Installing PyYAML, a library for reading configuration files...Already installed
20:21:22:ObjectDetectionYolo: - Installing PyTorch, an open source machine learning framework...Already installed
20:21:23:ObjectDetectionYolo: - Installing TorchVision, for working with computer vision models...Already installed
20:21:24:ObjectDetectionYolo: - Installing Ultralytics YoloV5 package for object detection in images...Already installed
20:21:25:ObjectDetectionYolo: - Installing Seaborn, a data visualization library based on matplotlib...Already installed
20:21:25:ObjectDetectionYolo: Installing Python packages for the CodeProject.AI Server SDK
20:21:26:ObjectDetectionYolo: Ensuring Python package manager (pip) is installed...Looking in links: c:\Windows\TEMP\tmp44xqhcbz
20:21:26:ObjectDetectionYolo: Requirement already satisfied: setuptools in c:\program files\codeproject\ai\runtimes\bin\windows\python37\venv\lib\site-packages (68.0.0)
20:21:26:ObjectDetectionYolo: Requirement already satisfied: pip in c:\program files\codeproject\ai\runtimes\bin\windows\python37\venv\lib\site-packages (23.3.1)
20:21:27:ObjectDetectionYolo: Done
20:21:27:ObjectDetectionYolo: Ensuring Python package manager (pip) is up to date...Requirement already satisfied: setuptools in c:\program files\codeproject\ai\runtimes\bin\windows\python37\venv\lib\site-packages (68.0.0)
20:21:29:ObjectDetectionYolo: Requirement already satisfied: pip in c:\program files\codeproject\ai\runtimes\bin\windows\python37\venv\lib\site-packages (23.3.1)
20:21:29:ObjectDetectionYolo: Done
20:21:29:ObjectDetectionYolo: Requirements Search Path is C:\Program Files\CodeProject\AI\SDK\Python
20:21:29:ObjectDetectionYolo: Searching for a suitable requirements.txts file in C:\Program Files\CodeProject\AI\SDK\Python
20:21:29:ObjectDetectionYolo: CUDA version is 11.8 (11_8 / 11)
20:21:29:ObjectDetectionYolo: Python packages specified by requirements.txt
20:21:29:ObjectDetectionYolo: Choosing Python packages from C:\Program Files\CodeProject\AI\SDK\Python\requirements.txt
20:21:31:ObjectDetectionYolo: - Installing Pillow, a Python Image Library...Already installed
20:21:32:ObjectDetectionYolo: - Installing Charset normalizer...Already installed
20:21:33:ObjectDetectionYolo: - Installing aiohttp, the Async IO HTTP library...Already installed
20:21:34:ObjectDetectionYolo: - Installing aiofiles, the Async IO Files library...Already installed
20:21:35:ObjectDetectionYolo: - Installing py-cpuinfo to allow us to query CPU info...Already installed
20:21:35:ObjectDetectionYolo: - Installing Requests, the HTTP library...Already installed
20:21:36:ObjectDetectionYolo: Setup complete
20:21:36:Module ObjectDetectionYolo installed successfully.
20:21:36:Command: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
20:21:36:
20:21:36:
20:21:36:Module 'Object Detection (YOLOv5 6.2)' 1.7.1 (ID: ObjectDetectionYolo)
20:21:36:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...tectionYolo\detect_adapter.py"
20:21:36:Attempting to start ObjectDetectionYolo with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\detect_adapter.py"
20:21:36:Module Path: C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo
20:21:36:AutoStart: True
20:21:36:Queue: objectdetection_queue
20:21:36:Platforms: all
20:21:36:GPU Libraries: installed if available
20:21:36:GPU Enabled: enabled
20:21:36:Parallelism: 0
20:21:36:Accelerator:
20:21:36:Half Precis.: enable
20:21:36:Runtime: python3.7
20:21:36:Runtime Loc: Shared
20:21:36:FilePath: detect_adapter.py
20:21:36:Pre installed: False
20:21:36:Start pause: 1 sec
20:21:36:LogVerbosity:
20:21:36:Valid: True
20:21:36:Environment Variables
20:21:36:APPDIR = %CURRENT_MODULE_PATH%
20:21:36:CUSTOM_MODELS_DIR = %CURRENT_MODULE_PATH%/custom-models
20:21:36:MODELS_DIR = %CURRENT_MODULE_PATH%/assets
20:21:36:MODEL_SIZE = Medium
20:21:36:USE_CUDA = True
20:21:36:YOLOv5_AUTOINSTALL = false
20:21:36:YOLOv5_VERBOSE = false
20:21:36:
20:21:36:Started Object Detection (YOLOv5 6.2) module
20:21:36:Installer exited with code 0
20:21:36:Call to run Install on module ObjectDetectionYolo has completed.
20:21:37:Module ObjectDetectionYolo started successfully.
20:21:47:detect_adapter.py: CPAI_MODULE_REQUIRED_MB not found. Setting to default 0
20:21:47:detect_adapter.py: APPDIR: C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo
20:21:47:detect_adapter.py: MODEL_SIZE: medium
20:21:47:detect_adapter.py: MODELS_DIR: C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\assets
20:21:47:Running init for Object Detection (YOLOv5 6.2)
20:21:47:Object Detection (YOLOv5 6.2): Object Detection (YOLOv5 6.2) started.
Looks Like the GPU is now detected!
|
|
|
|
|
BI service was stopped while I did this. Starting the service and turning on the AI in the BI settings causes CPU usage to spike to 100% after a bit. The CUDA has changed back to CPU under the Server Status in the Codeproject AI dashboard
It seems like at ~ 20:21:36 the Module Tries to start but crashes then starts again, but this time isn't using the CUDA. at ~ 20:30:26 there is a runtime error again.
20:28:16:Client request 'list-custom' in queue 'objectdetection_queue' (...3c3731)
20:28:16:Request 'list-custom' dequeued from 'objectdetection_queue' (...3c3731)
20:28:16:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:28:16:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'list-custom' (...3c3731) took 3ms
20:28:16:Response received (...3c3731)
20:28:17:Sending shutdown request to python/ObjectDetectionYolo
20:28:17:Client request 'Quit' in queue 'objectdetection_queue' (...322fc8)
20:28:17:Request 'Quit' dequeued from 'objectdetection_queue' (...322fc8)
20:28:17:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...733485)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...c45e30)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...733485)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...c45e30)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...73c7de)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...73c7de)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...feb7b5)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...feb7b5)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...42446f)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...3a6ef1)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...f8d35e)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...8d6170)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...42446f)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...c64c3b)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...3a6ef1)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...5cb73a)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...f8d35e)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...8d6170)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...c64c3b)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...5cb73a)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...fac9f8)
20:28:18:Request 'detect' dequeued from 'objectdetection_queue' (...fac9f8)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...b2fbcd)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...61cf32)
20:28:18:Client request 'detect' in queue 'objectdetection_queue' (...23fa4e)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...e7d8f7)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...268c9f)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...784ef3)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...16fd66)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...b5569e)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...b6145a)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...a9362b)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...0b04ee)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...c812e2)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...c8ead1)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...6cd8ad)
20:28:19:Client request 'detect' in queue 'objectdetection_queue' (...4bab4f)
20:28:25:detect_adapter.py: GPU compute capability is 5.2
20:28:25:detect_adapter.py: Not using half-precision for the device 'Quadro M4000'
20:28:25:detect_adapter.py: Inference processing will occur on device 'Quadro M4000'
20:28:25:Response received (...733485): Found sink, refrigerator
20:28:25:Client request 'custom' in queue 'objectdetection_queue' (...636298)
20:28:26:Module ObjectDetectionYolo has shutdown
20:28:26:detect_adapter.py: has exited
20:28:50:ObjectDetectionYolo went quietly
20:28:50:Command: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
20:28:50:
20:28:50:Module 'Object Detection (YOLOv5 6.2)' 1.7.1 (ID: ObjectDetectionYolo)
20:28:50:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...tectionYolo\detect_adapter.py"
20:28:50:
20:28:50:Attempting to start ObjectDetectionYolo with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\detect_adapter.py"
20:28:50:Module Path: C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo
20:28:50:AutoStart: True
20:28:50:Queue: objectdetection_queue
20:28:50:Platforms: all
20:28:50:GPU Libraries: installed if available
20:28:50:GPU Enabled: enabled
20:28:50:Parallelism: 0
20:28:50:Accelerator:
20:28:50:Half Precis.: enable
20:28:50:Runtime: python3.7
20:28:50:Runtime Loc: Shared
20:28:50:FilePath: detect_adapter.py
20:28:50:Pre installed: False
20:28:50:Start pause: 1 sec
20:28:50:LogVerbosity:
20:28:50:Valid: True
20:28:50:Environment Variables
20:28:50:APPDIR = %CURRENT_MODULE_PATH%
20:28:50:CUSTOM_MODELS_DIR = %CURRENT_MODULE_PATH%/custom-models
20:28:50:MODELS_DIR = %CURRENT_MODULE_PATH%/assets
20:28:50:MODEL_SIZE = Large
20:28:50:USE_CUDA = False
20:28:50:YOLOv5_AUTOINSTALL = false
20:28:50:YOLOv5_VERBOSE = false
20:28:50:CPAI_MODULE_ENABLE_GPU = False
20:28:50:
20:28:50:Started Object Detection (YOLOv5 6.2) module
20:28:55:detect_adapter.py: CPAI_MODULE_REQUIRED_MB not found. Setting to default 0
20:28:55:detect_adapter.py: APPDIR: C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo
20:28:55:detect_adapter.py: MODEL_SIZE: large
20:28:55:detect_adapter.py: MODELS_DIR: C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\assets
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...b2fbcd)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...61cf32)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...23fa4e)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...e7d8f7)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...268c9f)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...784ef3)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...16fd66)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...b5569e)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...b6145a)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...a9362b)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...0b04ee)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...c812e2)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...c8ead1)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...6cd8ad)
20:28:55:Request 'detect' dequeued from 'objectdetection_queue' (...4bab4f)
20:28:55:Running init for Object Detection (YOLOv5 6.2)
20:28:55:Request 'custom' dequeued from 'objectdetection_queue' (...636298)
20:28:55:Object Detection (YOLOv5 6.2): Object Detection (YOLOv5 6.2) started.
20:30:16:Client request 'detect' in queue 'objectdetection_queue' (...3fabbc)
20:30:16:Request 'detect' dequeued from 'objectdetection_queue' (...3fabbc)
20:30:16:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:17:Client request 'detect' in queue 'objectdetection_queue' (...8b3e4e)
20:30:17:Request 'detect' dequeued from 'objectdetection_queue' (...8b3e4e)
20:30:17:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:17:Client request 'detect' in queue 'objectdetection_queue' (...131052)
20:30:17:Request 'detect' dequeued from 'objectdetection_queue' (...131052)
20:30:17:Client request 'detect' in queue 'objectdetection_queue' (...753f07)
20:30:17:Request 'detect' dequeued from 'objectdetection_queue' (...753f07)
20:30:17:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:17:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:17:Client request 'detect' in queue 'objectdetection_queue' (...4c4b83)
20:30:17:Request 'detect' dequeued from 'objectdetection_queue' (...4c4b83)
20:30:17:Client request 'detect' in queue 'objectdetection_queue' (...fa0ca0)
20:30:17:Request 'detect' dequeued from 'objectdetection_queue' (...fa0ca0)
20:30:17:Client request 'detect' in queue 'objectdetection_queue' (...992955)
20:30:17:Request 'detect' dequeued from 'objectdetection_queue' (...992955)
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...1a272c)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...d2ceff)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...1a272c)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...d2ceff)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...a2da95)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...a2da95)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...3d690b)
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...3d690b)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...e3f6f9)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...e3f6f9)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...6e81e2)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...3b1c6d)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...6e81e2)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...5ee06e)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...3b1c6d)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...5ee06e)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...cb687e)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...cb687e)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...5c0a1d)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...5c0a1d)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...d1ab21)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...d1ab21)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...571a53)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...92e1b6)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...72deac)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...571a53)
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...29e5c5)
20:30:18:Request 'detect' dequeued from 'objectdetection_queue' (...92e1b6)
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...dae240)
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...df8c7f)
20:30:18:Client request 'detect' in queue 'objectdetection_queue' (...91da95)
20:30:19:Client request 'detect' in queue 'objectdetection_queue' (...03a503)
20:30:20:Object Detection (YOLOv5 6.2): Model Path is C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\assets\yolov5l.pt
20:30:24:Response received (...992955): No objects found
20:30:24:Request 'detect' dequeued from 'objectdetection_queue' (...72deac)
20:30:24:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...992955) took 6820ms
20:30:24:Client request 'custom' in queue 'objectdetection_queue' (...336130)
20:30:24:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:25:Request 'detect' dequeued from 'objectdetection_queue' (...29e5c5)
20:30:25:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...a2da95) took 6433ms
20:30:25:Response received (...a2da95): Found car
20:30:25:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:25:Client request 'custom' in queue 'objectdetection_queue' (...ab39f8)
20:30:25:Response received (...1a272c): Found mouse, book, book...
20:30:25:Request 'detect' dequeued from 'objectdetection_queue' (...dae240)
20:30:25:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...1a272c) took 7004ms
20:30:25:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:25:Client request 'custom' in queue 'objectdetection_queue' (...d8ef5a)
20:30:25:Response received (...3fabbc): No objects found
20:30:25:Request 'detect' dequeued from 'objectdetection_queue' (...df8c7f)
20:30:25:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...3fabbc) took 8560ms
20:30:25:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:25:Client request 'custom' in queue 'objectdetection_queue' (...ab9c28)
20:30:25:Request 'detect' dequeued from 'objectdetection_queue' (...91da95)
20:30:25:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...8b3e4e) took 8546ms
20:30:25:Response received (...8b3e4e): Found train
20:30:25:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:25:Client request 'custom' in queue 'objectdetection_queue' (...140e08)
20:30:26:Response received (...753f07): Found refrigerator, sink
20:30:26:Request 'detect' dequeued from 'objectdetection_queue' (...03a503)
20:30:26:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...753f07) took 8415ms
20:30:26:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:26:Client request 'custom' in queue 'objectdetection_queue' (...75deb3)
20:30:26:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...131052) took 8638ms
20:30:26:Response received (...131052): Found refrigerator, sink
20:30:26:Request 'custom' dequeued from 'objectdetection_queue' (...336130)
20:30:26:Client request 'custom' in queue 'objectdetection_queue' (...782842)
20:30:26:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:26:Response received (...d2ceff): Found laptop, tv, tv...
20:30:26:Request 'custom' dequeued from 'objectdetection_queue' (...ab39f8)
20:30:26:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...d2ceff) took 7944ms
20:30:26:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:26:Client request 'custom' in queue 'objectdetection_queue' (...fdec19)
20:30:27:Object Detection (YOLOv5 6.2): [RuntimeError] : Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\detect.py", line 141, in do_detection
det = detector(img, size=640)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\yolov5\models\common.py", line 705, in forward
y = self.model(x, augment=augment) # forward
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\yolov5\models\common.py", line 515, in forward
y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 209, in forward
return self._forward_once(x, profile, visualize) # single-scale inference, train
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 121, in _forward_once
x = m(x) # run
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 74, in forward
xy = (xy * 2 + self.grid[i]) * self.stride[i] # xy
RuntimeError: The size of tensor a (48) must match the size of tensor b (80) at non-singleton dimension 2
20:30:27:Request 'custom' dequeued from 'objectdetection_queue' (...d8ef5a)
20:30:27:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...fa0ca0) took 9270ms
20:30:27:Response received (...fa0ca0)
20:30:27:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:27:Request 'custom' dequeued from 'objectdetection_queue' (...ab9c28)
20:30:27:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...4c4b83) took 9834ms
20:30:27:Response received (...4c4b83): No objects found
20:30:27:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:27:Client request 'custom' in queue 'objectdetection_queue' (...a0303f)
20:30:29:Request 'custom' dequeued from 'objectdetection_queue' (...140e08)
20:30:29:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...cb687e) took 5195ms
20:30:29:Response received (...cb687e): Found suitcase, refrigerator, bed
20:30:30:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:30:Client request 'custom' in queue 'objectdetection_queue' (...57d9fb)
20:30:30:Object Detection (YOLOv5 6.2): [RuntimeError] : Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\detect.py", line 141, in do_detection
det = detector(img, size=640)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\yolov5\models\common.py", line 705, in forward
y = self.model(x, augment=augment) # forward
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\yolov5\models\common.py", line 515, in forward
y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 209, in forward
return self._forward_once(x, profile, visualize) # single-scale inference, train
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 121, in _forward_once
x = m(x) # run
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 75, in forward
wh = (wh * 2) ** 2 * self.anchor_grid[i] # wh
RuntimeError: The size of tensor a (48) must match the size of tensor b (80) at non-singleton dimension 3
20:30:30:Response received (...d1ab21)
20:30:30:Request 'custom' dequeued from 'objectdetection_queue' (...75deb3)
20:30:30:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...d1ab21) took 4905ms
20:30:30:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:30:Response received (...92e1b6): Found bottle, cake, cup...
20:30:30:Request 'custom' dequeued from 'objectdetection_queue' (...782842)
20:30:30:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...92e1b6) took 5397ms
20:30:30:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:30:Client request 'custom' in queue 'objectdetection_queue' (...d6d1e0)
20:30:30:Response received (...3d690b): No objects found
20:30:30:Request 'custom' dequeued from 'objectdetection_queue' (...fdec19)
20:30:30:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...3d690b) took 5508ms
20:30:30:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:30:Client request 'custom' in queue 'objectdetection_queue' (...e88125)
20:30:31:Response received (...6e81e2): Found bottle, tv, vase...
20:30:31:Request 'custom' dequeued from 'objectdetection_queue' (...a0303f)
20:30:31:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...6e81e2) took 5013ms
20:30:31:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:31:Client request 'custom' in queue 'objectdetection_queue' (...89a97d)
20:30:31:Request 'custom' dequeued from 'objectdetection_queue' (...57d9fb)
20:30:31:Response received (...e3f6f9): Found chair, motorcycle
20:30:31:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...e3f6f9) took 5446ms
20:30:31:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:31:Client request 'custom' in queue 'objectdetection_queue' (...cd9e40)
20:30:31:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:31:Response received (...3b1c6d): No objects found
20:30:31:Request 'custom' dequeued from 'objectdetection_queue' (...d6d1e0)
20:30:31:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...3b1c6d) took 5402ms
20:30:31:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:31:Client request 'custom' in queue 'objectdetection_queue' (...8af96e)
20:30:31:Request 'custom' dequeued from 'objectdetection_queue' (...e88125)
20:30:31:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...571a53) took 5286ms
20:30:31:Response received (...571a53): Found book, chair, chair...
20:30:31:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:31:Client request 'custom' in queue 'objectdetection_queue' (...c0d8f5)
20:30:32:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:32:Request 'custom' dequeued from 'objectdetection_queue' (...89a97d)
20:30:32:Response received (...5c0a1d): Found person
20:30:32:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...5c0a1d) took 5263ms
20:30:32:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:32:Client request 'custom' in queue 'objectdetection_queue' (...54dc3c)
20:30:32:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:33:Request 'custom' dequeued from 'objectdetection_queue' (...cd9e40)
20:30:33:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...5ee06e) took 5959ms
20:30:33:Response received (...5ee06e): Found chair, suitcase, clock...
20:30:33:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:35:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:35:Response received (...dae240): Found bird
20:30:35:Request 'custom' dequeued from 'objectdetection_queue' (...8af96e)
20:30:35:Object Detection (YOLOv5 6.2): Model Path is C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\custom-models\actionnetv2.pt
20:30:35:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...dae240) took 5447ms
20:30:35:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:35:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:36:Response received (...03a503): Found sports ball, sports ball, person
20:30:36:Request 'custom' dequeued from 'objectdetection_queue' (...c0d8f5)
20:30:36:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...03a503) took 4664ms
20:30:36:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:36:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:36:Response received (...df8c7f): Found train
20:30:36:Request 'custom' dequeued from 'objectdetection_queue' (...54dc3c)
20:30:36:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...df8c7f) took 5512ms
20:30:36:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:30:36:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:36:Response received (...72deac): No objects found
20:30:36:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...72deac) took 6826ms
20:30:36:Response received (...91da95): No objects found
20:30:36:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...91da95) took 5605ms
20:30:36:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:37:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:37:Response received (...29e5c5): Found keyboard, tv, bottle...
20:30:37:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'detect' (...29e5c5) took 6813ms
20:30:42:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:42:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...ab39f8) took 10610ms
20:30:42:Response received (...ab39f8): No objects found
20:30:42:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...ab9c28) took 8867ms
20:30:42:Response received (...ab9c28): No objects found
20:30:43:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:43:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:43:Response received (...d8ef5a): No objects found
20:30:43:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...d8ef5a) took 10346ms
20:30:43:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:43:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...336130) took 12568ms
20:30:43:Response received (...336130): No objects found
20:30:45:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:45:Response received (...d6d1e0): Found sleeping
20:30:45:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...d6d1e0) took 9761ms
20:30:46:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:46:Response received (...75deb3): No objects found
20:30:46:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...75deb3) took 10664ms
20:30:46:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:47:Response received (...140e08): No objects found
20:30:47:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...140e08) took 10718ms
20:30:47:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...57d9fb) took 10711ms
20:30:47:Response received (...57d9fb): No objects found
20:30:47:Response received (...fdec19): No objects found
20:30:47:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...fdec19) took 11327ms
20:30:47:Object Detection (YOLOv5 6.2): Detecting using actionnetv2
20:30:48:Response received (...782842): No objects found
20:30:48:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...782842) took 11236ms
20:30:49:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...e88125) took 7541ms
20:30:49:Response received (...e88125): No objects found
20:30:50:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...89a97d) took 7206ms
20:30:50:Response received (...89a97d): No objects found
20:30:51:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...a0303f) took 7305ms
20:30:51:Response received (...a0303f): No objects found
20:30:51:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...cd9e40) took 8995ms
20:30:51:Response received (...cd9e40): Found cycling
20:30:51:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...8af96e) took 5378ms
20:30:51:Response received (...8af96e): No objects found
20:30:51:Response received (...c0d8f5): No objects found
20:30:51:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...c0d8f5) took 5907ms
20:30:52:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'custom' (...54dc3c) took 4416ms
20:30:52:Response received (...54dc3c): No objects found
20:31:57:Client request 'list-custom' in queue 'objectdetection_queue' (...85092e)
20:31:57:Request 'list-custom' dequeued from 'objectdetection_queue' (...85092e)
20:31:57:Response received (...85092e)
20:31:57:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:31:57:Object Detection (YOLOv5 6.2): Rec'd request for Object Detection (YOLOv5 6.2) command 'list-custom' (...85092e) took 4ms
20:31:58:Sending shutdown request to python/ObjectDetectionYolo
20:31:58:Client request 'Quit' in queue 'objectdetection_queue' (...1787aa)
20:31:58:Request 'Quit' dequeued from 'objectdetection_queue' (...1787aa)
20:31:58:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command
20:32:07:detect_adapter.py: Inference processing will occur on device 'CPU'
20:32:07:detect_adapter.py: Inference processing will occur on device 'CPU'
20:32:08:Module ObjectDetectionYolo has shutdown
20:32:08:detect_adapter.py: has exited
20:32:16:Client request 'detect' in queue 'objectdetection_queue' (...4601e2)
20:32:16:Client request 'detect' in queue 'objectdetection_queue' (...e2a59c)
20:32:16:Client request 'detect' in queue 'objectdetection_queue' (...05ca01)
20:32:16:Client request 'detect' in queue 'objectdetection_queue' (...ed7dbc)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...1e3d75)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...bd2597)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...4c6c47)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...56bb7f)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...29b383)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...7d0bd2)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...f75ad0)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...25010b)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...e15bb8)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...7dd491)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...2ad532)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...30d757)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...c458f7)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...ffa89b)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...3f0013)
20:32:17:Client request 'detect' in queue 'objectdetection_queue' (...ce5170)
20:32:18:Client request 'detect' in queue 'objectdetection_queue' (...026112)
20:32:18:Client request 'detect' in queue 'objectdetection_queue' (...03de65)
20:32:18:Client request 'detect' in queue 'objectdetection_queue' (...d79f9a)
20:32:18:Client request 'detect' in queue 'objectdetection_queue' (...410c6e)
20:32:18:Client request 'detect' in queue 'objectdetection_queue' (...542da1)
20:32:18:Client request 'detect' in queue 'objectdetection_queue' (...48a4b0)
20:32:31:ObjectDetectionYolo went quietly
20:32:31:Command: C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python
20:32:31:
20:32:31:Starting C:\Program Files...ws\python37\venv\Scripts\python "C:\Program Files...tectionYolo\detect_adapter.py"
20:32:31:
20:32:31:Attempting to start ObjectDetectionYolo with C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\detect_adapter.py"
20:32:31:Module 'Object Detection (YOLOv5 6.2)' 1.7.1 (ID: ObjectDetectionYolo)
20:32:31:Module Path: C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo
20:32:31:AutoStart: True
20:32:31:Queue: objectdetection_queue
20:32:31:Platforms: all
20:32:31:GPU Libraries: installed if available
20:32:31:GPU Enabled: enabled
20:32:31:Parallelism: 0
20:32:31:Accelerator:
20:32:31:Half Precis.: enable
20:32:31:Runtime: python3.7
20:32:31:Runtime Loc: Shared
20:32:31:FilePath: detect_adapter.py
20:32:31:Pre installed: False
20:32:31:Start pause: 1 sec
20:32:31:LogVerbosity:
20:32:31:Valid: True
20:32:31:Environment Variables
20:32:31:APPDIR = %CURRENT_MODULE_PATH%
20:32:31:CUSTOM_MODELS_DIR = %CURRENT_MODULE_PATH%/custom-models
20:32:31:MODELS_DIR = %CURRENT_MODULE_PATH%/assets
20:32:31:MODEL_SIZE = Large
20:32:31:USE_CUDA = False
20:32:31:YOLOv5_AUTOINSTALL = false
20:32:31:YOLOv5_VERBOSE = false
20:32:31:CPAI_MODULE_ENABLE_GPU = False
Not sure if these logs help or if there is a better way to put them here, let me know and I'll do it. One weird thing is that I have all my cameras turned off so that the are not triggering and sending stuff to CPAI for processing as I only wanted to step through this set up and trouble shoot what was going on. Again thank you for any further direction to get this working.
|
|
|
|
|
Tried one more time of uninstalling all modules and just loading the Object Detection (YOLOv5 6.2) and this time the GPU was listed as being used the entire time, however there were some spikes in the CPU but now only to 50%. They seem to happen when there is a runtime error. Hope this give anyone some insight to the issues that might help me fix this. Thank you.
|
|
|
|
|
Two things you can try first in Blue Iris main AI settings disable Auto start/stop with Blue Iris. The second is try using a small or medium model.
|
|
|
|
|
I changes this to not start or stop with BI and restarted the machine. When it came up, BI was running. I started CPAI and the Object Detection (YOLOv5 6.2) was stopped. Starting it made it start with just the CPU and not the GPU. The cycles of high CPU use started to happen and since the GPU was not used would peg at 100%. I had also changed the model to small, but had to do it on the CPAI desktop. Should I be using Object Detection (YOLOv5 3.1)? Is my GPU "older"
|
|
|
|
|
Try the Object Detection (YOLOv5 .NET) module. This module will also use your GPU
|
|
|
|
|
Thanks. It is working but CPU usage at ~ 70% with peaks but some drops down to 30%. Is this what I should expect? GPU is getting use as well. when I tried to change to small model, it lost contact with the server? and won't restart...I'll uninstall and reinstall...
|
|
|
|
|
Hi Mike. Thanks for all the help. After tinkering with this for a while, I am able to get it to work...Kind of. I am wondering if my performance issues could be better if I had a better GPU. I deleted the custom model for license plates as I am not using this. I cleaned up my system path as for some reason there were multiple entries for the CUDNN targets. I set all my cameras to use my graphic card for hardware acceleration to NVIDA NVDEC and am using the YOLOv5 6.2 Module. It is detecting the GPU.
I did a lot of file deleting and reinstalling over and over. I have set up BI to autostart and stop CPAI and have the model set to medium
The CPAI is taking about 300ms
At the risk of making things more complicated, could you recommend a current graphic card that would play well with CPAI? Thanks for the help Links to discussions would be helpful if you have them.
Here you can see the GPU is working
modified 5-Nov-23 11:08am.
|
|
|
|
|
If you do not mind spending some money the RTX 3060 12GB is a great GPU. On Amazon you can find them just under $300.00 and on eBay used are for just over $200.00
|
|
|
|
|
With that Graphic Card, why have you set BI to use CPU and not the GPU? That setting with 24 IP Cams it's self would be smashing the CPU.
Suggested to also check in NVIDIA Control Settings that BI and CPAI are using the GPU and set everything else to use the Intel.
Cheers,
Ivan Jukic
|
|
|
|
|
Thanks everyone. I have build a new machine with the recommend card and have things working as expected. CPU is now low and GUP is being used. Thanks for the help. The key for me with to install the cuda_11.8.0_522.06 drivers and CPAI 2.3.4. Also I have removed all the modules except the YOLOv5.6.2.
|
|
|
|
|
Hi Chris,
I see there are some updates for the linux installation scripts but the link to the .deb package is still the 2.2.3 package.
Cheers
|
|
|
|
|
Yeah I've not got around to the deb package due to time. The .4 update was specifically for Windows and solves the issues with ALPR/OCR utilising the GPU. I will try and get some time today to update those packages
cheers
Chris Maunder
|
|
|
|
|
I've gotten these RuntimeErrors on restart since I first installed CodeProjectAI, and I'm having object detection issues. I upgraded the CUDA environment to the latest version thinking it might help but to know avail. What are they and how can I remedy this issue. Thanks in advance for your help.
2023-11-01 01:13:36: Object Detection (YOLOv5 6.2): [RuntimeError] : Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\detect.py", line 141, in do_detection
det = detector(img, size=640)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\yolov5\models\common.py", line 705, in forward
y = self.model(x, augment=augment) # forward
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\yolov5\models\common.py", line 515, in forward
y = self.model(im, augment=augment, visualize=visualize) if augment or visualize else self.model(im)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 209, in forward
return self._forward_once(x, profile, visualize) # single-scale inference, train
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 121, in _forward_once
x = m(x) # run
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\lib\site-packages\torch\nn\modules\module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "C:\Program Files\CodeProject\AI\runtimes\bin\windows\python37\venv\Lib\site-packages\yolov5\models\yolo.py", line 75, in forward
wh = (wh * 2) ** 2 * self.anchor_grid[i] # wh
RuntimeError: The size of tensor a (30) must match the size of tensor b (24) at non-singleton dimension 2
in Object Detection (YOLOv5 6.2)
|
|
|
|
|
Thanks very much for your report. Could you please share your System Info tab from the CodeProject.AI Server dashboard, and your installation logs? Also, is this happening in the Explorer or are you using something else like Blue Iris?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Thank you for your reply. Here is my system info. Where would I find the installation logs and how would I attach them to this thread? I haven't seen an attach file capability?? I'm trying to use CPAI with Blue Iris and having poor results. I'm trying to fix these file errors as a first step in my troubleshooting.
Server version: 2.3.2-Beta
System: Windows
Operating System: Windows (Microsoft Windows 10.0.19045)
CPUs: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (Intel)
1 CPU x 4 cores. 8 logical processors (x64)
GPU: NVIDIA GeForce GT 1030 (2 GiB) (NVIDIA)
Driver: 545.84 CUDA: 12.3.52 (max supported: 12.3) Compute: 6.1
System RAM: 16 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.10
Video adapter info:
Intel(R) HD Graphics 630:
Driver Version 27.20.100.9664
Video Processor Intel(R) HD Graphics Family
NVIDIA GeForce GT 1030:
Driver Version 31.0.15.4584
Video Processor NVIDIA GeForce GT 1030
System GPU info:
GPU 3D Usage 21%
GPU RAM Usage 1.6 GiB
Global Environment variables:
CPAI_APPROOTPATH =
CPAI_PORT = 32168
|
|
|
|
|
Thanks very much for that. You should be able to find the main logs in C:/Program Files/CodeProject/AI/logs. You won't need to paste the whole thing, but if you open up the TXT file you can copy and paste into here.
If you want to see logs while you're testing so you can show us what's wrong, if you look at the CodeProject.AI Server dashboard you can see those logs under the tab Server logs.
If you want to see the logs for the install of specific modules, like Object Detection YOLOv5 6.2, you can go into C:/Program Files/CodeProject/AI/modules/ObjectDetectionYolo and it will be in the install.log text file. If you can paste that one here, that would be most helpful.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Yes, I'm familiar with the logs available through the dashboard and the daily log files, but I wasn't aware of the install.log file associated with the YOLO module. It's pasted below:
2023-10-31 14:37:25: Installing CodeProject.AI Analysis Module
2023-10-31 14:37:25: ========================================================================
2023-10-31 14:37:25: CodeProject.AI Installer
2023-10-31 14:37:25: ========================================================================
2023-10-31 14:37:25: General CodeProject.AI setup
2023-10-31 14:37:25: Creating Directories...Done
2023-10-31 14:37:25: GPU support
2023-10-31 14:37:25: CUDA Present...Yes (version 12.3)
2023-10-31 14:37:25: ROCm Present...False
2023-10-31 14:37:25: Installing module ObjectDetectionYolo 1.7.1
2023-10-31 14:37:25: Installing Python 3.7
2023-10-31 14:37:25: Python 3.7 is already installed
2023-10-31 14:37:25: Creating Virtual Environment (Shared)...Virtual Environment already present
2023-10-31 14:37:25: Confirming we have Python 3.7 in our virtual environment...present
2023-10-31 14:37:49: Downloading Standard YOLO models...Expanding...Done.
2023-10-31 14:37:49: Copying contents of models-yolo5-pt.zip to assets...done
2023-10-31 14:37:49: Cleaning up...done
2023-10-31 14:38:17: Downloading Custom YOLO models...Expanding...Done.
2023-10-31 14:38:17: Copying contents of custom-models-yolo5-pt.zip to custom-models...done
2023-10-31 14:38:18: Cleaning up...done
2023-10-31 14:38:18: Installing Python packages for ObjectDetectionYolo
2023-10-31 14:38:18: [0;Installing GPU-enabled libraries: If available
2023-10-31 14:38:19: Ensuring Python package manager (pip) is installed...Done
2023-10-31 14:38:22: Ensuring Python package manager (pip) is up to date...Done
2023-10-31 14:38:22: Python packages specified by requirements.windows.cuda.txt
2023-10-31 14:38:24: - Installing Pandas, a data analysis / data manipulation tool...Already installed
2023-10-31 14:38:25: - Installing CoreMLTools, for working with .mlmodel format models...Already installed
2023-10-31 14:38:26: - Installing OpenCV, the Open source Computer Vision library...Already installed
2023-10-31 14:38:27: - Installing Pillow, a Python Image Library...Already installed
2023-10-31 14:38:28: - Installing SciPy, a library for mathematics, science, and engineering...Already installed
2023-10-31 14:38:29: - Installing PyYAML, a library for reading configuration files...Already installed
2023-10-31 14:38:30: - Installing PyTorch, an open source machine learning framework...Already installed
2023-10-31 14:38:31: - Installing TorchVision, for working with computer vision models...Already installed
2023-10-31 14:41:29: - Installing Ultralytics YoloV5 package for object detection in images...(âœ”ï¸ checked) Done
2023-10-31 14:41:30: - Installing Seaborn, a data visualization library based on matplotlib...Already installed
2023-10-31 14:41:30: Installing Python packages for the CodeProject.AI Server SDK
2023-10-31 14:41:32: Ensuring Python package manager (pip) is installed...Done
2023-10-31 14:41:35: Ensuring Python package manager (pip) is up to date...Done
2023-10-31 14:41:35: Python packages specified by requirements.txt
2023-10-31 14:41:36: - Installing Pillow, a Python Image Library...Already installed
2023-10-31 14:41:38: - Installing Charset normalizer...Already installed
2023-10-31 14:41:39: - Installing aiohttp, the Async IO HTTP library...Already installed
2023-10-31 14:41:40: - Installing aiofiles, the Async IO Files library...Already installed
2023-10-31 14:41:42: - Installing py-cpuinfo to allow us to query CPU info...Already installed
2023-10-31 14:41:43: - Installing Requests, the HTTP library...Already installed
2023-10-31 14:41:43: Setup complete
Installer exited with code 0
|
|
|
|
|
Thanks so much for that. Just making sure there wasn't an install error.
Unfortunately, the issue could be the 2GB RAM for your card. AI is a memory intensive operation. Some cards with 2GB RAM or less may struggle in some situations. Using the dashboard, you can either disable modules you don't need, or disable GPU support entirely for one or more modules. This will free up memory and help get you back on track.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I want performance I can rely on from Blue Iris and CodeProject.AI. Can you recommend a GPU, or a few maybe, that perform well and yield fast identification and object detection results? Thanks for your help.
|
|
|
|
|
A Nvidia RTX 3060 12GB is a good GPU for AI. I used this GPU with my Blue Iris System
|
|
|
|
|