google-coral

Nothing shows up on console after powering coral dev board

主宰稳场 提交于 2021-01-29 15:26:03
问题 I have been recently trying to flash the google coral dev board. dmesg | grep ttyUSB [ I get the expected output] [ 6437.706335] usb 2-13.1: cp210x converter now attached to ttyUSB0 [ 6437.708049] usb 2-13.1: cp210x converter now attached to ttyUSB1 screen /dev/ttyUSB0 115200 Screen goes back (blinking cursor) But after I power up the dev board, no welcome message or anything comes up on the console, it just remains blank. I am not sure what the issue is. Any help would be highly appreciated.

Reducing .tflite model size

吃可爱长大的小学妹 提交于 2021-01-28 08:17:25
问题 Any of the zoo .tflite models I see are no more than 3MB in size. On an edgetpu they run fine. However, when I train my own object detection model the .pb file is 60MB and the .tflite is also huge at 20MB! It's also quantized as per below. The end result is segmentation faults on an edgetpu object_detection model. What's causing this file to be so large? Do non-resized images being fed into the model cause the model to be large (some photos were 4096×2160 and not resized)? From object

Google EdgeTPU can't get PWM to work with Python

∥☆過路亽.° 提交于 2020-07-22 02:51:08
问题 Here is my testing code: from periphery import PWM import time # Open PWM channel 0, pin 0 pwm = PWM(0,0) # Set frequency to 1 kHz pwm.frequency = 50 # Set duty cycle to 75% pwm.duty_cycle = 0.02 pwm.enable() print(pwm.period) print(pwm.frequency) print(pwm.enabled) # Change duty cycle to 50% pwm.duty_cycle = 0.05 pwm.close() Problem is this part: # Open PWM channel 0, pin 0 pwm = PWM(0,0) I can see output when running PWM(0,0) PWM(0,1) PWM(0,2) but I get the error messsage when trying to run

Google EdgeTPU can't get PWM to work with Python

强颜欢笑 提交于 2020-07-22 02:49:11
问题 Here is my testing code: from periphery import PWM import time # Open PWM channel 0, pin 0 pwm = PWM(0,0) # Set frequency to 1 kHz pwm.frequency = 50 # Set duty cycle to 75% pwm.duty_cycle = 0.02 pwm.enable() print(pwm.period) print(pwm.frequency) print(pwm.enabled) # Change duty cycle to 50% pwm.duty_cycle = 0.05 pwm.close() Problem is this part: # Open PWM channel 0, pin 0 pwm = PWM(0,0) I can see output when running PWM(0,0) PWM(0,1) PWM(0,2) but I get the error messsage when trying to run

How to execute commands in a remote server using python?

£可爱£侵袭症+ 提交于 2020-06-29 03:33:11
问题 This question is related to this other one: How to use sockets to send user and password to a devboard using ssh I want to connect to the devboard in order to execute a script. All the outputs of that script I want to send to a Elasticsearch machine. I can connect to the devboard (see IMAGE below) using my laptop which happens to have Elasticsearch installed. But, when I want to send data to the devboard, the script shows nothing. What I am doing is: As soon as you find mendel@undefined-eft:~

How to convert model trained on custom data-set for the Edge TPU board?

て烟熏妆下的殇ゞ 提交于 2020-06-17 15:20:24
问题 I have trained my custom data-set using the Tensor Flow Object Detection API. I run my "prediction" script and it works fine on the GPU. Now , I want to convert the model to lite and run it on the Google Coral Edge TPU Board to detect my custom objects. I have gone through the documentation that Google Coral Board Website provides but I found it very confusing. How to convert and run it on the Google Coral Edge TPU Board? Thanks 回答1: Without reading the documentation, it will be very hard to