How to enable the Object Detection (Coral) for Docker
-
Hi, I've put a Coral TPU (PCIe) in my server, passed it to the Codeproject AI VM and run the docker in "priviledged: true" so it has access to all devices on the VM Coral is available in the Ubuntu VM:
02:01.0 SATA controller: VMware SATA AHCI controller
03:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
0b:00.0 System peripheral: Global Unichip Corp. Coral Edge TPUI've installed the Coral TPU module in the AI server via the web interface. However, on the status page it still says: Not enabled (That's the point where I look how to insert an image here) So, it shows: Face processing: Started Object Detection (YOLOv5 .NET): Not enabled Object Detection (YOLOv5 6.2): Started ObjectDetection (Coral): Not enabled How can I switch to use the Coral now? My docker-compose:
version: "3.3"
services:
deepstack:
image: codeproject/ai-server:latest
restart: unless-stopped
container_name: senseai
privileged: true
ports:
- "80:5000"
environment:
- VISION-SCENE=True
- VISION-FACE=True
- VISION-DETECTION=True
- CUDA_MODE=False
- MODE=Medium
- PROFILE=desktop_cpu
- Modules:TextSummary:Activate=False- MODELS_DIR=/usr/share/CodeProject/SenseAI/models
volumes: - /opt/senseai/data:/usr/share/CodeProject/SenseAI:rw
devices:
- /sys/bus/pci/devices/0000:0b:00.0:/sys/bus/pci/devices/0000:0b:00.0
-
Hi, I've put a Coral TPU (PCIe) in my server, passed it to the Codeproject AI VM and run the docker in "priviledged: true" so it has access to all devices on the VM Coral is available in the Ubuntu VM:
02:01.0 SATA controller: VMware SATA AHCI controller
03:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
0b:00.0 System peripheral: Global Unichip Corp. Coral Edge TPUI've installed the Coral TPU module in the AI server via the web interface. However, on the status page it still says: Not enabled (That's the point where I look how to insert an image here) So, it shows: Face processing: Started Object Detection (YOLOv5 .NET): Not enabled Object Detection (YOLOv5 6.2): Started ObjectDetection (Coral): Not enabled How can I switch to use the Coral now? My docker-compose:
version: "3.3"
services:
deepstack:
image: codeproject/ai-server:latest
restart: unless-stopped
container_name: senseai
privileged: true
ports:
- "80:5000"
environment:
- VISION-SCENE=True
- VISION-FACE=True
- VISION-DETECTION=True
- CUDA_MODE=False
- MODE=Medium
- PROFILE=desktop_cpu
- Modules:TextSummary:Activate=False- MODELS_DIR=/usr/share/CodeProject/SenseAI/models
volumes: - /opt/senseai/data:/usr/share/CodeProject/SenseAI:rw
devices:
- /sys/bus/pci/devices/0000:0b:00.0:/sys/bus/pci/devices/0000:0b:00.0
You might want to ask your question here: CodeProject.AI Discussions[^]
Software Zen:
delete this;
-
You might want to ask your question here: CodeProject.AI Discussions[^]
Software Zen:
delete this;
-
To be fair, the red text needs to be in 72-point font for anyone to see it, let alone read it.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
To be fair, the red text needs to be in 72-point font for anyone to see it, let alone read it.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
... and trigger a 10KVA spike to the keyboard when someone doesn't pay attention.
Software Zen:
delete this;