无法在 raspberry pi 上安装 edgetpu_compiler
Cannot install edgetpu_compiler on raspberry pi
我想在使用 Google Coral 加速器的 raspberry pi 上使用自定义模型。我在我的数据集上训练了量化的 mobilenet-ssd 模型,我有 tflite 文件和标签 txt 文件。现在我需要使用 edgetpu_compiler 以便 tflite 文件针对 Google Coral 加速器进行优化。问题是我无法安装它。这就是我得到的(我遵循了这些说明:https://coral.ai/docs/edgetpu/compiler/):
pi@raspberrypi:~/Desktop/project/mobilenet_ssd_v2 $ sudo apt-get
install edgetpu Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be
installed. This may mean that you have requested an impossible
situation or if you are using the unstable distribution that some
required packages have not yet been created or been moved out of
Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: edgetpu : Depends:
edgetpu-compiler but it is not installable E: Unable to correct
problems, you have held broken packages.
即使我尝试专门安装 edgetpu-compiler,它也不起作用:
pi@raspberrypi:~/Desktop/project/mobilenet_ssd_v2 $ sudo apt-get
install edgetpu-compiler Reading package lists... Done Building
dependency tree Reading state information... Done Package
edgetpu-compiler is not available, but is referred to by another
package. This may mean that the package is missing, has been
obsoleted, or is only available from another source
E: Package 'edgetpu-compiler' has no installation candidate
知道如何解决这个问题吗?或者有其他编译tflite文件的方法吗?
这是因为 edgetpu 编译器不支持 32 位 OS,很遗憾。这曾经是受支持的,但珊瑚已经转移到只支持 64 位架构。可以看到要求here
我想在使用 Google Coral 加速器的 raspberry pi 上使用自定义模型。我在我的数据集上训练了量化的 mobilenet-ssd 模型,我有 tflite 文件和标签 txt 文件。现在我需要使用 edgetpu_compiler 以便 tflite 文件针对 Google Coral 加速器进行优化。问题是我无法安装它。这就是我得到的(我遵循了这些说明:https://coral.ai/docs/edgetpu/compiler/):
pi@raspberrypi:~/Desktop/project/mobilenet_ssd_v2 $ sudo apt-get install edgetpu Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies: edgetpu : Depends: edgetpu-compiler but it is not installable E: Unable to correct problems, you have held broken packages.
即使我尝试专门安装 edgetpu-compiler,它也不起作用:
pi@raspberrypi:~/Desktop/project/mobilenet_ssd_v2 $ sudo apt-get install edgetpu-compiler Reading package lists... Done Building dependency tree Reading state information... Done Package edgetpu-compiler is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'edgetpu-compiler' has no installation candidate
知道如何解决这个问题吗?或者有其他编译tflite文件的方法吗?
这是因为 edgetpu 编译器不支持 32 位 OS,很遗憾。这曾经是受支持的,但珊瑚已经转移到只支持 64 位架构。可以看到要求here