首页 > 解决方案 > 对象检测教程中的错误加载模型

问题描述

我一直在尝试运行位于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)

我已经阅读了安装说明并完成了所有这些,但我无法加载模型。有人知道吗?谢谢。

标签: tensorflowobject-detection

解决方案


推荐阅读