|
|
Installing the Coral Module fails with:
Unable to download module 'ObjectDetectionCoral' from https://www.codeproject.com/KB/articles/5348853/ObjectDetectionCoral-2.2.2.zip. Error: No bytes downloaded
Looks like if you change the version to 2.2.0 you can manually download it.
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): Microsoft Remote Display Adapter (Microsoft)
Driver: 10.0.19041.3636
System RAM: 32 GiB
Platform: Windows
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
Runtimes installed:
.NET runtime: 7.0.5
.NET SDK: Not found
Default Python: Not found
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
Microsoft Remote Display Adapter:
Driver Version 10.0.19041.3636
Video Processor
Intel(R) HD Graphics 530:
Driver Version 27.20.100.9664
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
modified 23-Apr-24 12:35pm.
|
|
|
|
|
Came here looking for solutions to this download issue.
I've managed to get the v2.2.0.zip to download, but I'm unsure of the installation methods. Any hints you can point me to?
Cheers, -Ian
|
|
|
|
|
Directions to install/re-install a module are found above in the Readme First post.
I tried to do that after downloading 2.2.0 and the installer said it was unable to install:
Installing CodeProject.AI Analysis Module
======================================================================
CodeProject.AI Installer
======================================================================
74.0Gb of 237Gb available on
General CodeProject.AI setup
Creating Directories...done
GPU support
CUDA Present...No
ROCm Present...No
Reading ObjectDetectionCoral-2.2.0 settings.......done
Installing module ObjectDetectionCoral-2.2.0
This module cannot be installed on this system
Setup complete
Total setup time 00:00:01.92
c:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral-2.2.0>
-Jason
|
|
|
|
|
I also have this issue
|
|
|
|
|
I'm actually having issues downloading v2.2.2 - keep on getting no bytes downloaded.
Even wget has difficulties actually downloading anything?
I would assume that there are issues with the file hosting?
BTW, I have v2.2 installed but can't get v2.2 to even start, with any options
|
|
|
|
|
Seems like just a corrupted 2.2.2 package on the site.
Calling @chris-maunder to re-upload the zip file.
|
|
|
|
|
Matthew has redeployed so it may be worth trying again, with cache disabled.
cheers
Chris Maunder
|
|
|
|
|
Coral 2.2.2 Update now works for me, thanks for fixing...
Although YOLOv8 1.4.3 also fails to download with the same error I had for Coral
|
|
|
|
|
Please try again. Should be good now.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Works now, thanks for fixing
|
|
|
|
|
Running Ubuntu 22.04. Upon reboot, YOLOv5.NET keeps getting reinstalled on reboot. Any way to stop this?
Thanks
-- modified 16-Apr-24 12:10pm.
|
|
|
|
|
We just identified and fixed the error. We'll have a new release soon.
cheers
Chris Maunder
|
|
|
|
|
Could you please send a copy of the System Info tab
"Mistakes are prevented by Experience. Experience is gained by making mistakes."
|
|
|
|
|
And are you running the server in Docker.
If so, how are you starting it?
"Mistakes are prevented by Experience. Experience is gained by making mistakes."
|
|
|
|
|
Server version: 2.6.2
System: Docker (9da8bba89b16)
Operating System: Linux (Ubuntu 22.04)
CPUs: QEMU Virtual CPU version 2.5+
1 CPU x 8 cores. 8 logical processors (x64)
GPU (Primary): NVIDIA GeForce RTX 3060 (12 GiB) (NVIDIA)
Driver: 535.171.04, CUDA: 12.2 (up to: 12.2), Compute: 8.6, cuDNN: 8.9.6
System RAM: 8 GiB
Platform: Linux
BuildConfig: Release
Execution Env: Docker
Runtime Env: Production
Runtimes installed:
.NET runtime: 7.0.17
.NET SDK: Not found
Default Python: 3.10.12
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 2.9 GiB
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
I'm starting it using Docker CLI.
I also submitted <a href="https://www.codeproject.com/Messages/5995996/Cant-uninstall-without-updating">this</a> which would be great if it could get resolved since it means to uninstall, I need to first update and then uninstall.
|
|
|
|
|
This is still an issue on CPAI 2.6.2
|
|
|
|
|
Server version: 2.6.2
System: Linux
Operating System: Linux (Ubuntu 22.04)
CPUs: QEMU Virtual CPU version 2.5+
1 CPU x 4 cores. 4 logical processors (x64)
System RAM: 8 GiB
Platform: Linux
BuildConfig: Release
Execution Env: Native
Runtime Env: Production
Runtimes installed:
.NET runtime: 7.0.17
.NET SDK: 7.0.117
Default Python: 3.10.12
Go: Not found
NodeJS: Not found
Rust: Not found
Video adapter info:
Device 1234:
Driver Version
Video Processor
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
I've installed CodeProject.AI on an Ubuntu VM in Proxmox. I'm having issues with getting it to run when the VM is restarted. CP.AI continually shuts down and restarts. I've scoured the net for possible issues and can't find anything so forgive me if it's something obvious . The only way I can get it to run most of the time is to stop the service and run it manually running the script bash /usr/bin/codeproject.ai-server-2.6.2/start.sh .
I'm using CP.AI with Blue Iris for my home security cameras. I tried installing it in the Windows VM with Blue Iris however, that had significant install problems and then wouldn't run properly and consumed heaps of resources. When I can get CP.AI to run in the Ubuntu VM, it works a lot better than it was in Windows. I had some minor reports during the install and I'm unsure if these have any major impact on how it's running. They're pasted below.
If anyone can advise on how best to troubleshoot and get this running reliably that would be appreciated.
15:27:27:FaceProcessing: stty: 'standard input': Inappropriate ioctl for device
15:27:30:FaceProcessing: Creating Virtual Environment (Shared)... done
15:27:30:FaceProcessing: Checking for Python 3.8...(Found Python 3.8.19) All good
15:27:34:FaceProcessing: Upgrading PIP in virtual environment... done
15:27:36:FaceProcessing: Installing updated setuptools in venv... done
15:34:57:FaceProcessing: Downloading Face models...Expanding... done.
15:34:57:FaceProcessing: Moving contents of models-face-pt.zip to assets...done.
15:34:57:FaceProcessing: Installing Python packages for Face Processing
15:34:57:FaceProcessing: Installing GPU-enabled libraries: If available
15:34:57:FaceProcessing: Searching for python3-pip...All good.
15:34:57:FaceProcessing: stty: 'standard input': Inappropriate ioctl for device
15:36:09:FaceProcessing: - Installing Pillow, a Python Image Library... (❌ failed check) done
15:39:16:ObjectDetectionYOLOv5Net: Creating models download folder...Needs admin permission to create folder
16:16:25:detect_adapter.py: Traceback (most recent call last):
16:16:25:detect_adapter.py: File "/usr/bin/codeproject.ai-server-2.6.2/modules/ObjectDetectionYOLOv5-6.2/detect_adapter.py", line 20, in
16:16:25:detect_adapter.py: from detect import do_detection
16:16:25:detect_adapter.py: File "/usr/bin/codeproject.ai-server-2.6.2/modules/ObjectDetectionYOLOv5-6.2/detect.py", line 8, in
16:16:25:detect_adapter.py: from yolov5.models.common import DetectMultiBackend, AutoShape
16:16:25:detect_adapter.py: ModuleNotFoundError: No module named 'yolov5'
16:16:26:Module ObjectDetectionYOLOv5-6.2 has shutdown
|
|
|
|
|
We've had other reports of this and it's clearly a system issue (my guess: our understanding of how to manage systemd).
cheers
Chris Maunder
|
|
|
|
|
FYI I had to replace the "Type=notify" with "Type=simple" in /etc/systemd/system/codeproject.ai-server.service to make the service stay running for more than 2 minutes
|
|
|
|
|
I’ll give it a try tomorrow. Thank you!
|
|
|
|
|
Ubunut 2.6.4 is out that includes this fix
cheers
Chris Maunder
|
|
|
|
|
Thanks Chris. I tried the suggested fix above and it seemed to work. I’ll update when I can.
|
|
|
|
|
FYI the 2.6.4 release reports the following log message:
Server: This is a new, unreleased version
|
|
|
|
|
Hi,
I'm running codeproject in a docker debian lxc within proxmox. I believe I've passed through the Coral USB TPU correctly as codeproject references 'TPU Dectected' in the logs, however next entry is 'Unable to find or initialise the Coral TPU. Falling back to CPU-only.'
Really unsure where to go from here so reaching out in the hope that someone can advise.
Thanks!
18:22:24:Started Object Detection (Coral) module
18:22:26:face.py: Vision AI services setup: Retrieving environment variables...
18:22:26:face.py: APPDIR: /app/preinstalled-modules/FaceProcessing/intelligencelayer
18:22:26:face.py: PROFILE: desktop_cpu
18:22:26:face.py: USE_CUDA: False
18:22:26:face.py: DATA_DIR: /etc/codeproject/ai
18:22:26:face.py: MODELS_DIR: /app/preinstalled-modules/FaceProcessing/assets
18:22:26:face.py: MODE: MEDIUM
18:22:26:face.py: Running init for Face Processing
18:22:51:objectdetection_coral_adapter.py: MODULE_PATH: /app/modules/ObjectDetectionCoral
18:22:51:objectdetection_coral_adapter.py: MODELS_DIR: /app/modules/ObjectDetectionCoral/assets
18:22:51:objectdetection_coral_adapter.py: CPAI_CORAL_MODEL_NAME: mobilenet ssd
18:22:51:objectdetection_coral_adapter.py: MODEL_SIZE: small
18:22:51:objectdetection_coral_adapter.py: CPU_MODEL_NAME: tf2_ssd_mobilenet_v2_coco17_ptq.tflite
18:22:51:objectdetection_coral_adapter.py: TPU_MODEL_NAME: tf2_ssd_mobilenet_v2_coco17_ptq_edgetpu.tflite
18:22:51:objectdetection_coral_adapter.py: TPU detected
18:22:51:objectdetection_coral_adapter.py: Running init for Object Detection (Coral)
18:22:51:objectdetection_coral_adapter.py: Input details: {'name': 'serving_default_input:0', 'index': 0, 'shape': array([ 1, 300, 300, 3], dtype=int32), 'shape_signature': array([ 1, 300, 300, 3], dtype=int32), 'dtype': , 'quantization': (0.007843137718737125, 127), 'quantization_parameters': {'scales': array([0.00784314], dtype=float32), 'zero_points': array([127], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}
18:22:51:objectdetection_coral_adapter.py: Unable to find or initialise the Coral TPU. Falling back to CPU-only.
18:22:51:objectdetection_coral_adapter.py: Output details: {'name': 'StatefulPartitionedCall:3;StatefulPartitionedCall:2;StatefulPartitionedCall:1;StatefulPartitionedCall:02', 'index': 252, 'shape': array([ 1, 20], dtype=int32), 'shape_signature': array([ 1, 20], dtype=int32), 'dtype': , 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}
18:22:51:objectdetection_coral_adapter.py: Using CPU
modified 15-Apr-24 16:12pm.
|
|
|
|