网站首页 文章专栏 Freeze graph: node is not in graph
Freeze graph: node is not in graph
创建于:2018-05-26 16:00:00 更新于:2024-04-18 23:14:26 羽瀚尘 698
tensorflow tensorflow

Freeze graph: node is not in graph (even though it's been named)

Though you have named a tensor, but it won't just accept the given name.

For example, if you name a tensorf as "input", due to some reason, the real name will be "input_1" or "input_2", if there are more than one tensor are named as "input".

But how to check tensor's exact name? There is a way. Just use python -m pdb ./your_python_name to debug it, set a breakpoint and run, then print out a tensor, and the tensor's name can be seen at the console.