tensorflow - 对象检测教程中的错误加载模型
问题描述
我一直在尝试运行位于https://github.com/tensorflow/models/tree/master/research/object_detection的 object_detection_tutorial,但在尝试加载模型时不断出错。
我得到:
INFO:tensorflow:Saver not created because there are no variables in the graph to restore
当我尝试这样做时:
tf.saved_model.load(model_dir)
我已经阅读了安装说明并完成了所有这些,但我无法加载模型。有人知道吗?谢谢。
解决方案
推荐阅读
- android - 是否有在 android API 17+ 中定义目录选择器的本地方法?
- python - 为什么python抛出错误:AttributeError:'numpy.ndarray'对象没有属性'append'?
- javascript - 我能否确定浏览器中的可访问性功能是否处于活动状态?
- android - 如何在 Jetpack Compose 中制作手动可滚动选取框(通过触摸或鼠标/触摸板滚动)?
- aframe - 移动鼠标时桌面版本出错(cursor.js)
- angular - 将 aws-exports.js 移动到另一个 Angular 项目?
- modelica - 从 Dymola 导出具有大参数数组的 FMU
- c - 我无法弄清楚我是如何错误地创建了这个文件的
- python - python中的枕头矩形不让我有足够的论据
- php - 如何在 Drupal 8 的 hook_views_pre_execute 中将查询结果限制为 0?