TensorFlow 上对象检测器的当前 SDK 是什么? 有有效的官方环境吗?
如果我解释一下问题,我在哪里可以下载适用于 Windows 或 Linux 的开发工具?
我的计划是在 Android 上使用自定义检测模型 (tflite)。我花了最近几天的时间进行研究,但收效甚微。我现在熟悉 anaconda (23.3.1)、python (3.9.1) 和 tensorflow (2.10.1)。
我在为 TensorFlow 安装对象检测器时卡住了。
“ModuleNotFoundError:没有名为“tensorflow.contrib”的模块” 在单元“object_detection\matchers ipartite_matcher.py”中
“从 tensorflow.contrib.image.python.ops 导入 image_ops”
我知道它在 2.x 中不受支持,但是什么是替代方案? ...我必须退回到旧版本吗? (如推荐)
问候 (编辑:我已经删除了咆哮:))
我现在开始工作了,python 测试没问题。
此文章中描述了安装过程。但是为了让它工作,我必须安装没有依赖项的对象检测 API,并手动安装每一个。问题是默认安装会删除 tensorflow 2.12 并安装 2.10.
基于示例,还有一件事尚未解决将使用 TensorFlow Object Detection API 训练的模型转换为 TensorFlow Lite 它使用 colab_utils
conda install -c conda-forge google-colab
包安装正常但是当我运行代码时出现错误:
“ModuleNotFoundError: No module named 'termios'”,这是我在 Windows 上读到的不受支持的信息。
不知道这个包是否是将模型转换为 tflite 的强制性......将会看到。