[英]Converting a TF model to TFLite and then to EdgeTPU
我正在嘗試使用一個簡單的 keras model 進行添加操作,然后轉換為 TFLite,然后轉換為 EdgeTPU。 需要對 int8 進行量化,但取決於提供的轉換參數,它會導致 FlexAddV2 操作不受支持,或數據類型 int32 不受支持,或 AddV2 錯誤代碼:ERROR_NEEDS ...
[英]Converting a TF model to TFLite and then to EdgeTPU
我正在嘗試使用一個簡單的 keras model 進行添加操作,然后轉換為 TFLite,然后轉換為 EdgeTPU。 需要對 int8 進行量化,但取決於提供的轉換參數,它會導致 FlexAddV2 操作不受支持,或數據類型 int32 不受支持,或 AddV2 錯誤代碼:ERROR_NEEDS ...
[英]Facing such problem like no model name edge tpu found and no module name edgeTPU_cpp_wrapper
追溯(最近調用最后):文件“/usr/local/lib/python3.9/dist-packages/edgetpu/swig/edgetpu_cpp_wrapper.py”,第 18 行,in swig_import_helper fp,路徑名,描述 = imp.find_module(' ...
[英]"IndexError: index 10 is out of bounds for axis 0 with size 10" when running inference on Coral Dev Board
我正在嘗試在 Coral 開發板上運行量化和 Edge-TPU 編譯的 Tensorflow object 檢測 model。 我的代碼: 通過“mdt shell”運行它時,會拋出以下錯誤: 開發板運行 Mendel Linux 並安裝了 Python 3.7.3 和 pycoral 2.0.0 ...
[英]Is it possible to bias the training of an object detection model towards classification in tensorflow ModelMaker?
我正在使用 Tensorflow 2 Model Maker 執行 EfficientDet-Lite 的轉移訓練(最終在 Coral EdgeTPU 上運行),我更關心分類輸出,而不是邊界框的精度。 有沒有辦法修改一些訓練參數以犧牲邊界框的准確性來提高類的准確性? 或者這沒有意義? ...
[英]Image classification using tensorflow lite without Google Coral USB
我正在嘗試使用 Google Goral Edge TPU USB 設備評估 Raspberry Pi 的性能,但不使用它對視頻文件進行圖像分類任務。 我已經設法使用 Edge TPU USB 設備評估了性能。 但是,當我嘗試運行 tensorflow lite 代碼來運行推理時,它會收到一個錯誤, ...
[英]Converting SSD object detection model to TFLite and quantize it from float to uint8 for EdgeTPU
我在將 SSD object 檢測 model 轉換為 EdgeTPU 的 uint8 TFLite 時遇到問題。 據我所知,我一直在不同的論壇、堆棧溢出線程和 github 問題中進行搜索,我認為我正在遵循正確的步驟。 我的 jupyter 筆記本上一定有問題,因為我無法實現我的建議。 我正在與 ...
[英]How to sleep and wake google coral development board for a given time
我是堆棧溢出的新手,我在 Google 珊瑚開發板上的項目需要幫助。 我想知道如何讓板子在給定的時間內休眠,然后運行一個操作並喚醒。 我真的堅持這個希望有人可以幫助我。 在此先感謝 tejasawasarmol@gmail.com 麥格理大學 ...
[英]CUSTOM : Operation is working on an unsupported data type EDGETPU
我正在嘗試為珊瑚 USB 重新訓練自定義 object 檢測器 model 並按照這些鏈接中的珊瑚 ai 教程進行操作; https://coral.ai/docs/edgetpu/retrain-detection/#requirements 重新訓練 ssd_mobilenet_v2 mod ...
[英]Does edge TPU support 1D convolution?
我對 google corral usb 加速器很感興趣,因為我查了一個項目,它說它支持 CNN 模型,但這是否包括一維 CNN 模型? ...
[英]How to solve Runtime Error: Empty min/max for tensor Cast while doing post-training quantization (fully quantized tflite model from saved_model)?
我嘗試創建完全量化的 tflite 模型,以便能夠在珊瑚上運行它。 我從https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md下載了 SSD Mobil ...
[英]Coral edge TPU problems connecting and controlling a servo
我遇到了珊瑚板邊緣 tpu 與伺服微型 SG90 交互的問題。 我不認為問題出在代碼上,因為我在 reaspberry pi 上嘗試過並且有效,也許問題在於珊瑚開發板的電源電壓。 我應該購買一個單獨的電池組來為伺服供電還是有其他方法? 這是我正在使用的電路 這是代碼: 導入時間 進口板 進口脈沖 ...
[英]ValueError: None is only supported in the 1st dimension. Tensor 'input_tensor' has invalid shape '[1, None, None, 3]'
我訓練了一個用於對象檢測的自定義 MobileNetV2 SSD 模型。 我保存了 .pb 文件,現在我想將其轉換為 .tflite 文件,以便與 Coral edge-tpu 一起使用。 我在 CPU 上的 Windows 10 上使用 Tensorflow 2.2。 我正在使用的代碼: ...
[英]Can You Mesh Network Google Coral TPUs
我相信可以利用兩個 USB Connected 連接的 Google Coral TPU 的強大功能相互結合(或至少並排,各自運行自己的推理)。 但是,是否可以利用兩個或多個連接到單獨邊緣設備但位於通過硬線以太網和交換機連接的同一網絡上的 Google Coral TPU? ...
[英]Speed Up Multiple Model Inference on EDGE TPU
我已經重新訓練了一個 RESNET50 模型,用於在 EDGE TPU 上重新識別。 但是,似乎沒有辦法將一批圖像提取到EDGE_TPU。 我想出了一個為圖像運行多個相同模型的解決方案。 但是,無論如何可以加快多個模型的模型推理? 現在的線程甚至比單模型推理還要慢 ...