|
Ive tried with static images using the explorer, and using YOLOv5 and YOLOv8 and Coral. and the live overlay on BI has exactly the same detections.
I have 3 images from my garage camera, all are in greyscale/nighttime mode and are 2560x1920 24bit images. the camera is roof mounted in the corner and looks over the 2 cars to the door on the opposite side of the carport, the cars are static in a 3 images. img629 i am behind the 2 cars with the upper half of my body clearly visible. img130 I'm in a dark corner near the door, about 3/4 visible but dark. img028 is me in pretty much full view in front of both cars. there should only be the 2 cars and 1 person detected in each of the images.
YOLOv8 1.4.3 GPU(CUDA)
img629
# Label Confidence
0 car 88%
1 person 82%
2 car 73%
3 person 44%
Processed by ObjectDetectionYOLOv8
Processed on localhost
Analysis round trip 299 ms
Processing 234 ms
Inference 231 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:31:37 GMT
img130
# Label Confidence
0 car 89%
1 person 54%
2 car 51%
Processed by ObjectDetectionYOLOv8
Processed on localhost
Analysis round trip 282 ms
Processing 227 ms
Inference 225 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:34:06 GMT
img028
# Label Confidence
0 person 93%
1 car 88%
2 car 80%
Processed by ObjectDetectionYOLOv8
Processed on localhost
Analysis round trip 280 ms
Processing 230 ms
Inference 229 ms
Timestamp (UTC) Tue, 30 Apr 2024 05:08:42 GMT
YOLOv5 6.2 1.9.1 GPU(CUDA)
img629
# Label Confidence
0 person 77%
1 car 58%
2 person 46%
Processed by ObjectDetectionYOLOv5-6.2
Processed on localhost
Analysis round trip 255 ms
Processing 195 ms
Inference 193 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:36:52 GMT
img130
# Label Confidence
0 car 55%
1 person 47%
Processed by ObjectDetectionYOLOv5-6.2
Processed on localhost
Analysis round trip 415 ms
Processing 334 ms
Inference 333 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:36:07 GMT
img028
# Label Confidence
0 person 85%
1 person 60%
2 car 56%
Processed by ObjectDetectionYOLOv5-6.2
Processed on localhost
Analysis round trip 188 ms
Processing 131 ms
Inference 128 ms
Timestamp (UTC) Tue, 30 Apr 2024 05:06:13 GMT
here is the startup of the coral module, cant see any errors or anything untoward.. same same when loading any of the models
12:38:49:Update ObjectDetectionCoral. Setting AutoStart=true
12:38:49:Restarting Object Detection (Coral) to apply settings change
12:38:49:Running module using: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python
12:38:49:Starting C:\Program Files...ws\python39\venv\Scripts\python "C:\Program Files...ectdetection_coral_adapter.py"
12:38:49:
12:38:49:Attempting to start ObjectDetectionCoral with C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_adapter.py"
12:38:49:
12:38:49:Module 'Object Detection (Coral)' 2.2.2 (ID: ObjectDetectionCoral)
12:38:49:Valid: True
12:38:49:Module Path: root\modules\ObjectDetectionCoral
12:38:49:AutoStart: True
12:38:49:Queue: objectdetection_queue
12:38:49:Runtime: python3.9
12:38:49:Runtime Loc: Local
12:38:49:FilePath: objectdetection_coral_adapter.py
12:38:49:Start pause: 1 sec
12:38:49:Parallelism: 16
12:38:49:LogVerbosity:
12:38:49:Platforms: all
12:38:49:GPU Libraries: installed if available
12:38:49:GPU Enabled: enabled
12:38:49:Accelerator:
12:38:49:Half Precis.: enable
12:38:49:Environment Variables
12:38:49:CPAI_CORAL_MODEL_NAME = MobileNet SSD
12:38:49:CPAI_CORAL_MULTI_TPU = True
12:38:49:MODELS_DIR = root\modules\ObjectDetectionCoral\assets
12:38:49:MODEL_SIZE = small
12:38:49:
12:38:49:Started Object Detection (Coral) module
12:38:56:objectdetection_coral_adapter.py: MODULE_PATH: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral
12:38:56:objectdetection_coral_adapter.py: MODELS_DIR: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\assets
12:38:56:objectdetection_coral_adapter.py: CPAI_CORAL_MODEL_NAME: mobilenet ssd
12:38:56:objectdetection_coral_adapter.py: MODEL_SIZE: small
12:38:56:objectdetection_coral_adapter.py: Running init for Object Detection (Coral)
12:38:56:objectdetection_coral_adapter.py: CPU_MODEL_NAME: tf2_ssd_mobilenet_v2_coco17_ptq.tflite
12:38:56:objectdetection_coral_adapter.py: TPU_MODEL_NAME: tf2_ssd_mobilenet_v2_coco17_ptq_edgetpu.tflite
12:38:56:objectdetection_coral_adapter.py: TPU detected
12:38:56:objectdetection_coral_adapter.py: Attempting multi-TPU initialisation
12:38:56:objectdetection_coral_adapter.py: Supporting multiple Edge TPUs
and here is the result from the various models. i had to change them from the server page settings because selecting them on the explorer crashes the USB every time without fail.
MobileNet SSD
img629
# Label Confidence
0 car 63%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 82 ms
Processing 30 ms
Inference 15 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:48:22 GMT
img130
# Label Confidence
0 car 74%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 104 ms
Processing 35 ms
Inference 17 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:47:51 GMT
img028
# Label Confidence
0 train 63%
1 person 57%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 85 ms
Processing 33 ms
Inference 16 ms
Timestamp (UTC) Tue, 30 Apr 2024 05:01:31 GMT
YOLOv5
img629
# Label Confidence
0 car 63%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 87 ms
Processing 32 ms
Inference 15 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:51:40 GMT
img130
# Label Confidence
0 car 74%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 92 ms
Processing 34 ms
Inference 18 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:50:55 GMT
img028
# Label Confidence
0 train 63%
1 person 57%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 114 ms
Processing 50 ms
Inference 28 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:59:26 GMT
YOLOv8
img629
# Label Confidence
0 car 63%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 98 ms
Processing 33 ms
Inference 16 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:53:56 GMT
img130
# Label Confidence
0 car 74%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 96 ms
Processing 39 ms
Inference 20 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:53:17 GMT
img028
# Label Confidence
0 train 63%
1 person 57%
Processed by ObjectDetectionCoral
Processed on localhost
Analysis round trip 86 ms
Processing 36 ms
Inference 17 ms
Timestamp (UTC) Tue, 30 Apr 2024 04:57:31 GMT
img130 is a nice to have detection, img629 is the absolute minimum and img028 should never ever fail no matter what. with img629 detections being very accurate and >70% confidence for all 3 objects using YOLOv8 i really don't understand how the coral cant keep up. that's a 25% reduction in confidence for the first item.
I just got my hands on a second coral.. so i really hope they get figured out and work properly
|
|
|
|
|
|
Are you able to post your test pictures here? I can try running them on my machine to see if I get the same results.
|
|
|
|
|
Its not letting me upload them here for some reason, says ran out of time. and i don't really want to post them for the whole world to see.. so I've sent them to you via dm on the ipcamtalk forum
I've tried a few other things today, i adjusted the min confidence in option.py from 50% to 20%. now i get everything including the kitchen sink except for me! quite literally! apparently my cars sunroof is a kitchen sink with 25% confidence.
|
|
|
|
|
One problem I see is that any detection is going to be inside the box of one of your cars and might be filtered out. So I get better results without some of the filtering of duplicate detections. I might just remove that as it’s redundant now.
The first time I tried was with the EfficientDet model and it thought your car was a toilet. So that tracks.
The YOLOv8 models seem to be working as expected for me, with some caveats. The nano model didn’t detect anything. The small model detects one of two cars and your person. The medium YOLOv8 model detects your person and both cars independently.
So what I get from this is I’ll remove the extra filtering as it is likely a waste of time. I put it there for removing duplicates from tiled runs, but it’s probably not that useful and I’m not sure if anyone is using the tiling functionality anyway.
But it’s also a tricky scene because of the perspective and large overlaps between objects. I’ve suspected that the YOLOv8 medium model is the size to go with and this supports that for me.
As far as the bad labels, I don’t have a good answer for you. If it’s not a configuration issue, I’d guess it’s a problem with the perspective confusing the model.
modified 2 days ago.
|
|
|
|
|
Yeah i understand its a tricky perspective, its always been one of the worst performing cameras around my house. it gets worse when the door is up during the day too as it blows out that part of the image.
I'm still struggling to see how there is such a big difference between YOLOv8 running on the GPU vs the TPU. is there a way i can turn the filtering off when using CPAI?
also is there a way to use the YOLOv8 IPcam general/dark model?
There is still some bugs with the YOLOv8 medium on CPAI, the filenames are still wrong.. any idea how often they push updates?
|
|
|
|
|
Yeah. There shouldn’t be a big difference. It could be the quantization to 8-bits, the perspective, model, or my fault. Probably the latter. One bug that’s fixed in (I think) the next release is I was scaling the input image pixel values wrong. It was a problem sometimes but not others.
There is a YOLOv8 IPcam-general model that works on coral, but I’m not sure if it’s coming in the next CPAI release or what the support will look like. I’m not sure when the next release is coming out, either. I’m afraid I’m not much use here. One of these days I’ll be satisfied with the core code and it will be more stable.
|
|
|
|
|
yeah fingers crossed.
is there a way to manually change these settings or load a different model file? by changing the options.py file or one of the others like we had to for the incorrect filenames?
ive tried copying the ipcam general tpu tflite file and renaming it to one of the other model names but it doesn't work.. perhaps because it only has vehicle and person not the full list.
|
|
|
|
|
@mailseth
I had tried to change the Coral model size from small to medium several days ago. It took a lot of fiddling to get the status to stop displaying CPU Tflite to TPU Tflite.
I am now looking at the log after several days being occupied with other things, and I am seeing lots and lots of these:
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\lib\site-packages\tflite_runtime\interpreter.py", line 818, in <lambda>
return lambda: self._interpreter.tensor(self._interpreter, tensor_index)
ValueError: Tensor data is null. Run allocate_tensors() first
in Object Detection (Coral)
2024-04-26 13:01:43: Response rec'd from Object Detection (Coral) command 'detect' (#reqid db3610cd-4954-4a47-af20-83141a945cc4)
2024-04-26 13:01:43: Client request 'detect' in queue 'objectdetection_queue' (#reqid 9820afcb-79e5-434c-9df9-44125fc1615c)
2024-04-26 13:01:43: Request 'detect' dequeued from 'objectdetection_queue' (#reqid 9820afcb-79e5-434c-9df9-44125fc1615c)
2024-04-26 13:01:43: Object Detection (Coral): Retrieved objectdetection_queue command 'detect' in Object Detection (Coral)
2024-04-26 13:01:43: Object Detection (Coral): [ValueError] : Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_adapter.py", line 182, in _do_detection
result = do_detect(opts, img, score_threshold)
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_multitpu.py", line 121, in do_detect
return odcs.do_detect(options, image, score_threshold)
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_singletpu.py", line 266, in do_detect
_, scale = common.set_resized_input(
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\lib\site-packages\pycoral\adapters\common.py", line 95, in set_resized_input
tensor = input_tensor(interpreter)
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\lib\site-packages\pycoral\adapters\common.py", line 65, in input_tensor
return interpreter.tensor(tensor_index)()[0]
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\lib\site-packages\tflite_runtime\interpreter.py", line 818, in <lambda>
return lambda: self._interpreter.tensor(self._interpreter, tensor_index)
ValueError: Tensor data is null. Run allocate_tensors() first
in Object Detection (Coral)
2024-04-26 13:01:43: Response rec'd from Object Detection (Coral) command 'detect' (#reqid 9820afcb-79e5-434c-9df9-44125fc1615c)
2024-04-26 13:01:44: Client request 'detect' in queue 'objectdetection_queue' (#reqid a4af2e03-edda-4496-b217-22696cb46e64)
2024-04-26 13:01:44: Request 'detect' dequeued from 'objectdetection_queue' (#reqid a4af2e03-edda-4496-b217-22696cb46e64)
2024-04-26 13:01:44: Object Detection (Coral): Retrieved objectdetection_queue command 'detect' in Object Detection (Coral)
2024-04-26 13:01:44: Object Detection (Coral): [ValueError] : Traceback (most recent call last):
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_adapter.py", line 182, in _do_detection
result = do_detect(opts, img, score_threshold)
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_multitpu.py", line 121, in do_detect
return odcs.do_detect(options, image, score_threshold)
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\objectdetection_coral_singletpu.py", line 266, in do_detect
_, scale = common.set_resized_input(
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\lib\site-packages\pycoral\adapters\common.py", line 95, in set_resized_input
tensor = input_tensor(interpreter)
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\lib\site-packages\pycoral\adapters\common.py", line 65, in input_tensor
return interpreter.tensor(tensor_index)()[0]
File "C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\lib\site-packages\tflite_runtime\interpreter.py", line 818, in <lambda>
return lambda: self._interpreter.tensor(self._interpreter, tensor_index)
ValueError: Tensor data is null. Run allocate_tensors() first
in Object Detection (Coral)
2024-04-26 13:01:44: Response rec'd from Object Detection (Coral) command 'detect' (#reqid a4af2e03-edda-4496-b217-22696cb46e64)
2024-04-26 13:01:47: objectdetection_coral_adapter.py: WARNING:root:No work in 60.0 seconds, watchdog shutting down TPUs
I don't recall seeing anything like this before. Also lots of reverting to CPU entries as before.
I have changed back to YOLOv5 .NET. maybe it is more stable.
Again, It seems like the Coral version prior to 2.2.2 ran with next to no failed inferences, is there any way to roll back to that version in CPAI version 2.6.2, or should I try doing a complete uninstall/ reinstall of CPAI 2.6.2 and NOT upgrade the Coral module to 2.2.2?
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 10%
GPU RAM Usage 0
Global Environment variables:
CPAI_APPROOTPATH = <root>
CPAI_PORT = 32168
Module 'Object Detection (Coral)' 2.2.2 (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: 16
LogVerbosity:
Platforms: all
GPU Libraries: installed if available
GPU Enabled: enabled
Accelerator:
Half Precis.: enable
Environment Variables
CPAI_CORAL_MODEL_NAME = MobileNet SSD
CPAI_CORAL_MULTI_TPU = True
MODELS_DIR = <root>\modules\ObjectDetectionCoral\assets
MODEL_SIZE = medium
Status Data: {
"inferenceDevice": "TPU",
"inferenceLibrary": "TF-Lite",
"canUseGPU": "false",
"successfulInferences": 38422,
"failedInferences": 13426,
"numInferences": 51848,
"averageInferenceMs": 8.628442038415491
}
Started: 24 Apr 2024 3:15:09 PM Central Standard Time
LastSeen: 26 Apr 2024 1:03:09 PM Central Standard Time
Status: Stopped
Requests: 51850 (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
2024-04-21 07:35:18: Installing CodeProject.AI Analysis Module
2024-04-21 07:35:18: ======================================================================
2024-04-21 07:35:18: CodeProject.AI Installer
2024-04-21 07:35:18: ======================================================================
2024-04-21 07:35:18: 304.1Gb of 487Gb available on
2024-04-21 07:35:18: os, arch = windows x86_64
2024-04-21 07:35:18: systemName, platform = Windows, windows
2024-04-21 07:35:19: edgeDevice =
2024-04-21 07:35:19: setupMode = SetupModule
2024-04-21 07:35:19: executionEnvironment = Production
2024-04-21 07:35:19: rootDirPath = C:\Program Files\CodeProject\AI
2024-04-21 07:35:19: appRootDirPath = C:\Program Files\CodeProject\AI\
2024-04-21 07:35:19: setupScriptDirPath = C:\Program Files\CodeProject\AI\
2024-04-21 07:35:19: sdkScriptsDirPath = C:\Program Files\CodeProject\AI\SDK\Scripts
2024-04-21 07:35:19: runtimesDirPath = C:\Program Files\CodeProject\AI\runtimes
2024-04-21 07:35:19: modulesDirPath = C:\Program Files\CodeProject\AI\modules
2024-04-21 07:35:19: downloadDirPath = C:\Program Files\CodeProject\AI\downloads
2024-04-21 07:35:19: General CodeProject.AI setup
2024-04-21 07:35:19: Creating Directories...done
2024-04-21 07:35:19: GPU support
2024-04-21 07:35:20: CUDA Present...No
2024-04-21 07:35:20: ROCm Present...No
2024-04-21 07:35:20: Reading ObjectDetectionCoral settingsUsed modulesettings.json to get value Object Detection (Coral)
2024-04-21 07:35:21: .Used modulesettings.json to get value 2.2.2
2024-04-21 07:35:21: .Used modulesettings.windows.json to get value python3.9
2024-04-21 07:35:21: .Used modulesettings.json to get value Local
2024-04-21 07:35:22: .Used modulesettings.json to get value objectdetection_coral_adapter.py
2024-04-21 07:35:22: .Used modulesettings.json to get value true
2024-04-21 07:35:22: .Used modulesettings.json to get value ["all"]
2024-04-21 07:35:22: .done
2024-04-21 07:35:22: Installing module Object Detection (Coral) 2.2.2
2024-04-21 07:35:22: Variable Dump
2024-04-21 07:35:22: moduleName = Object Detection (Coral)
2024-04-21 07:35:22: moduleVersion = 2.2.2
2024-04-21 07:35:22: runtime = python3.9
2024-04-21 07:35:22: runtimeLocation = Local
2024-04-21 07:35:22: installGPU = true
2024-04-21 07:35:22: pythonVersion = 3.9
2024-04-21 07:35:22: virtualEnvDirPath = C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv
2024-04-21 07:35:23: venvPythonCmdPath = C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Scripts\python.exe
2024-04-21 07:35:23: packagesDirPath = C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\bin\windows\python39\venv\Lib\site-packages
2024-04-21 07:35:23: moduleStartFilePath = objectdetection_coral_adapter.py
2024-04-21 07:35:23: Installing Python 3.9
2024-04-21 07:35:23: Installing python39 in C:\Program Files\CodeProject\AI\runtimes\bin\windows\python39
2024-04-21 07:35:23: Python 3.9 is already installed
2024-04-21 07:35:23: Creating Virtual Environment (Local)...Virtual Environment already present
2024-04-21 07:35:23: Confirming we have Python 3.9 in our virtual environment...present
2024-04-21 07:35:23: Installing the edge TPU libraries...
2024-04-21 07:35:23: Installing UsbDk
2024-04-21 07:35:24: Installing Windows drivers
2024-04-21 07:35:24: Microsoft PnP Utility
2024-04-21 07:35:24: Adding driver package: coral.inf
2024-04-21 07:35:24: Driver package added successfully. (Already exists in the system)
2024-04-21 07:35:24: Published Name: oem40.inf
2024-04-21 07:35:24: Driver package is up-to-date on device: PCI\VEN_1AC1&DEV_089A&SUBSYS_089A1AC1&REV_00\4&6ba732e&0&00D8
2024-04-21 07:35:24: Adding driver package: Coral_USB_Accelerator.inf
2024-04-21 07:35:24: Driver package added successfully. (Already exists in the system)
2024-04-21 07:35:24: Published Name: oem43.inf
2024-04-21 07:35:24: Driver package installed on device: USB\VID_18D1&PID_9302\5&220fb38b&0&10
2024-04-21 07:35:24: Adding driver package: Coral_USB_Accelerator_(DFU).inf
2024-04-21 07:35:24: Driver package added successfully. (Already exists in the system)
2024-04-21 07:35:24: Published Name: oem55.inf
2024-04-21 07:35:24: Total driver packages: 3
2024-04-21 07:35:24: Added driver packages: 2
2024-04-21 07:35:24: Installing performance counters
2024-04-21 07:35:24: 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-21 07:35:24: 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-21 07:35:24: 1 file(s) copied.
2024-04-21 07:35:24: 1 file(s) copied.
2024-04-21 07:35:24: Install complete
2024-04-21 07:35:24: Downloading objectdetection-efficientdet-large-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:24: Downloading EfficientDet (large) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-efficientdet-large-edgetpu.zip'
2024-04-21 07:35:24: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:24: Extracting objectdetection-efficientdet-large-edgetpu.zip
2024-04-21 07:35:25: done.
2024-04-21 07:35:25: Copying contents of objectdetection-efficientdet-large-edgetpu.zip to assets...done
2024-04-21 07:35:25: Downloading objectdetection-efficientdet-medium-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:25: Downloading EfficientDet (medium) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-efficientdet-medium-edgetpu.zip'
2024-04-21 07:35:25: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:25: Extracting objectdetection-efficientdet-medium-edgetpu.zip
2024-04-21 07:35:25: done.
2024-04-21 07:35:25: Copying contents of objectdetection-efficientdet-medium-edgetpu.zip to assets...done
2024-04-21 07:35:25: Downloading objectdetection-efficientdet-small-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:25: Downloading EfficientDet (small) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-efficientdet-small-edgetpu.zip'
2024-04-21 07:35:25: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:25: Extracting objectdetection-efficientdet-small-edgetpu.zip
2024-04-21 07:35:26: done.
2024-04-21 07:35:26: Copying contents of objectdetection-efficientdet-small-edgetpu.zip to assets...done
2024-04-21 07:35:26: Downloading objectdetection-efficientdet-tiny-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:26: Downloading EfficientDet (tiny) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-efficientdet-tiny-edgetpu.zip'
2024-04-21 07:35:26: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:26: Extracting objectdetection-efficientdet-tiny-edgetpu.zip
2024-04-21 07:35:26: done.
2024-04-21 07:35:26: Copying contents of objectdetection-efficientdet-tiny-edgetpu.zip to assets...done
2024-04-21 07:35:26: Downloading objectdetection-mobilenet-large-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:26: Downloading MobileNet (large) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-mobilenet-large-edgetpu.zip'
2024-04-21 07:35:26: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:26: Extracting objectdetection-mobilenet-large-edgetpu.zip
2024-04-21 07:35:27: done.
2024-04-21 07:35:27: Copying contents of objectdetection-mobilenet-large-edgetpu.zip to assets...done
2024-04-21 07:35:27: Downloading objectdetection-mobilenet-medium-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:27: Downloading MobileNet (medium) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-mobilenet-medium-edgetpu.zip'
2024-04-21 07:35:27: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:27: Extracting objectdetection-mobilenet-medium-edgetpu.zip
2024-04-21 07:35:27: done.
2024-04-21 07:35:28: Copying contents of objectdetection-mobilenet-medium-edgetpu.zip to assets...done
2024-04-21 07:35:28: Downloading objectdetection-mobilenet-small-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:28: Downloading MobileNet (small) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-mobilenet-small-edgetpu.zip'
2024-04-21 07:35:28: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:28: Extracting objectdetection-mobilenet-small-edgetpu.zip
2024-04-21 07:35:28: done.
2024-04-21 07:35:28: Copying contents of objectdetection-mobilenet-small-edgetpu.zip to assets...done
2024-04-21 07:35:28: Downloading objectdetection-mobilenet-tiny-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:28: Downloading MobileNet (tiny) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-mobilenet-tiny-edgetpu.zip'
2024-04-21 07:35:28: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:28: Extracting objectdetection-mobilenet-tiny-edgetpu.zip
2024-04-21 07:35:28: done.
2024-04-21 07:35:29: Copying contents of objectdetection-mobilenet-tiny-edgetpu.zip to assets...done
2024-04-21 07:35:29: Downloading objectdetection-yolov8-large-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:29: Downloading YOLOv8 (large) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-yolov8-large-edgetpu.zip'
2024-04-21 07:35:29: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:29: Extracting objectdetection-yolov8-large-edgetpu.zip
2024-04-21 07:35:30: done.
2024-04-21 07:35:30: Copying contents of objectdetection-yolov8-large-edgetpu.zip to assets...done
2024-04-21 07:35:30: Downloading objectdetection-yolov8-medium-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:30: Downloading YOLOv8 (medium) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-yolov8-medium-edgetpu.zip'
2024-04-21 07:35:30: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:30: Extracting objectdetection-yolov8-medium-edgetpu.zip
2024-04-21 07:35:31: done.
2024-04-21 07:35:31: Copying contents of objectdetection-yolov8-medium-edgetpu.zip to assets...done
2024-04-21 07:35:31: Downloading objectdetection-yolov8-small-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:31: Downloading YOLOv8 (small) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-yolov8-small-edgetpu.zip'
2024-04-21 07:35:31: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:31: Extracting objectdetection-yolov8-small-edgetpu.zip
2024-04-21 07:35:31: done.
2024-04-21 07:35:31: Copying contents of objectdetection-yolov8-small-edgetpu.zip to assets...done
2024-04-21 07:35:32: Downloading objectdetection-yolov8-tiny-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:35:32: Downloading YOLOv8 (tiny) models...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-yolov8-tiny-edgetpu.zip'
2024-04-21 07:35:32: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:35:32: Extracting objectdetection-yolov8-tiny-edgetpu.zip
2024-04-21 07:35:32: done.
2024-04-21 07:35:32: Copying contents of objectdetection-yolov8-tiny-edgetpu.zip to assets...done
2024-04-21 07:35:32: Installing Python packages for Object Detection (Coral)
2024-04-21 07:35:32: [0;Installing GPU-enabled libraries: If available
2024-04-21 07:35:34: Ensuring Python package manager (pip) is installed...Looking in links: c:\Windows\TEMP\tmp97euq9zj
2024-04-21 07:35:34: Requirement already satisfied: setuptools in c:\program files\codeproject\ai\modules\objectdetectioncoral\bin\windows\python39\venv\lib\site-packages (69.2.0)
2024-04-21 07:35:34: Requirement already satisfied: pip in c:\program files\codeproject\ai\modules\objectdetectioncoral\bin\windows\python39\venv\lib\site-packages (24.0)
2024-04-21 07:35:34: done
2024-04-21 07:35:35: Ensuring Python package manager (pip) is up to date...Requirement already satisfied: setuptools in c:\program files\codeproject\ai\modules\objectdetectioncoral\bin\windows\python39\venv\lib\site-packages (69.2.0)
2024-04-21 07:35:36: Collecting setuptools
2024-04-21 07:35:36: Downloading setuptools-69.5.1-py3-none-any.whl.metadata (6.2 kB)
2024-04-21 07:35:36: Downloading setuptools-69.5.1-py3-none-any.whl (894 kB)
2024-04-21 07:35:36: ---------------------------------------- 894.6/894.6 kB 6.3 MB/s eta 0:00:00
2024-04-21 07:35:36: Installing collected packages: setuptools
2024-04-21 07:35:36: Attempting uninstall: setuptools
2024-04-21 07:35:36: Found existing installation: setuptools 69.2.0
2024-04-21 07:35:37: Uninstalling setuptools-69.2.0:
2024-04-21 07:35:37: Successfully uninstalled setuptools-69.2.0
2024-04-21 07:35:38: Successfully installed setuptools-69.5.1
2024-04-21 07:35:39: Requirement already satisfied: pip in c:\program files\codeproject\ai\modules\objectdetectioncoral\bin\windows\python39\venv\lib\site-packages (24.0)
2024-04-21 07:35:39: done
2024-04-21 07:35:39: Requirements Search Path is C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral
2024-04-21 07:35:39: Searching for a suitable requirements.txts file in C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral
2024-04-21 07:35:39: Python packages specified by requirements.windows.txt
2024-04-21 07:35:39: Choosing Python packages from C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\requirements.windows.txt
2024-04-21 07:35:40: - Installing Pillow, a Python Image Library...Already installed
2024-04-21 07:35:41: - Installing Tensorflow Lite...Already installed
2024-04-21 07:35:42: - Installing PyCoral...Already installed
2024-04-21 07:35:59: - Installing NumPy, a package for scientific computing...Already installed
2024-04-21 07:36:00: Installing Python packages for the CodeProject.AI Server SDK
2024-04-21 07:36:01: Ensuring Python package manager (pip) is installed...Looking in links: c:\Windows\TEMP\tmpoz0mfidn
2024-04-21 07:36:01: Requirement already satisfied: setuptools in c:\program files\codeproject\ai\modules\objectdetectioncoral\bin\windows\python39\venv\lib\site-packages (69.5.1)
2024-04-21 07:36:01: Requirement already satisfied: pip in c:\program files\codeproject\ai\modules\objectdetectioncoral\bin\windows\python39\venv\lib\site-packages (24.0)
2024-04-21 07:36:01: done
2024-04-21 07:36:01: Ensuring Python package manager (pip) is up to date...Requirement already satisfied: setuptools in c:\program files\codeproject\ai\modules\objectdetectioncoral\bin\windows\python39\venv\lib\site-packages (69.5.1)
2024-04-21 07:36:03: Requirement already satisfied: pip in c:\program files\codeproject\ai\modules\objectdetectioncoral\bin\windows\python39\venv\lib\site-packages (24.0)
2024-04-21 07:36:03: done
2024-04-21 07:36:03: Requirements Search Path is C:\Program Files\CodeProject\AI\SDK\Python
2024-04-21 07:36:03: Searching for a suitable requirements.txts file in C:\Program Files\CodeProject\AI\SDK\Python
2024-04-21 07:36:03: Python packages specified by requirements.txt
2024-04-21 07:36:03: Choosing Python packages from C:\Program Files\CodeProject\AI\SDK\Python\requirements.txt
2024-04-21 07:36:04: - Installing Pillow, a Python Image Library...Already installed
2024-04-21 07:36:05: - Installing Charset normalizer...Already installed
2024-04-21 07:36:06: - Installing aiohttp, the Async IO HTTP library...Already installed
2024-04-21 07:36:07: - Installing aiofiles, the Async IO Files library...Already installed
2024-04-21 07:36:08: - Installing py-cpuinfo to allow us to query CPU info...Already installed
2024-04-21 07:36:09: - Installing Requests, the HTTP library...Already installed
2024-04-21 07:36:09: Scanning modulesettings for downloadable models...Used modulesettings.json to get value MobileNet Large
2024-04-21 07:36:09: Used modulesettings.json to get value true
2024-04-21 07:36:09: Processing model list
2024-04-21 07:36:10: Used modulesettings.json to get value objectdetection-mobilenet-large-edgetpu.zip
2024-04-21 07:36:10: Used modulesettings.json to get value assets
2024-04-21 07:36:10: Downloading objectdetection-mobilenet-large-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:36:10: Downloading MobileNet Large...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-mobilenet-large-edgetpu.zip'
2024-04-21 07:36:10: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:36:10: Extracting objectdetection-mobilenet-large-edgetpu.zip
2024-04-21 07:36:11: done.
2024-04-21 07:36:11: Copying contents of objectdetection-mobilenet-large-edgetpu.zip to assets...done
2024-04-21 07:36:11: Used modulesettings.json to get value MobileNet Medium
2024-04-21 07:36:11: Used modulesettings.json to get value true
2024-04-21 07:36:11: Used modulesettings.json to get value objectdetection-mobilenet-medium-edgetpu.zip
2024-04-21 07:36:12: Used modulesettings.json to get value assets
2024-04-21 07:36:12: Downloading objectdetection-mobilenet-medium-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:36:12: Downloading MobileNet Medium...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-mobilenet-medium-edgetpu.zip'
2024-04-21 07:36:12: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:36:12: Extracting objectdetection-mobilenet-medium-edgetpu.zip
2024-04-21 07:36:12: done.
2024-04-21 07:36:12: Copying contents of objectdetection-mobilenet-medium-edgetpu.zip to assets...done
2024-04-21 07:36:12: Used modulesettings.json to get value MobileNet Small
2024-04-21 07:36:13: Used modulesettings.json to get value true
2024-04-21 07:36:13: Used modulesettings.json to get value objectdetection-mobilenet-small-edgetpu.zip
2024-04-21 07:36:13: Used modulesettings.json to get value assets
2024-04-21 07:36:13: Downloading objectdetection-mobilenet-small-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:36:13: Downloading MobileNet Small...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-mobilenet-small-edgetpu.zip'
2024-04-21 07:36:13: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:36:13: Extracting objectdetection-mobilenet-small-edgetpu.zip
2024-04-21 07:36:14: done.
2024-04-21 07:36:14: Copying contents of objectdetection-mobilenet-small-edgetpu.zip to assets...done
2024-04-21 07:36:14: Used modulesettings.json to get value MobileNet Tiny
2024-04-21 07:36:14: Used modulesettings.json to get value true
2024-04-21 07:36:14: Used modulesettings.json to get value objectdetection-mobilenet-tiny-edgetpu.zip
2024-04-21 07:36:15: Used modulesettings.json to get value assets
2024-04-21 07:36:15: Downloading objectdetection-mobilenet-tiny-edgetpu.zip to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\assets
2024-04-21 07:36:15: Downloading MobileNet Tiny...Checking 'C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral\objectdetection-mobilenet-tiny-edgetpu.zip'
2024-04-21 07:36:15: already exists...Expanding...Heading to C:\Program Files\CodeProject\AI\downloads\modules\ObjectDetectionCoral
2024-04-21 07:36:15: Extracting objectdetection-mobilenet-tiny-edgetpu.zip
2024-04-21 07:36:15: done.
2024-04-21 07:36:15: Copying contents of objectdetection-mobilenet-tiny-edgetpu.zip to assets...done
2024-04-21 07:36:15: Used modulesettings.json to get value EfficientDet Large
2024-04-21 07:36:16: Used modulesettings.json to get value false
2024-04-21 07:36:16: Used modulesettings.json to get value EfficientDet Medium
2024-04-21 07:36:16: Used modulesettings.json to get value false
2024-04-21 07:36:17: Used modulesettings.json to get value EfficientDet Small
2024-04-21 07:36:17: Used modulesettings.json to get value false
2024-04-21 07:36:17: Used modulesettings.json to get value EfficientDet Tiny
2024-04-21 07:36:17: Used modulesettings.json to get value false
2024-04-21 07:36:18: Used modulesettings.json to get value YOLOv5 Large
2024-04-21 07:36:18: Used modulesettings.json to get value false
2024-04-21 07:36:18: Used modulesettings.json to get value YOLOv5 Medium
2024-04-21 07:36:18: Used modulesettings.json to get value false
2024-04-21 07:36:19: Used modulesettings.json to get value YOLOv5 Small
2024-04-21 07:36:19: Used modulesettings.json to get value false
2024-04-21 07:36:19: Used modulesettings.json to get value YOLOv5 Tiny
2024-04-21 07:36:20: Used modulesettings.json to get value false
2024-04-21 07:36:20: Used modulesettings.json to get value YOLOv8 Large
2024-04-21 07:36:20: Used modulesettings.json to get value false
2024-04-21 07:36:20: Used modulesettings.json to get value YOLOv8 Medium
2024-04-21 07:36:21: Used modulesettings.json to get value false
2024-04-21 07:36:21: Used modulesettings.json to get value YOLOv8 Small
2024-04-21 07:36:21: Used modulesettings.json to get value false
2024-04-21 07:36:22: Used modulesettings.json to get value YOLOv8 Tiny
2024-04-21 07:36:22: Used modulesettings.json to get value false
2024-04-21 07:36:22: SELF TEST START ======================================================
2024-04-21 07:36:29: Debug: MODULE_PATH: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral
2024-04-21 07:36:29: Debug: MODELS_DIR: C:\Program Files\CodeProject\AI\modules\ObjectDetectionCoral\assets
2024-04-21 07:36:29: Debug: CPAI_CORAL_MODEL_NAME: mobilenet ssd
2024-04-21 07:36:29: Debug: MODEL_SIZE: small
2024-04-21 07:36:29: Debug: CPU_MODEL_NAME: tf2_ssd_mobilenet_v2_coco17_ptq.tflite
2024-04-21 07:36:29: Debug: TPU_MODEL_NAME: tf2_ssd_mobilenet_v2_coco17_ptq_edgetpu.tflite
2024-04-21 07:36:29: Info: TPU detected
2024-04-21 07:36:29: Info: Attempting multi-TPU initialisation
2024-04-21 07:36:29: Info: Supporting multiple Edge TPUs
2024-04-21 07:36:29: Info: Self-test for ObjectDetectionCoral. Success: True
2024-04-21 07:36:29: Self-test passed
2024-04-21 07:36:29: SELF TEST END ======================================================
2024-04-21 07:36:30: Module setup time 00:01:09.59
2024-04-21 07:36:30: Setup complete
2024-04-21 07:36:30: Total setup time 00:01:11.33
Installer exited with code 0
|
|
|
|
|
So, I see a few things going on here. First is that it doesn't look like the multi-TPU code is throwing the error. It looks like it's falling back to the single TPU original code that has been unchanged, and that's what's throwing the exception. So part of the problem here is that this fallback code isn't working right.
The other part is that it is falling back in the first place and I don't know why. Do you see any log messages that might show why? Looking at the logs you've posted, I can only notice possible problems in the older modules you've used, but most recently this self-test looks like it's passing. So I don't know why it'd be falling back to the single-TPU code.
I'm going to try to make a few changes to 'fix' the problem, but I suspect the actual problem is still hiding in there. As far as how you can 'fix' the problem for yourself right now: I'm not as familiar with how CPAI does its business, I'm more familiar with the lower level TPU-running code. So the first thing I'd try is explicitly selecting the single-TPU code if you're attempting to currently run the multi-TPU code. I think this PR will improve the situation in the next release:
Some changes that should fix & debug a multi/single TPU failure by seth-planet · Pull Request #1 · codeproject/CodeProject.AI-ObjectDetectionCoral · GitHub[^]
|
|
|
|
|
I tried uninstalling and reinstalling CPAI ver 2.6.2 along with deleting Program Files and Program Data folders. I wound up with the Coral ver 2.2.2 module again. While testing with the Explorer, I found the Coral module just stopping for some unknown reason. I am now back to YOLOv5 6.2 with ipcam-combined and ipcam-dark. Working well now. It would be nice to be able to get back to Coral ver 2.2.0 in my opinion.
|
|
|
|
|
I might try to roll CPAI back to 2.5.6 which is the last version that I think I have. I might also try nukeing the CPAI data in the registry as well.
|
|
|
|
|
On the latest CPAI and using a Coral USB, CPAI at some point switches to using the computer's CPU instead of the Coral. Blue Iris continues to work, but obviously my computer's CPU usage goes up and the response times are greatly increased.
After a few days of running CPAI with the Coral, I noticed that I hadn't had to restart the CPAI docker in quite a while (usually, the Coral either stops responding silently or shuts down explicitly a couple of times every single day). I was suspicious at this "success" and checked, and saw that CPAI was running the detections on my computer's CPU. The status still said "CPU (TF-Lite)" which it says even when the Coral is working, but the detections were taking ~88ms instead of the usual ~13ms.
As with every other problem with the Coral, this was temporarily remedied by me manually restarting the CPAI docker.
|
|
|
|
|
USB Coral? Windows host?
cheers
Chris Maunder
|
|
|
|
|
|
Just updated to 2.6.2 docker
After some time log get flooded with:
13:26:18:detect_adapter.py: WARNING ⚠️ NMS time limit 0.550s exceeded
13:26:28:detect_adapter.py: WARNING ⚠️ NMS time limit 0.550s exceeded
13:27:25:detect_adapter.py: WARNING ⚠️ NMS time limit 0.550s exceeded
13:27:30:detect_adapter.py: WARNING ⚠️ NMS time limit 0.550s exceeded
It didnt do that ever before.
How do I fix this?
|
|
|
|
|
What module and hardware?
|
|
|
|
|
Thanks very much for your report. Could you please share your System Info tab from your CodeProject.AI Server dashboard?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
You're using Coral, right? USB or PCIe?
This error occurs when you're using the YOLOv5 models in Coral, and the non-max suppression method takes too long to sort through all the bounding boxes identified in an image.
What hardware are you running the docker container on, and if possible, could you post an example of an image that's causing this?
cheers
Chris Maunder
|
|
|
|
|
Sorry, forgot to post system info but then could edit post until approved.
not using coral, afaik.
using cuda12.2.2.6.2, upgraded from 12_2.2.5.6 the day before
with Blue Iris 5.9.0.1
CodeProject.AI
Docs
Forums
The Code
CodeProject.AI Explorer
cpai
Offline
2.6.2
☀️
Your self-contained AI server. Need help? Common solutions or ask a Question. Use in your apps: API guide or add your own AI module. FAQs: Blue Iris, Home Assistant, Agent DVR, Wyze cams.
Server version: 2.6.2
System: Docker (cpai)
Operating System: Linux (Ubuntu 22.04)
CPUs: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz (Intel)
1 CPU x 8 cores. 8 logical processors (x64)
GPU (Primary): (NVIDIA), CUDA: (up to: ), Compute: , cuDNN: 8.9.6
System RAM: 16 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
|
|
|
|
|
Been running 2.6.2 since it's release with YOLOv8 v1.4.3 and FaceProcessing v1.10.2 as well.
Then I restarted the server that runs the Docker environment. Upon restart it keep telling me:
An item with the same key has already been added. Key: FaceProcessing.
I searched all the AppModules for extra FaceProcessing but nothing...
The only thing that would allow me to start CodeProject was to rename the folder FaceProcessing under
C:\ProgramData\CodeProject\AI\docker\modules
Which I bond with the way I run the docker:
docker run --name cuda12_2-2.6.2 -d -p 32168:32168 --gpus all --mount type=bind,source=C:\ProgramData\CodeProject\AI\docker\data,target=/etc/codeproject/ai --mount type=bind,source=C:\ProgramData\CodeProject\AI\docker\modules,target=/app/modules codeproject/ai-server:cuda12_2-2.6.2
This was a clean install, meaning nothing was in the ProgramData\CodeProject\AI\Docker folder until I installed YOLOv8 and Upgraded FaceProcessing. Those were put there on the install.
|
|
|
|
|
This is an issue where you have a module pre-installed then you update or reinstall and it appears in a different folder. This has been fixed in our next release due next week
cheers
Chris Maunder
|
|
|
|
|
Understanding that the YoloV5 model likes to detect house plants and tooth brushes in my backyard, how do I detect all things? Currently in BlueIris under Camera Settings -> Alert -> AI configuration I have "To confirm" set to the default of "person,car,truck,bus,bicycle,vehicle". But I know there is a lot of other stuff, like dog cat... Toothbrush. Can I set "To confirm" to a wild card?
modified 25-Apr-24 11:58am.
|
|
|
|
|
You can just leave it blank and it will detect all the objects that the model detects
|
|
|
|
|
i recently installed codeproject-ai and pass my coral usb stick through to the docker container. i've downloaded the coral usb module within the cpai interface, but i'm not sure how to make sure all other installed models are running through my coral stick and not cpu.
is there a way to verify this?
|
|
|
|
|