|
|
Went back to YOLO 5 NET.. uninstalled v5.31 and I am still not getting any motion alerts.
12:58:53:Started Object Detection (YOLOv5 .NET) module
12:58:53:ObjectDetectionNet.exe: Error:
12:58:53:ObjectDetectionNet.exe: An assembly specified in the application dependencies manifest (ObjectDetectionNet.deps.json) has already been found but with a different file extension:
12:58:53:ObjectDetectionNet.exe: package: 'ObjectDetectionNet', version: '1.4'
12:58:53:Module ObjectDetectionNet has shutdown
12:58:53:ObjectDetectionNet.exe: has exited
12:58:53:ObjectDetectionNet.exe: path: 'ObjectDetectionNet.dll'
12:58:53:ObjectDetectionNet.exe: previously found assembly: 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet\ObjectDetectionNet.exe'
13:13:10:ObjectDetectionNet.exe: An assembly specified in the application dependencies manifest (ObjectDetectionNet.deps.json) has already been found but with a different file extension:
13:13:10:ObjectDetectionNet.exe: package: 'ObjectDetectionNet', version: '1.4'
13:13:10:ObjectDetectionNet.exe: path: 'ObjectDetectionNet.dll'
13:13:10:ObjectDetectionNet.exe: previously found assembly: 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet\ObjectDetectionNet.exe'
13:13:12:Server: This is the latest version
modified yesterday.
|
|
|
|
|
I have uninstalled CodeProject and deleted all folders I could find. Downloaded it again and installed fresh. Still getting this error and no motion alerts.. the alerts keep getting deleted.
13:58:30:ObjectDetectionNet.exe: Error:
13:58:30:ObjectDetectionNet.exe: An assembly specified in the application dependencies manifest (ObjectDetectionNet.deps.json) has already been found but with a different file extension:
13:58:30:ObjectDetectionNet.exe: package: 'ObjectDetectionNet', version: '1.4'
13:58:30:ObjectDetectionNet.exe: path: 'ObjectDetectionNet.dll'
13:58:30:ObjectDetectionNet.exe: previously found assembly: 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet\ObjectDetectionNet.exe'
Please help.
|
|
|
|
|
Every time I start the module, it stops and says "Lost Contact".
|
|
|
|
|
Please help me. I cannot get this thing to work.
Version 2.2.4 was working fine and I decided to update and it broke everything.
I have even done a full Windows 11 reset removing everything and starting from scratch.. Brand new Windows installation and Blue Iris and Code Project. As soon as I press on "start" on the Yolo module, I get an error
"Previously found assembly" and it wont' work at all.
I have been at this for many hours and can't get it to work. No one is responding to my messages.
Can you please help me?
|
|
|
|
|
Your GPU is 10 years old and will only work with Object Detection (YOLOv5 .NET) module or Object Detection (YOLOv5 3.1) module if you install CUDU 10.2. The benefit of using CUDA is it is faster and does not load up your CPU.
|
|
|
|
|
But I read this GPU supports CUDA... is this not the case?
|
|
|
|
|
I have installed the YOLO5 3.1 module. As far as I can tell the install succeeded. I have an nVidia 10.x CUDA card which should work with this module. The status bar shows that it started. However, it appears not to function.
I've been using this app for about a year with minimal problems. I just updated, and suddenly things don't work, at least for me.
The log shows the following:
21:17:23:yolo_adapter.py: Traceback (most recent call last):
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\yolo_adapter.py", line 22, in
21:17:23:yolo_adapter.py: from process import YOLODetector, init_detect
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\process.py", line 14, in
21:17:23:yolo_adapter.py: from models.experimental import attempt_load
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\models\experimental.py", line 6, in
21:17:23:yolo_adapter.py: from models.common import Conv, DWConv
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\models\common.py", line 6, in
21:17:23:yolo_adapter.py: from utils.general import non_max_suppression
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\utils\general.py", line 21, in
21:17:23:yolo_adapter.py: from scipy.cluster.vq import kmeans
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\scipy\cluster\__init__.py", line 25, in
21:17:23:yolo_adapter.py: from . import vq, hierarchy
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\scipy\cluster\vq.py", line 72, in
21:17:23:yolo_adapter.py: from scipy.spatial.distance import cdist
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\scipy\spatial\__init__.py", line 102, in
21:17:23:yolo_adapter.py: from ._geometric_slerp import geometric_slerp
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\scipy\spatial\_geometric_slerp.py", line 8, in
21:17:23:yolo_adapter.py: from scipy.spatial.distance import euclidean
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\scipy\spatial\distance.py", line 1649, in
21:17:23:yolo_adapter.py: @dataclasses.dataclass(frozen=True)
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\dataclasses.py", line 950, in wrap
21:17:23:yolo_adapter.py: return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen)
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\dataclasses.py", line 801, in _process_class
21:17:23:yolo_adapter.py: for name, type in cls_annotations.items()]
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\dataclasses.py", line 801, in
21:17:23:yolo_adapter.py: for name, type in cls_annotations.items()]
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\dataclasses.py", line 659, in _get_field
21:17:23:yolo_adapter.py: if (_is_classvar(a_type, typing)
21:17:23:yolo_adapter.py: File "C:\Program Files\CodeProject\AI\modules\YOLOv5-3.1\bin\windows\python37\venv\lib\site-packages\dataclasses.py", line 550, in _is_classvar
21:17:23:yolo_adapter.py: return type(a_type) is typing._ClassVar
21:17:23:yolo_adapter.py: AttributeError: module 'typing' has no attribute '_ClassVar'
21:17:23:Module YOLOv5-3.1 has shutdown
21:17:23:yolo_adapter.py: has exited
EDIT -------------------
After uninstalling CodeProject AND deleting all of the folders I was able to get things going again. I guess installing on top of an older version is a bad idea.
modified yesterday.
|
|
|
|
|
Please paste the contents of the System info tab so we have a starting point to work this through.
cheers
Chris Maunder
|
|
|
|
|
The problem appears to be that I installed 2.3.4 over a previous version. Once I completely cleaned things up (deleted the program files directory) and reinstalled, things started working (although in CPU mode only). I made a more recent post regarding the GPU/CPU problem with more detailed information.
|
|
|
|
|
I am using 2.3.4 with an nvidia cuda (10.x) card. I have face detection turned installed. The log is showing that the aiohttp module is not found. However, the status bar is saying that face detection is on. It is unclear whether this is a problem.
|
|
|
|
|
I am having trouble starting yolov5 .net. I Am currently running yolov5 6.2, but I do not have an Nvidia graphics card, but an intel 630. I have tried uninstalling, deleting the Codepage folders in program files, program data, restarting and reinstalling. System is windows 10, running blue iris, codepage AI is installed locally. Any help would be appreciated. Below is the error as well as System info.
21:00:29:
21:00:29:Started Object Detection (YOLOv5 .NET) module
21:00:30:ObjectDetectionNet.exe: Error:
21:00:30:ObjectDetectionNet.exe: An assembly specified in the application dependencies manifest (ObjectDetectionNet.deps.json) has already been found but with a different file extension:
21:00:30:ObjectDetectionNet.exe: package: 'ObjectDetectionNet', version: '1.4'
21:00:30:Module ObjectDetectionNet has shutdown
21:00:30:ObjectDetectionNet.exe: has exited
21:00:30:ObjectDetectionNet.exe: path: 'ObjectDetectionNet.dll'
21:00:30:ObjectDetectionNet.exe: previously found assembly: 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet\ObjectDetectionNet.exe'
Server version: 2.3.4-Beta
System: Windows
Operating System: Windows (Microsoft Windows 10.0.19045)
CPUs: Intel(R) Core(TM) i3-10100 CPU @ 3.60GHz (Intel)
1 CPU x 4 cores. 8 logical processors (x64)
GPU: Intel(R) UHD Graphics 630 (1,024 MiB) (Intel Corporation)
Driver: 31.0.101.2125
System RAM: 16 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.14
Video adapter info:
Intel(R) UHD Graphics 630:
Driver Version 31.0.101.2125
Video Processor Intel(R) UHD Graphics Family
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
|
|
|
|
|
In the dashboard, on the right hand side of the line for Object Detection Net, there's an info button. Can you please click that then paste in the info here?
cheers
Chris Maunder
|
|
|
|
|
I'm having the exact same issue. Here is the info from my machine:
System Info:
Server version: 2.3.4-Beta
System: Windows
Operating System: Windows (Microsoft Windows 10.0.20348)
CPUs: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (Intel)
1 CPU x 4 cores. 8 logical processors (x64)
GPU: Microsoft Remote Display Adapter (Microsoft)
Driver: 10.0.20348.1070
System RAM: 16 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.10
Video adapter info:
Microsoft Remote Display Adapter:
Driver Version 10.0.20348.1070
Video Processor
Intel(R) HD Graphics 530:
Driver Version 22.20.16.4749
Video Processor Intel(R) HD Graphics Family
System GPU info:
GPU 3D Usage 2%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
Object Detection Info:
Module 'Object Detection (YOLOv5 .NET)' 1.7.1 (ID: ObjectDetectionNet)
Module Path: <root>\modules\ObjectDetectionNet
AutoStart: False
Queue: objectdetection_queue
Platforms: all,!macos-arm64
GPU Libraries: installed if available
GPU Enabled: enabled
Parallelism: 0
Accelerator:
Half Precis.: enable
Runtime: dotnet
Runtime Loc: Shared
FilePath: ObjectDetectionNet.exe
Pre installed: False
Start pause: 1 sec
LogVerbosity:
Valid: True
Environment Variables
CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionNet\custom-models
MODELS_DIR = <root>\modules\ObjectDetectionNet\assets
MODEL_SIZE = MEDIUM
Started: 05 Dec 2023 9:52:57 AM Pacific Standard Time
LastSeen: Not seen
Status: Started
Processed: 0
Provider:
CanUseGPU: False
HardwareType: CPU
Error when starting YOLOv5 .NET:
09:52:57:Started Object Detection (YOLOv5 .NET) module
09:52:57:ObjectDetectionNet.exe: Error:
09:52:57:Module ObjectDetectionNet has shutdown
09:52:57:ObjectDetectionNet.exe: An assembly specified in the application dependencies manifest (ObjectDetectionNet.deps.json) has already been found but with a different file extension:
09:52:57:ObjectDetectionNet.exe: package: 'ObjectDetectionNet', version: '1.4'
09:52:57:ObjectDetectionNet.exe: path: 'ObjectDetectionNet.dll'
09:52:57:ObjectDetectionNet.exe: previously found assembly: 'C:\Program Files\CodeProject\AI\modules\ObjectDetectionNet\ObjectDetectionNet.exe'
09:52:57:ObjectDetectionNet.exe: has exited
|
|
|
|
|
Module 'Object Detection (YOLOv5 .NET)' 1.7.1 (ID: ObjectDetectionNet)
Module Path: <root>\modules\ObjectDetectionNet
AutoStart: False
Queue: objectdetection_queue
Platforms: all,!macos-arm64
GPU Libraries: installed if available
GPU Enabled: enabled
Parallelism: 0
Accelerator:
Half Precis.: enable
Runtime: dotnet
Runtime Loc: Shared
FilePath: ObjectDetectionNet.exe
Pre installed: False
Start pause: 1 sec
LogVerbosity:
Valid: True
Environment Variables
CUSTOM_MODELS_DIR = <root>\modules\ObjectDetectionNet\custom-models
MODELS_DIR = <root>\modules\ObjectDetectionNet\assets
MODEL_SIZE = MEDIUM
Started: 04 Dec 2023 9:10:29 PM Eastern Standard Time
LastSeen: Not seen
Status: Stopped
Processed: 0
Provider:
CanUseGPU: False
HardwareType: CPU
Installation Log
2023-12-04 14:55:59: Installing CodeProject.AI Analysis Module
2023-12-04 14:55:59: ========================================================================
2023-12-04 14:55:59: CodeProject.AI Installer
2023-12-04 14:55:59: ========================================================================
2023-12-04 14:55:59: General CodeProject.AI setup
2023-12-04 14:56:00: Creating Directories...Done
2023-12-04 14:56:00: GPU support
2023-12-04 14:56:00: CUDA Present...No
2023-12-04 14:56:01: ROCm Present...False
2023-12-04 14:56:02: Installing module ObjectDetectionNet 1.7.1
2023-12-04 14:56:09: Downloading ObjectDetectionNet-DirectML-1.7.1.zip...Expanding...Done.
2023-12-04 14:56:10: Copying contents of ObjectDetectionNet-DirectML-1.7.1.zip to ...done
2023-12-04 14:56:10: Cleaning up...done
2023-12-04 14:56:21: Downloading YOLO ONNX models...Expanding...Done.
2023-12-04 14:56:22: Copying contents of yolonet-models.zip to assets...done
2023-12-04 14:56:22: Cleaning up...done
2023-12-04 14:56:29: Downloading Custom YOLO ONNX models...Expanding...Done.
2023-12-04 14:56:29: Copying contents of yolonet-custom-models.zip to custom-models...done
2023-12-04 14:56:30: Cleaning up...done
2023-12-04 14:56:30: Setup complete
Installer exited with code 0
|
|
|
|
|
Is there a way to automate download and install of AI Server plus OCR module in Windows via batch script? And optionally to disable or remove preinstalled modules?
|
|
|
|
|
Not easily.
The modules to be installed on first startup are specified in the appsettings.json file. This file is loaded as soon as the service starts, and the service starts as soon as the installer has completed. We'd need to provide scripting support for the installer so you can download and run the installer, tell it not to start, then edit the appsettings and then start the server.
cheers
Chris Maunder
|
|
|
|
|
Hello,
What is the significance of the different colored dots in the server log next to each entry? Have not run across any reference to them in the documentation.
Thanks,
Roger
|
|
|
|
|
They group log entries for processes handling the same request.
cheers
Chris Maunder
|
|
|
|
|
So really of no use to the end user then. Doesn't appear you can filter or sort on the colors.
|
|
|
|
|
I'm getting the following error - weird and not sure if it's even really an error! I'm not seeing any errors in BI. I did try uninstalling and reinstalling the module. I will see in BI - Plate: "success" from time to time.
License Plate Reader: [KeyError] : Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ALPR\ALPR.py", line 86, in detect_platenumber
if not detect_plate_response["success"]:
KeyError: 'success'
|
|
|
|
|
What version License Plate Reader are you running, the current version is 2.7.2
|
|
|
|
|
Don't know why i forgot to include that info. But yeah, it's 2.7.2.
Here's my system info:
Server version: 2.3.4-Beta
System: Windows
Operating System: Windows (Microsoft Windows 11 version 10.0.22621)
CPUs: Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz (Intel)
1 CPU x 6 cores. 6 logical processors (x64)
GPU: Intel(R) UHD Graphics 630 (1,024 MiB) (Intel Corporation)
Driver: 30.0.100.9864
System RAM: 32 GiB
Target: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
.NET framework: .NET 7.0.14
Video adapter info:
Intel(R) UHD Graphics 630:
Driver Version 30.0.100.9864
Video Processor Intel(R) UHD Graphics Family
System GPU info:
GPU 3D Usage 5%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
|
|
|
|
|
Post a screenshot of CodeProject.AI Dashboard like the below screenshot
|
|
|
|
|