question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No EdgeTPU detected. Falling back to CPU.

See original GitHub issue

Getting the error No EdgeTPU detected. Falling back to CPU. The EdgeTPU is setup and working correctly, fully testing and working. Just not with Frigate.

Setup using Docker Compose using the example provided.

/arrow/cpp/src/plasma/store.cc:1226: Allowing the Plasma store to use up to 0.4GB of memory.


/arrow/cpp/src/plasma/store.cc:1253: Starting object store with directory /dev/shm and huge page support disabled


Camera_process started for test: 21


Starting detection process: 20


Starting process for test: 21


eating ffmpeg process...


ffmpeg -hide_banner -loglevel panic -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -vsync drop -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://192.168.1.32:8554/unicast -f rawvideo -pix_fmt rgb24 pipe:


 * Serving Flask app "detect_objects" (lazy loading)


 * Environment: production


   WARNING: This is a development server. Do not use it in a production deployment.


   Use a production WSGI server instead.


 * Debug mode: off


No EdgeTPU detected. Falling back to CPU.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
roofuskitcommented, May 11, 2020
    frigate:
      container_name: frigate
      restart: unless-stopped
      privileged: true
      shm_size: '1g' # should work for 5-7 cameras
      image: blakeblackshear/frigate:stable
      volumes:
        - /dev/bus/usb:/dev/bus/usb
        - /etc/localtime:/etc/localtime:ro
        - /home/tensorflow/frigate:/config
      ports:
        - "5050:5000"
      environment:
        FRIGATE_RTSP_PASSWORD: "password"
Bus 002 Device 002: ID 18d1:9302 Google Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x18d1 Google Inc.
  idProduct          0x9302
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           96
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              224mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           6
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst              15
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
        bMaxBurst               0
Device Status:     0x0c00
  (Bus Powered)
/dev/bus
/dev/bus/usb
/dev/bus/usb/002
/dev/bus/usb/002/002
/dev/bus/usb/002/001
/dev/bus/usb/001
/dev/bus/usb/001/006
/dev/bus/usb/001/005
/dev/bus/usb/001/004
/dev/bus/usb/001/003
/dev/bus/usb/001/002
/dev/bus/usb/001/001
0reactions
blakeblackshearcommented, Oct 19, 2020

Are you sure you aren’t running another instance of frigate? The coral can only be used by a single process. Also try removing your detectors config section entirely.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No EdgeTPU was detected, ValueError: Failed to load ...
Reboot of system has not fixed it, and I have had to fall back to cpu. One system is Ubuntu with pci-e coral,...
Read more >
Frigate - No EdgeTPU was detected - Third party integrations
I'm running Frigate as a HassOS addon, running as an ESXi VM on VMWare ESXi 6.7. In ESXi the Coral USB shows up...
Read more >
blakeblackshear/frigate - [REPO]@Telematika
Frigate - NVR With Realtime Object Detection for IP Cameras ... but Frigate will fall back to CPU in the event one is...
Read more >
Hacking Google Coral Edge TPU: motion blur and Lanczos ...
First of all, the Edge TPU software is not fully open source. The most “tasty” bits, edgetpu_compiler executable and libedgetpu.so shared ...
Read more >
Troubleshooting JAX - TPU - Google Cloud
Everything will be run on the TPU as long as JAX doesn't print "No GPU/TPU found, falling back to CPU." You can verify...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found