tensorflow - 在 colab 中加载 tensorflow lite edgetpu 模型
问题描述
我有一个为 edgetpu 编译的 tf lite 模型。
我想通过做类似的事情来恢复 tensorflow 中的模型权重所以 我不必再次训练
我没有edge-tpu,我想在colab中运行代码。当我尝试加载模型时
interpreter = tf.lite.Interpreter(
'mymodel_edgetpu.tflite'
)
interpreter.allocate_tensors()
抛出以下错误:
遇到未解决的自定义操作:edgetpu-custom-op。节点号 1 (edgetpu-custom-op) 准备失败。
解决方案
推荐阅读
- azure - 使用“2”参数解析异常调用“Parse”:“字符串未被识别为有效的 DateTime。”
- php - 加载更多按钮不起作用并显示页面上的所有记录
- google-cloud-platform - 被拒绝我在 GCP 中的权限
- javascript - React Native Redux 不更新数组
- python - 第一个独特的字符
- python - 编辑 API 调用的 Django 详细信息视图的权限
- cmd - Windows 控制台:从大文件中提取特定范围的行到新文件
- python - 将html读入pandas时'没有匹配模式'.+'的表
- class - 如何按每个 id 映射列表中的最新记录?
- c++ - 为什么 a[21] 不等于 a[021]?