I built the libedgtpu and I am running my application with the library. I was debugging this function:
EdgeTpuManagerDirect::OpenDeviceInternal(
and it does not seem to detect any device.
How can I make the library detect the accelerator? I have been struggling with this for months, any help or direction will be appreciated!
Click to expand!
### Issue Type
Support
### Operating System
Linux
### Coral Device
M.2 Accelerator B+M
### Other Devices
Rapsberry Pi 4
### Programming Language
C++
### Relevant Log Output
```shell
root@raspberrypi4-64:/usr/local/bin# ./minimal
available_tpus.size: 0
@@ Iterates through all requeste[22619.469685] audit: type=1701 audit(1651190429.755:23): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=111304 comm="minimal" exe="/usr/local/bin/minimal" sig=11 res=1
d device types. allow_any_path:1
@@ extended_device_path:
@@ extended_device_path
@@ Iterates through all requested device types. allow_any_path:1
@@ extended_device_path:
@@ extended_device_path
@@ Iterates through all requested device types. allow_any_path:1
@@ extended_device_path:
@@ extended_device_path
@@ failed allocating
Segmentation fault
root@raspberrypi4-64:/usr/local/bin# ./minimal
ERROR: Could not open 'models/mobilenet_v1_1.0_224_quant_edgetpu.tflite'.
available_tpus.size: 0
@@ Iterates through all [22637.591243] audit: type=1701 audit(1651190447.879:24): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=111399 comm="minimal" exe="/usr/local/bin/minimal" sig=11 res=1
requested device types. allow_any_path:1
@@ extended_device_path:
@@ extended_device_path
@@ Iterates through all requested device types. allow_any_path:1
@@ extended_device_path:
@@ extended_device_path
@@ Iterates through all requested device types. allow_any_path:1
@@ extended_device_path:
@@ extended_device_path
@@ failed allocating
Segmentation fault
```
Description
I am trying to detect if my Edge TPU M.2 Accelerator B+M key is working or not. I am using this board with 64 bit Linux running on the Pi4.
I built the libedgtpu and I am running my application with the library. I was debugging this function: EdgeTpuManagerDirect::OpenDeviceInternal( and it does not seem to detect any device.
How can I make the library detect the accelerator? I have been struggling with this for months, any help or direction will be appreciated!
Click to expand!
### Issue Type Support ### Operating System Linux ### Coral Device M.2 Accelerator B+M ### Other Devices Rapsberry Pi 4 ### Programming Language C++ ### Relevant Log Output ```shell root@raspberrypi4-64:/usr/local/bin# ./minimal available_tpus.size: 0 @@ Iterates through all requeste[22619.469685] audit: type=1701 audit(1651190429.755:23): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=111304 comm="minimal" exe="/usr/local/bin/minimal" sig=11 res=1 d device types. allow_any_path:1 @@ extended_device_path: @@ extended_device_path @@ Iterates through all requested device types. allow_any_path:1 @@ extended_device_path: @@ extended_device_path @@ Iterates through all requested device types. allow_any_path:1 @@ extended_device_path: @@ extended_device_path @@ failed allocating Segmentation fault root@raspberrypi4-64:/usr/local/bin# ./minimal ERROR: Could not open 'models/mobilenet_v1_1.0_224_quant_edgetpu.tflite'. available_tpus.size: 0 @@ Iterates through all [22637.591243] audit: type=1701 audit(1651190447.879:24): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=111399 comm="minimal" exe="/usr/local/bin/minimal" sig=11 res=1 requested device types. allow_any_path:1 @@ extended_device_path: @@ extended_device_path @@ Iterates through all requested device types. allow_any_path:1 @@ extended_device_path: @@ extended_device_path @@ Iterates through all requested device types. allow_any_path:1 @@ extended_device_path: @@ extended_device_path @@ failed allocating Segmentation fault ```