我是tensorflow的新手,我对tensorflow教程label_image中的图形结构感到困惑。使用代码自爆:
导入张量流为tf使用tf.Session()作为sess: 打开(’/ …
最有可能的是,您使用了导入图表 import_graph_def 或者一些最终调用的高级函数 import_graph_def 。这是其文档的副本 name 参数:
import_graph_def
name
name: (Optional.) A prefix that will be prepended to the names in graph_def. Note that this does not apply to imported function names. Defaults to "import".
如果您不想添加任何前缀,请使用 name=''
name=''