Colab tflite-model-maker 无法安装

问题描述 投票:0回答:1

我正在尝试在 colab 上安装 tflite-model-maker 但如果我尝试这个

!pip install -q tflite-model-maker
安装要花很多时间,磁盘会满。 如果我试试这个
!pip install -q --use-deprecated=legacy-resolver tflite-model-maker
我收到这个错误

ERROR: Could not find a version that satisfies the requirement tflite-support>=0.4.2 (from tflite-model-maker) (from versions: 0.1.0a0.dev3, 0.1.0a0.dev4, 0.1.0a0.dev5, 0.1.0a0, 0.1.0a1)

ERROR: No matching distribution found for tflite-support>=0.4.2 (from tflite-model-maker)

而且我无法导入 tflite-model-maker。 在 colab 上使用 python 3.10。我尝试从更改选项中更改它,但是当我尝试使用 pip 安装软件包时,我收到 root 用户警告

python tensorflow google-colaboratory tensor tflite
1个回答
0
投票

我也一样,它一直在每晚安装 500MB 的 tf,然后运行错误“存储空间已满”。 我试图将 Python 降级到 3.9,因为我曾经使用 tflite-model-maker 来训练我自己的模型,Python 是 3.9.16,所以我尝试将它降级,但后来我收到了 root 警告并且没有安装它。 你设法找到解决方法了吗?

© www.soinside.com 2019 - 2024. All rights reserved.