google-coral

How to use sockets to send user and password to a devboard, using SSH?

余生长醉 提交于 2020-06-17 09:15:47
问题 I am using sockets to connect to Coral devboard. I want to connect to the devboard and execute a classification script. Whenever I execute my code (lines below) , it shows "In [3]:" for around 10 seconds as if waiting for something. Then "In [4]" appears. What is it happening? I already sent the user and password. This is my code: import socket TCP_IP = '172.16.1.11' TCP_PORT = 22 BUFFER_SIZE = 1024 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect((TCP_IP, TCP_PORT)) s.send(b

How to install tensorflow on coral dev board?

北慕城南 提交于 2020-05-28 11:55:30
问题 How to install tf on coral dev? Getting errors following this on coral dev board like compile.sh not found etc. Please give detailed explaination. 回答1: It is really not going to be possible to help if you don't give details on what you've done or what errors you ran into while trying to install it. However, since the objective is to install tensorflow on the board, you can just do this using this pre-built package: $ wget https://github.com/lhelontra/tensorflow-on-arm/releases/download/v2.0.0

Convert Frozen graph for tfLite for Coral using tflite_convert

丶灬走出姿态 提交于 2020-03-20 14:42:49
问题 I'm using MobileNetV2 and trying to get it working for Google Coral. Everything seems to work except the Coral Web Compiler, throws a random error, Uncaught application failure . So I think the problem is the intemidary steps required. For example, I'm using this with tflite_convert tflite_convert \ --graph_def_file=optimized_graph.pb \ --output_format=TFLITE \ --output_file=mobilenet_v2_new.tflite \ --inference_type=FLOAT \ --inference_input_type=FLOAT \ --input_arrays=input \ --output

Convert Frozen graph for tfLite for Coral using tflite_convert

◇◆丶佛笑我妖孽 提交于 2020-03-20 14:36:52
问题 I'm using MobileNetV2 and trying to get it working for Google Coral. Everything seems to work except the Coral Web Compiler, throws a random error, Uncaught application failure . So I think the problem is the intemidary steps required. For example, I'm using this with tflite_convert tflite_convert \ --graph_def_file=optimized_graph.pb \ --output_format=TFLITE \ --output_file=mobilenet_v2_new.tflite \ --inference_type=FLOAT \ --inference_input_type=FLOAT \ --input_arrays=input \ --output

Convert Frozen graph for tfLite for Coral using tflite_convert

让人想犯罪 __ 提交于 2020-03-20 14:36:24
问题 I'm using MobileNetV2 and trying to get it working for Google Coral. Everything seems to work except the Coral Web Compiler, throws a random error, Uncaught application failure . So I think the problem is the intemidary steps required. For example, I'm using this with tflite_convert tflite_convert \ --graph_def_file=optimized_graph.pb \ --output_format=TFLITE \ --output_file=mobilenet_v2_new.tflite \ --inference_type=FLOAT \ --inference_input_type=FLOAT \ --input_arrays=input \ --output

Convert Frozen graph for tfLite for Coral using tflite_convert

谁说胖子不能爱 提交于 2020-03-20 14:36:24
问题 I'm using MobileNetV2 and trying to get it working for Google Coral. Everything seems to work except the Coral Web Compiler, throws a random error, Uncaught application failure . So I think the problem is the intemidary steps required. For example, I'm using this with tflite_convert tflite_convert \ --graph_def_file=optimized_graph.pb \ --output_format=TFLITE \ --output_file=mobilenet_v2_new.tflite \ --inference_type=FLOAT \ --inference_input_type=FLOAT \ --input_arrays=input \ --output

Cannot connect to coral dev board after updating to 4.0: mdt shell does not work

限于喜欢 提交于 2020-02-25 13:13:34
问题 Recently I updated and flushed the dev board with mendel-enterprise-day-13 according to the coral AI official documentation. After that, when I want to connect from my desktop Ubuntu 19.04 using mdt shell or mdt shell <ip> , it does not work and gives an error message as follows. mdt shell does not work Connecting to 192.168.101.2 at 192.168.101.2 Key not present on 192.168.101.2 -- pushing It looks like you're trying to connect to a device that isn't connected to your workstation via USB and

Cannot connect to coral dev board after updating to 4.0: mdt shell does not work

血红的双手。 提交于 2020-02-25 13:13:12
问题 Recently I updated and flushed the dev board with mendel-enterprise-day-13 according to the coral AI official documentation. After that, when I want to connect from my desktop Ubuntu 19.04 using mdt shell or mdt shell <ip> , it does not work and gives an error message as follows. mdt shell does not work Connecting to 192.168.101.2 at 192.168.101.2 Key not present on 192.168.101.2 -- pushing It looks like you're trying to connect to a device that isn't connected to your workstation via USB and

Post-training full integer quantization of Keras model

老子叫甜甜 提交于 2019-12-11 15:09:38
问题 I'm trying to do post-training full 8-bit quantization of a Keras model to compile and deploy to EdgeTPU. I have a trained Keras model saved as .h5 file, and am trying to go through the steps as specified here: https://coral.withgoogle.com/docs/edgetpu/models-intro/, for deployment to the Coral Dev Board. I'm following these instructions for quantization: https://www.tensorflow.org/lite/performance/post_training_quantization#full_integer_quantization_of_weights_and_activations) I’m trying to

Edge TPU Compiler: ERROR: quantized_dimension must be in range [0, 1). Was 3

大憨熊 提交于 2019-12-03 06:19:10
问题 I'm trying to get a Mobilenetv2 model (retrained last layers to my data) to run on the Google edge TPU Coral. I've followed this tuturial https://www.tensorflow.org/lite/performance/post_training_quantization?hl=en to do the post-training quantization. The relevant code is: ... train = tf.convert_to_tensor(np.array(train, dtype='float32')) my_ds = tf.data.Dataset.from_tensor_slices(train).batch(1) # POST TRAINING QUANTIZATION def representative_dataset_gen(): for input_value in my_ds.take(30)