Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How to enable the Object Detection (Coral) for Docker

How to enable the Object Detection (Coral) for Docker

Scheduled Pinned Locked Moved The Lounge
dockerquestioncsharpsysadminlinux
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marco J
    wrote on last edited by
    #1

    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 TPU

    I'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

    G 1 Reply Last reply
    0
    • M Marco J

      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 TPU

      I'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

      G Offline
      G Offline
      Gary R Wheeler
      wrote on last edited by
      #2

      You might want to ask your question here: CodeProject.AI Discussions[^]

      Software Zen: delete this;

      M 1 Reply Last reply
      0
      • G Gary R Wheeler

        You might want to ask your question here: CodeProject.AI Discussions[^]

        Software Zen: delete this;

        M Offline
        M Offline
        Marco J
        wrote on last edited by
        #3

        Argh, you're right. This forum software is a mess ...

        L 1 Reply Last reply
        0
        • M Marco J

          Argh, you're right. This forum software is a mess ...

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          The forum is fine. The problem is people don't read the messages at the top.

          D 1 Reply Last reply
          0
          • L Lost User

            The forum is fine. The problem is people don't read the messages at the top.

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            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

            0 1 Reply Last reply
            0
            • D 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

              0 Offline
              0 Offline
              0x01AA
              wrote on last edited by
              #6

              ... and pinned as header

              G 1 Reply Last reply
              0
              • 0 0x01AA

                ... and pinned as header

                G Offline
                G Offline
                Gary R Wheeler
                wrote on last edited by
                #7

                ... and trigger a 10KVA spike to the keyboard when someone doesn't pay attention.

                Software Zen: delete this;

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups