|
Green means it's cached (and in theory installed), orange means ready to download. There are tooltips on the options.
cheers
Chris Maunder
|
|
|
|
|
I have latest CPAI and latest Coral module. In addition to the various “bulk in” and “bulk out” errors that cause the Coral module to shut down that I’ve already reported, I also have this thing happening every day where the Coral module silently stops responding to requests. There is no error in the logs, simply the detections stop. Blue Iris errors out for each attempted detection with “AI: not responding”
System info:
Server version: 2.6.2
System: Docker (dc5e24419dd2)
Operating System: Linux (Ubuntu 22.04)
CPUs: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (Intel)
1 CPU x 4 cores. 8 logical processors (x64)
System RAM: 15 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 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
|
|
|
|
|
I also see this, I resorted to parsing the logs and restarting the service if it doesn't see any detect requests in the last 5 minutes..
Hopefully the underlying issue can be resolved, but it does make me think it would be nice if the could report either the time since the last request or the timestamp of the last received request..
And perhaps even a per-module watchdog that could run a test image/sample to confirm it at least responds, and if not restart the module?
|
|
|
|
|
How are you doing the log parsing?
|
|
|
|
|
journalctl -u codeproject.ai-server -g "took"
|
|
|
|
|
Hello,
I have codeproject.ai (2.6.2) in docker.
I do Face Recognition with http request (via API, ...32168/v1/vision/face/recognize ) and within CodeProject.AI Explorer
API shows no result but Explorer does the recognition.
Minimum Recognition Confidence is set for 0.4 for both.
That's the log via API (I use objectdetecion first and then face recognition):
00:30:15:Client request 'detect' in queue 'objectdetection_queue' (...0ca35e)
00:30:15:Request 'detect' dequeued from 'objectdetection_queue' (...0ca35e)
00:30:15:Object Detection (YOLOv5 6.2): Retrieved objectdetection_queue command 'detect'
00:30:16:Response rec'd from Object Detection (YOLOv5 6.2) command 'detect' (...0ca35e) ['Found car, person'] took 188ms
00:30:16:Client request 'recognize' in queue 'faceprocessing_queue' (...ef6481)
00:30:16:Request 'recognize' dequeued from 'faceprocessing_queue' (...ef6481)
00:30:16:Face Processing: Retrieved faceprocessing_queue command 'recognize'
00:30:16:Response rec'd from Face Processing command 'recognize' (...ef6481) ['No known faces'] took 160ms
00:30:48:Client request 'recognize' in queue 'faceprocessing_queue' (...0ef319)
00:30:48:Request 'recognize' dequeued from 'faceprocessing_queue' (...0ef319)
That's the log Explorer (face recognition):
00:30:48:Face Processing: Retrieved faceprocessing_queue command 'recognize'
00:30:48:Response rec'd from Face Processing command 'recognize' (...0ef319) ['A face was recognised'] took 153ms
Why it is so? And how to reach the same results for both ways?
modified 19-Apr-24 11:38am.
|
|
|
|
|
Have anyone had the same issue? Or may be are there any ideas about it? Thank you
|
|
|
|
|
Im my plugins events where I detect for people, I first detect object, if person found, then I detect for face, if face found, then try to recognise face.
It also helps to enroll as many positive face images as possible for each user in the database.
|
|
|
|
|
I do the same, just without "detect for face" in between
|
|
|
|
|
When there is an update to a module, it is not possible to uninstall the module without first installing the update via the GUI. There is only an update button. There should also be an uninstall button.
-- modified 11-Apr-24 12:17pm.
|
|
|
|
|
I recently updated the CPAI program to the latest version on Windows 10, ver 2.6.2.
Along with doing this, I also updated the Coral module to the latest version.
While using my Coral M.2 accelerator, with previous versions of CPAI and the Coral module, I had been seeing approximately 18 to 20 percent failed inferences reported in the module info tab.
I now see consistently zero failed inferences for the Coral module using the small Yolo v8 model.
This is similar to what I was seeing with the Yolov5 .Net and the Yolov5 6.2 modules.
This may be an improvement in the module, or it might be due to my changing over to the Yolo v8 model.
Checking Blue Iris for "Nothing Found" alerts, I am now seeing very few, compared to what I was seeing before the latest changes.
Whatever is causing this, it is good news as far as I can tell. Progress!!!
Just for my curiosity, how are failed inferences defined in the software? Has there been any change recently?
Was it changing to the Yolo v8 that produced the improvement?
Attaching the system and module information: (P.S. Numbers are low, I just rebooted the machine, fiddling with an ((unwanted)) Windows update. I had seen about 83,000 inferences with zero failed inferences previously.)
Anyway, good job!
Server version: 2.6.2
System: Windows
Operating System: Windows (Microsoft Windows 10.0.19045)
CPUs: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (Intel)
1 CPU x 4 cores. 4 logical processors (x64)
GPU (Primary): Intel(R) HD Graphics 630 (1,024 MiB) (Intel Corporation)
Driver: 31.0.101.2111
System RAM: 16 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:
Intel(R) HD Graphics 630:
Driver Version 31.0.101.2111
Video Processor Intel(R) HD Graphics Family
System GPU info:
GPU 3D Usage 1%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
Module 'Object Detection (Coral)' 2.2.0 (ID: ObjectDetectionCoral)
Valid: True
Module Path: <root>\modules\ObjectDetectionCoral
AutoStart: True
Queue: objectdetection_queue
Runtime: python3.9
Runtime Loc: Local
FilePath: objectdetection_coral_adapter.py
Start pause: 1 sec
Parallelism: 1
LogVerbosity:
Platforms: all
GPU Libraries: installed if available
GPU Enabled: enabled
Accelerator:
Half Precis.: enable
Environment Variables
CPAI_CORAL_MODEL_NAME = YOLOv8
CPAI_CORAL_MULTI_TPU = true
MODELS_DIR = <root>\modules\ObjectDetectionCoral\assets
MODEL_SIZE = small
Status Data: {
"inferenceDevice": "TPU",
"inferenceLibrary": "TF-Lite",
"canUseGPU": "false",
"successfulInferences": 436,
"failedInferences": 0,
"numInferences": 436,
"averageInferenceMs": 7.073394495412844
}
Started: 08 Apr 2024 5:43:27 AM Central Standard Time
LastSeen: 08 Apr 2024 6:39:20 AM Central Standard Time
Status: Started
Requests: 437 (includes status calls)
Installation Log
2024-03-06 07:43:32: Installing CodeProject.AI Analysis Module
2024-03-06 07:43:32: ======================================================================
2024-03-06 07:43:32: CodeProject.AI Installer
2024-03-06 07:43:32: ======================================================================
2024-03-06 07:43:32: 302.1Gb of 487Gb available on
2024-03-06 07:43:32: General CodeProject.AI setup
2024-03-06 07:43:32: Creating Directories...Done
2024-03-06 07:43:32: GPU support
2024-03-06 07:43:33: CUDA Present...No
2024-03-06 07:43:33: ROCm Present...No
2024-03-06 07:43:35: Reading ObjectDetectionCoral settings.......Done
2024-03-06 07:43:35: Installing module Object Detection (Coral) 2.1.4
2024-03-06 07:43:35: Installing Python 3.9
2024-03-06 07:43:42: Downloading Python 3.9 interpreter...Expanding...Done.
2024-03-06 07:43:51: Creating Virtual Environment (Local)...Done
2024-03-06 07:43:51: Confirming we have Python 3.9 in our virtual environment...present
2024-03-06 07:43:54: Downloading edge TPU runtime...Expanding...Done.
2024-03-06 07:43:55: Copying contents of edgetpu_runtime-20221024.zip to edgetpu_runtime...done
2024-03-06 07:43:55: Installing the edge TPU libraries...
2024-03-06 07:43:55: Installing UsbDk
2024-03-06 07:43:55: Installing Windows drivers
2024-03-06 07:43:55: Microsoft PnP Utility
2024-03-06 07:43:55: Adding driver package: coral.inf
2024-03-06 07:43:55: Driver package added successfully. (Already exists in the system)
2024-03-06 07:43:55: Published Name: oem40.inf
2024-03-06 07:43:55: Driver package is up-to-date on device: PCI\VEN_1AC1&DEV_089A&SUBSYS_089A1AC1&REV_00\4&6ba732e&0&00D8
2024-03-06 07:43:55: Adding driver package: Coral_USB_Accelerator.inf
2024-03-06 07:43:55: Driver package added successfully. (Already exists in the system)
2024-03-06 07:43:55: Published Name: oem43.inf
2024-03-06 07:43:55: Driver package installed on device: USB\VID_18D1&PID_9302\5&220fb38b&0&10
2024-03-06 07:43:55: Adding driver package: Coral_USB_Accelerator_(DFU).inf
2024-03-06 07:43:55: Driver package added successfully. (Already exists in the system)
2024-03-06 07:43:55: Published Name: oem55.inf
2024-03-06 07:43:55: Total driver packages: 3
2024-03-06 07:43:55: Added driver packages: 2
2024-03-06 07:43:55: Installing performance counters
2024-03-06 07:43:55: Info: Provider {aaa5bf9e-c44b-4177-af65-d3a06ba45fe7} defined in C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\edgetpu_runtime\third_party\coral_accelerator_windows\coral.man is already installed in system repository.
2024-03-06 07:43:55: Info: Successfully installed performance counters in C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\edgetpu_runtime\third_party\coral_accelerator_windows\coral.manCopying edgetpu and libusb to System32
2024-03-06 07:43:55: 1 file(s) copied.
2024-03-06 07:43:55: 1 file(s) copied.
2024-03-06 07:43:55: Install complete
2024-03-06 07:44:04: Downloading EfficientDet (large) models...Expanding...Done.
2024-03-06 07:44:04: Copying contents of objectdetection-efficientdet-large-edgetpu.zip to assets...done
2024-03-06 07:44:09: Downloading EfficientDet (medium) models...Expanding...Done.
2024-03-06 07:44:10: Copying contents of objectdetection-efficientdet-medium-edgetpu.zip to assets...done
2024-03-06 07:44:15: Downloading EfficientDet (small) models...Expanding...Done.
2024-03-06 07:44:15: Copying contents of objectdetection-efficientdet-small-edgetpu.zip to assets...done
2024-03-06 07:44:19: Downloading EfficientDet (tiny) models...Expanding...Done.
2024-03-06 07:44:19: Copying contents of objectdetection-efficientdet-tiny-edgetpu.zip to assets...done
2024-03-06 07:44:35: Downloading MobileNet (large) models...Expanding...Done.
2024-03-06 07:44:36: Copying contents of objectdetection-mobilenet-large-edgetpu.zip to assets...done
2024-03-06 07:44:41: Downloading MobileNet (medium) models...Expanding...Done.
2024-03-06 07:44:41: Copying contents of objectdetection-mobilenet-medium-edgetpu.zip to assets...done
2024-03-06 07:44:49: Downloading MobileNet (small) models...Expanding...Done.
2024-03-06 07:44:49: Copying contents of objectdetection-mobilenet-small-edgetpu.zip to assets...done
2024-03-06 07:44:52: Downloading MobileNet (tiny) models...Expanding...Done.
2024-03-06 07:44:52: Copying contents of objectdetection-mobilenet-tiny-edgetpu.zip to assets...done
2024-03-06 07:45:19: Downloading YOLOv8 (large) models...Expanding...Done.
2024-03-06 07:45:19: Copying contents of objectdetection-yolov8-large-edgetpu.zip to assets...done
2024-03-06 07:45:43: Downloading YOLOv8 (medium) models...Expanding...Done.
2024-03-06 07:45:43: Copying contents of objectdetection-yolov8-medium-edgetpu.zip to assets...done
2024-03-06 07:45:49: Downloading YOLOv8 (small) models...Expanding...Done.
2024-03-06 07:45:49: Copying contents of objectdetection-yolov8-small-edgetpu.zip to assets...done
2024-03-06 07:45:51: Downloading YOLOv8 (tiny) models...Expanding...Done.
2024-03-06 07:45:51: Copying contents of objectdetection-yolov8-tiny-edgetpu.zip to assets...done
2024-03-06 07:45:51: Installing Python packages for Object Detection (Coral)
2024-03-06 07:45:51: [0;Installing GPU-enabled libraries: If available
2024-03-06 07:45:53: Ensuring Python package manager (pip) is installed...Done
2024-03-06 07:46:00: Ensuring Python package manager (pip) is up to date...Done
2024-03-06 07:46:00: Python packages specified by requirements.windows.txt
2024-03-06 07:46:03: - Installing Pillow, a Python Image Library...(checked) Done
2024-03-06 07:46:10: - Installing Tensorflow Lite...(checked) Done
2024-03-06 07:46:19: - Installing PyCoral...(checked) Done
2024-03-06 07:46:39: - Installing NumPy, a package for scientific computing...Already installed
2024-03-06 07:46:39: Installing Python packages for the CodeProject.AI Server SDK
2024-03-06 07:46:41: Ensuring Python package manager (pip) is installed...Done
2024-03-06 07:46:43: Ensuring Python package manager (pip) is up to date...Done
2024-03-06 07:46:43: Python packages specified by requirements.txt
2024-03-06 07:46:44: - Installing Pillow, a Python Image Library...Already installed
2024-03-06 07:46:47: - Installing Charset normalizer...(checked) Done
2024-03-06 07:46:51: - Installing aiohttp, the Async IO HTTP library...(checked) Done
2024-03-06 07:46:53: - Installing aiofiles, the Async IO Files library...(checked) Done
2024-03-06 07:46:56: - Installing py-cpuinfo to allow us to query CPU info...(checked) Done
2024-03-06 07:46:59: - Installing Requests, the HTTP library...(checked) Done
2024-03-06 07:47:01: WARNING: Logging before InitGoogleLogging() is written to STDERR
2024-03-06 07:47:01: I20240306 07:47:01.831557 6220 pipelined_model_runner.cc:171] Thread: 6220 receives empty request
2024-03-06 07:47:01: I20240306 07:47:01.831557 6220 pipelined_model_runner.cc:244] Thread: 6220 is shutting down the pipeline...
2024-03-06 07:47:01: I20240306 07:47:01.831557 8156 pipelined_model_runner.cc:206] Queue is empty and `StopWaiters()` is called.
2024-03-06 07:47:01: I20240306 07:47:01.831557 6220 pipelined_model_runner.cc:254] Thread: 6220 Pipeline is off.
2024-03-06 07:47:01: I20240306 07:47:01.831557 6220 pipelined_model_runner.cc:171] Thread: 6220 receives empty request
2024-03-06 07:47:01: E20240306 07:47:01.831557 6220 pipelined_model_runner.cc:239] Thread: 6220 Pipeline was turned off before.
2024-03-06 07:47:01: I20240306 07:47:01.831557 6220 pipelined_model_runner.cc:206] Queue is empty and `StopWaiters()` is called.
2024-03-06 07:47:01: E20240306 07:47:01.831557 6220 pipelined_model_runner.cc:239] Thread: 6220 Pipeline was turned off before.
2024-03-06 07:47:01: E20240306 07:47:01.831557 6220 pipelined_model_runner.cc:146] Failed to shutdown status: INTERNAL: Pipeline was turned off before.
2024-03-06 07:47:01: I20240306 07:47:01.957798 6220 pipelined_model_runner.cc:171] Thread: 6220 receives empty request
2024-03-06 07:47:01: I20240306 07:47:01.957798 6220 pipelined_model_runner.cc:244] Thread: 6220 is shutting down the pipeline...
2024-03-06 07:47:01: I20240306 07:47:01.957798 6220 pipelined_model_runner.cc:254] Thread: 6220 Pipeline is off.
2024-03-06 07:47:01: I20240306 07:47:01.957798 10996 pipelined_model_runner.cc:206] Queue is empty and `StopWaiters()` is called.
2024-03-06 07:47:01: I20240306 07:47:01.958794 6220 pipelined_model_runner.cc:171] Thread: 6220 receives empty request
2024-03-06 07:47:01: E20240306 07:47:01.958794 6220 pipelined_model_runner.cc:239] Thread: 6220 Pipeline was turned off before.
2024-03-06 07:47:01: I20240306 07:47:01.958794 6220 pipelined_model_runner.cc:206] Queue is empty and `StopWaiters()` is called.
2024-03-06 07:47:01: E20240306 07:47:01.958794 6220 pipelined_model_runner.cc:239] Thread: 6220 Pipeline was turned off before.
2024-03-06 07:47:01: E20240306 07:47:01.958794 6220 pipelined_model_runner.cc:146] Failed to shutdown status: INTERNAL: Pipeline was turned off before.
2024-03-06 07:47:06: Self test: Self-test passed
2024-03-06 07:47:06: Module setup time 00:03:33.38
2024-03-06 07:47:06: Setup complete
2024-03-06 07:47:06: Total setup time 00:03:34.29
Installer exited with code 0
2024-03-15 14:56:30: Installing CodeProject.AI Analysis Module
2024-03-15 14:56:30: ======================================================================
2024-03-15 14:56:30: CodeProject.AI Installer
2024-03-15 14:56:30: ======================================================================
2024-03-15 14:56:30: 302.5Gb of 487Gb available on
2024-03-15 14:56:30: General CodeProject.AI setup
2024-03-15 14:56:30: Creating Directories...Done
2024-03-15 14:56:30: GPU support
2024-03-15 14:56:31: CUDA Present...No
2024-03-15 14:56:31: ROCm Present...No
2024-03-15 14:56:34: Reading ObjectDetectionCoral settings.......Done
2024-03-15 14:56:34: Installing module Object Detection (Coral) 2.1.5
2024-03-15 14:56:34: Installing Python 3.9
2024-03-15 14:56:34: Python 3.9 is already installed
2024-03-15 14:56:34: Creating Virtual Environment (Local)...Virtual Environment already present
2024-03-15 14:56:34: Confirming we have Python 3.9 in our virtual environment...present
2024-03-15 14:56:34: Installing the edge TPU libraries...
2024-03-15 14:56:34: Installing UsbDk
2024-03-15 14:56:35: Installing Windows drivers
2024-03-15 14:56:35: Microsoft PnP Utility
2024-03-15 14:56:35: Adding driver package: coral.inf
2024-03-15 14:56:35: Driver package added successfully. (Already exists in the system)
2024-03-15 14:56:35: Published Name: oem40.inf
2024-03-15 14:56:35: Driver package is up-to-date on device: PCI\VEN_1AC1&DEV_089A&SUBSYS_089A1AC1&REV_00\4&6ba732e&0&00D8
2024-03-15 14:56:35: Adding driver package: Coral_USB_Accelerator.inf
2024-03-15 14:56:35: Driver package added successfully. (Already exists in the system)
2024-03-15 14:56:35: Published Name: oem43.inf
2024-03-15 14:56:35: Driver package installed on device: USB\VID_18D1&PID_9302\5&220fb38b&0&10
2024-03-15 14:56:35: Adding driver package: Coral_USB_Accelerator_(DFU).inf
2024-03-15 14:56:35: Driver package added successfully. (Already exists in the system)
2024-03-15 14:56:35: Published Name: oem55.inf
2024-03-15 14:56:35: Total driver packages: 3
2024-03-15 14:56:35: Added driver packages: 2
2024-03-15 14:56:35: Installing performance counters
2024-03-15 14:56:35: Info: Provider {aaa5bf9e-c44b-4177-af65-d3a06ba45fe7} defined in C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\edgetpu_runtime\third_party\coral_accelerator_windows\coral.man is already installed in system repository.
2024-03-15 14:56:35: Info: Successfully installed performance counters in C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\edgetpu_runtime\third_party\coral_accelerator_windows\coral.manCopying edgetpu and libusb to System32
2024-03-15 14:56:35: The process cannot access the file because it is being used by another process.
2024-03-15 14:56:35: 0 file(s) copied.
2024-03-15 14:56:35: The process cannot access the file because it is being used by another process.
2024-03-15 14:56:35: 0 file(s) copied.
2024-03-15 14:56:35: Install complete
2024-03-15 14:56:36: Downloading EfficientDet (large) models...already exists...Expanding...Done.
2024-03-15 14:56:36: Copying contents of objectdetection-efficientdet-large-edgetpu.zip to assets...done
2024-03-15 14:56:36: Downloading EfficientDet (medium) models...already exists...Expanding...Done.
2024-03-15 14:56:36: Copying contents of objectdetection-efficientdet-medium-edgetpu.zip to assets...done
2024-03-15 14:56:36: Downloading EfficientDet (small) models...already exists...Expanding...Done.
2024-03-15 14:56:37: Copying contents of objectdetection-efficientdet-small-edgetpu.zip to assets...done
2024-03-15 14:56:37: Downloading EfficientDet (tiny) models...already exists...Expanding...Done.
2024-03-15 14:56:37: Copying contents of objectdetection-efficientdet-tiny-edgetpu.zip to assets...done
2024-03-15 14:56:38: Downloading MobileNet (large) models...already exists...Expanding...Done.
2024-03-15 14:56:38: Copying contents of objectdetection-mobilenet-large-edgetpu.zip to assets...done
2024-03-15 14:56:38: Downloading MobileNet (medium) models...already exists...Expanding...Done.
2024-03-15 14:56:38: Copying contents of objectdetection-mobilenet-medium-edgetpu.zip to assets...done
2024-03-15 14:56:38: Downloading MobileNet (small) models...already exists...Expanding...Done.
2024-03-15 14:56:38: Copying contents of objectdetection-mobilenet-small-edgetpu.zip to assets...done
2024-03-15 14:56:39: Downloading MobileNet (tiny) models...already exists...Expanding...Done.
2024-03-15 14:56:39: Copying contents of objectdetection-mobilenet-tiny-edgetpu.zip to assets...done
2024-03-15 14:56:40: Downloading YOLOv8 (large) models...already exists...Expanding...Done.
2024-03-15 14:56:40: Copying contents of objectdetection-yolov8-large-edgetpu.zip to assets...done
2024-03-15 14:56:41: Downloading YOLOv8 (medium) models...already exists...Expanding...Done.
2024-03-15 14:56:41: Copying contents of objectdetection-yolov8-medium-edgetpu.zip to assets...done
2024-03-15 14:56:41: Downloading YOLOv8 (small) models...already exists...Expanding...Done.
2024-03-15 14:56:41: Copying contents of objectdetection-yolov8-small-edgetpu.zip to assets...done
2024-03-15 14:56:42: Downloading YOLOv8 (tiny) models...already exists...Expanding...Done.
2024-03-15 14:56:42: Copying contents of objectdetection-yolov8-tiny-edgetpu.zip to assets...done
2024-03-15 14:56:42: Installing Python packages for Object Detection (Coral)
2024-03-15 14:56:42: [0;Installing GPU-enabled libraries: If available
2024-03-15 14:56:44: Ensuring Python package manager (pip) is installed...Done
2024-03-15 14:57:29: Ensuring Python package manager (pip) is up to date...Done
2024-03-15 14:57:29: Python packages specified by requirements.windows.txt
2024-03-15 14:57:30: - Installing Pillow, a Python Image Library...Already installed
2024-03-15 14:57:30: - Installing Tensorflow Lite...Already installed
2024-03-15 14:57:31: - Installing PyCoral...Already installed
2024-03-15 14:57:49: - Installing NumPy, a package for scientific computing...Already installed
2024-03-15 14:57:49: Installing Python packages for the CodeProject.AI Server SDK
2024-03-15 14:57:51: Ensuring Python package manager (pip) is installed...Done
2024-03-15 14:57:53: Ensuring Python package manager (pip) is up to date...Done
2024-03-15 14:57:53: Python packages specified by requirements.txt
2024-03-15 14:57:54: - Installing Pillow, a Python Image Library...Already installed
2024-03-15 14:57:55: - Installing Charset normalizer...Already installed
2024-03-15 14:57:56: - Installing aiohttp, the Async IO HTTP library...Already installed
2024-03-15 14:57:57: - Installing aiofiles, the Async IO Files library...Already installed
2024-03-15 14:57:58: - Installing py-cpuinfo to allow us to query CPU info...Already installed
2024-03-15 14:57:59: - Installing Requests, the HTTP library...Already installed
2024-03-15 14:58:01: ERROR:root:Unable to create interpreter for TPU pci:0: Failed to load delegate from edgetpu.dll
2024-03-15 14:58:01: WARNING:root:Unable to create interpreter for CPU using edgeTPU library: Failed to load delegate from edgetpu.dll
2024-04-04 10:42:29: Installing CodeProject.AI Analysis Module
2024-04-04 10:42:29: ======================================================================
2024-04-04 10:42:29: CodeProject.AI Installer
2024-04-04 10:42:29: ======================================================================
2024-04-04 10:42:29: 301.7Gb of 487Gb available on
2024-04-04 10:42:29: General CodeProject.AI setup
2024-04-04 10:42:29: Creating Directories...done
2024-04-04 10:42:29: GPU support
2024-04-04 10:42:30: CUDA Present...No
2024-04-04 10:42:30: ROCm Present...No
2024-04-04 10:42:32: Reading ObjectDetectionCoral settings.......done
2024-04-04 10:42:32: Installing module Object Detection (Coral) 2.2.0
2024-04-04 10:42:32: Installing Python 3.9
2024-04-04 10:42:32: Python 3.9 is already installed
2024-04-04 10:42:32: Creating Virtual Environment (Local)...Virtual Environment already present
2024-04-04 10:42:32: Confirming we have Python 3.9 in our virtual environment...present
2024-04-04 10:42:33: Installing the edge TPU libraries...
2024-04-04 10:42:33: Installing UsbDk
2024-04-04 10:42:33: Installing Windows drivers
2024-04-04 10:42:33: Microsoft PnP Utility
2024-04-04 10:42:33: Adding driver package: coral.inf
2024-04-04 10:42:33: Driver package added successfully. (Already exists in the system)
2024-04-04 10:42:33: Published Name: oem40.inf
2024-04-04 10:42:33: Driver package is up-to-date on device: PCI\VEN_1AC1&DEV_089A&SUBSYS_089A1AC1&REV_00\4&6ba732e&0&00D8
2024-04-04 10:42:33: Adding driver package: Coral_USB_Accelerator.inf
2024-04-04 10:42:33: Driver package added successfully. (Already exists in the system)
2024-04-04 10:42:33: Published Name: oem43.inf
2024-04-04 10:42:33: Driver package installed on device: USB\VID_18D1&PID_9302\5&220fb38b&0&10
2024-04-04 10:42:33: Adding driver package: Coral_USB_Accelerator_(DFU).inf
2024-04-04 10:42:33: Driver package added successfully. (Already exists in the system)
2024-04-04 10:42:33: Published Name: oem55.inf
2024-04-04 10:42:33: Total driver packages: 3
2024-04-04 10:42:33: Added driver packages: 2
2024-04-04 10:42:33: Installing performance counters
2024-04-04 10:42:34: Info: Provider {aaa5bf9e-c44b-4177-af65-d3a06ba45fe7} defined in C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\edgetpu_runtime\third_party\coral_accelerator_windows\coral.man is already installed in system repository.
2024-04-04 10:42:34: Info: Successfully installed performance counters in C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\edgetpu_runtime\third_party\coral_accelerator_windows\coral.manCopying edgetpu and libusb to System32
2024-04-04 10:42:34: The process cannot access the file because it is being used by another process.
2024-04-04 10:42:34: 0 file(s) copied.
2024-04-04 10:42:34: The process cannot access the file because it is being used by another process.
2024-04-04 10:42:34: 0 file(s) copied.
2024-04-04 10:42:34: Install complete
2024-04-04 10:42:41: Downloading EfficientDet (large) models...Expanding...done.
2024-04-04 10:42:41: Copying contents of objectdetection-efficientdet-large-edgetpu.zip to assets...done
2024-04-04 10:42:46: Downloading EfficientDet (medium) models...Expanding...done.
2024-04-04 10:42:46: Copying contents of objectdetection-efficientdet-medium-edgetpu.zip to assets...done
2024-04-04 10:42:51: Downloading EfficientDet (small) models...Expanding...done.
2024-04-04 10:42:52: Copying contents of objectdetection-efficientdet-small-edgetpu.zip to assets...done
2024-04-04 10:42:55: Downloading EfficientDet (tiny) models...Expanding...done.
2024-04-04 10:42:55: Copying contents of objectdetection-efficientdet-tiny-edgetpu.zip to assets...done
2024-04-04 10:43:08: Downloading MobileNet (large) models...Expanding...done.
2024-04-04 10:43:08: Copying contents of objectdetection-mobilenet-large-edgetpu.zip to assets...done
2024-04-04 10:43:14: Downloading MobileNet (medium) models...Expanding...done.
2024-04-04 10:43:15: Copying contents of objectdetection-mobilenet-medium-edgetpu.zip to assets...done
2024-04-04 10:43:27: Downloading MobileNet (small) models...Expanding...done.
2024-04-04 10:43:27: Copying contents of objectdetection-mobilenet-small-edgetpu.zip to assets...done
2024-04-04 10:43:33: Downloading MobileNet (tiny) models...Expanding...done.
2024-04-04 10:43:33: Copying contents of objectdetection-mobilenet-tiny-edgetpu.zip to assets...done
2024-04-04 10:43:50: Downloading YOLOv8 (large) models...Expanding...done.
2024-04-04 10:43:51: Copying contents of objectdetection-yolov8-large-edgetpu.zip to assets...done
2024-04-04 10:44:03: Downloading YOLOv8 (medium) models...Expanding...done.
2024-04-04 10:44:03: Copying contents of objectdetection-yolov8-medium-edgetpu.zip to assets...done
2024-04-04 10:44:07: Downloading YOLOv8 (small) models...Expanding...done.
2024-04-04 10:44:08: Copying contents of objectdetection-yolov8-small-edgetpu.zip to assets...done
2024-04-04 10:44:10: Downloading YOLOv8 (tiny) models...Expanding...done.
2024-04-04 10:44:10: Copying contents of objectdetection-yolov8-tiny-edgetpu.zip to assets...done
2024-04-04 10:44:10: Installing Python packages for Object Detection (Coral)
2024-04-04 10:44:10: [0;Installing GPU-enabled libraries: If available
2024-04-04 10:44:12: Ensuring Python package manager (pip) is installed...done
2024-04-04 10:44:15: Ensuring Python package manager (pip) is up to date...done
2024-04-04 10:44:15: Python packages specified by requirements.windows.txt
2024-04-04 10:44:16: - Installing Pillow, a Python Image Library...Already installed
2024-04-04 10:44:17: - Installing Tensorflow Lite...Already installed
2024-04-04 10:44:17: - Installing PyCoral...Already installed
2024-04-04 10:44:36: - Installing NumPy, a package for scientific computing...Already installed
2024-04-04 10:44:36: Installing Python packages for the CodeProject.AI Server SDK
2024-04-04 10:44:38: Ensuring Python package manager (pip) is installed...done
2024-04-04 10:44:40: Ensuring Python package manager (pip) is up to date...done
2024-04-04 10:44:40: Python packages specified by requirements.txt
2024-04-04 10:44:41: - Installing Pillow, a Python Image Library...Already installed
2024-04-04 10:44:42: - Installing Charset normalizer...Already installed
2024-04-04 10:44:43: - Installing aiohttp, the Async IO HTTP library...Already installed
2024-04-04 10:44:44: - Installing aiofiles, the Async IO Files library...Already installed
2024-04-04 10:44:45: - Installing py-cpuinfo to allow us to query CPU info...Already installed
2024-04-04 10:44:46: - Installing Requests, the HTTP library...Already installed
2024-04-04 10:44:49: Scanning modulesettings for downloadable models...Processing model list
2024-04-04 10:44:50: Downloading MobileNet Large...already exists...Expanding...done.
2024-04-04 10:44:50: Copying contents of objectdetection-mobilenet-large-edgetpu.zip to assets...done
2024-04-04 10:44:51: Downloading MobileNet Medium...already exists...Expanding...done.
2024-04-04 10:44:51: Copying contents of objectdetection-mobilenet-medium-edgetpu.zip to assets...done
2024-04-04 10:44:53: Downloading MobileNet Small...already exists...Expanding...done.
2024-04-04 10:44:53: Copying contents of objectdetection-mobilenet-small-edgetpu.zip to assets...done
2024-04-04 10:44:54: Downloading MobileNet Tiny...already exists...Expanding...done.
2024-04-04 10:44:54: Copying contents of objectdetection-mobilenet-tiny-edgetpu.zip to assets...done
2024-04-04 10:45:05: Self test: Self-test passed
2024-04-04 10:45:06: Module setup time 00:02:35.53
2024-04-04 10:45:06: Setup complete
2024-04-04 10:45:06: Total setup time 00:02:36.70
Installer exited with code 0
|
|
|
|
|
Coral with YOLOv8 is a work in progress, but it's good to hear it working well for you! Thanks for the feedback!
|
|
|
|
|
hello all having a issue, i can start codeproject commandline and it runs just fine, But if it start it as a service, it starts and stops, and then restarts, here is the code that codeproject made for the systemd service
Description=CodeProject.AI Server 2.6.2 application
[Service]
# Our app can notify systemd of status changes
Type=notify
# systemd will run this executable to start the service
# if /usr/bin/dotnet doesn't work, use `which dotnet` to find correct dotnet executable path
# ExecStart=bash /usr/bin/codeproject.ai-server-2.6.2/start.sh
ExecStart=bash /usr/bin/codeproject.ai-server-2.6.2/start.sh
# to query logs using journalctl, set a logical name here
SyslogIdentifier=codeproject.ai-server
# Use your username to keep things simple.
# If you pick a different user, make sure dotnet and all permissions are set correctly to run the app
# To update permissions, use 'chown yourusername -R /srv/HelloWorld' to take ownership of the folder and files,
# Use 'chmod +x /srv/HelloWorld/HelloWorld' to allow execution of the executable file
# User=youruserhere
# ensure the service restarts after crashing
Restart=always
# amount of time to wait before restarting the service
RestartSec=5
# This environment variable is necessary when dotnet isn't loaded for the specified user.
# To figure out this value, run 'env | grep DOTNET_ROOT' when dotnet has been loaded into your shell.
Environment=DOTNET_ROOT=/usr/lib64/dotnet
[Install]
WantedBy=multi-user.target
# More info: https:
|
|
|
|
|
Thanks very much for your report. Could you please share your System Info tab from your CodeProject.AI Server dashboard?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Server version: 2.6.2
System: Linux
Operating System: Linux (Ubuntu 22.04)
CPUs: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz (Intel)
1 CPU x 4 cores. 8 logical processors (x64)
GPU (Primary): 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (Intel Corporation)
System RAM: 7 GiB
Platform: Linux
BuildConfig: Release
Execution Env: Native (SSH)
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:
2nd Generation Core Processor Family Integrated Graphics Controller (rev 09):
Driver Version
Video Processor
System GPU info:
GPU 3D Usage 0%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
|
|
|
|
|
We've just updated the Ubuntu version to 2.6.4. Curious to know if 2.6.4 addresses this.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
well giving it a try now, i did try the 2.6.2 docker version, and it was fine, but rather just run it this way,
|
|
|
|
|
ok, i had it 2.6.2 running fine thru docker, but o stopped the docker, installed the 2.4.6 package, and so far so good, seems to be running fine, better object detection
i am also upgrading my system to soon, because im running quite a wimpy computer, an old intel i7 960
upgrading to a intel core i7 12700K with 64 gigs of ram
|
|
|
|
|
todaxtream wrote: intel core i7 12700K with 64 gigs of ram
Jealous.
cheers
Chris Maunder
|
|
|
|
|
Well so far codeproject 2.6.4 has been running all day without a hickup, had better object detection, and using the system recourse's better,
and im not just upgradeing just for the purpose or old cpu, my server runs alot of diffrent applications
|
|
|
|
|
That's great.
Still jealous
cheers
Chris Maunder
|
|
|
|
|
I think I'm having the same issue. I just posted my own question.
|
|
|
|
|
Try editing /etc/systemd/system/codeproject.ai-server.service to replace "Type=notify" with "Type=simple", then run 'systemctl daemon-reload' followed by 'systemctl restart codeproject.ai-server'
|
|
|
|
|
I get this error in the logs:
23:50:38:objectdetection_coral_adapter.py: F driver/usb/usb_driver.cc:1148] HandleQueuedBulkIn transfer in failed. Not found: USB transfer error 5 [LibUsbDataInCallback]
23:50:38:Module ObjectDetectionCoral has shutdown
Then it says Coral is shutting down. CPAI doesn’t detect this and restart the container. It just fails silently and all future calls fail, until I notice and manually restart the container.
Latest CPAI and latest Coral module versions installed
modified 17-Apr-24 13:18pm.
|
|
|
|
|
Thanks very much for your report. Could you please share your System Info tab from your CodeProject.AI Server dashboard?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|