我使用TensorFlow API编写了一个Python脚本,其中包括一个SummaryWriter
,用于转储图形定义,因此我可以在TensorBoard中查看它。TensorFlow的目标修剪找不到节点
当运行脚本时,NotFoundError
被抛出,说PruneForTargets: Some target nodes not found: Reading/data_queue_EnqueueMany_1
。顾名思义,正在讨论的节点是通过调用FIFOQueue
(然后在QueueRunner
中启动)调用enqueue_many
创建的;它确实存在,可以在TensorBoard中清楚地看到。
什么可能导致TensorFlow找不到某些节点?
它的工作原理,非常感谢! –