In Tensorflow, how to use a restored meta-graph if the meta graph was feeding with TFRecord input (without placeholders)

后端 未结 3 1593
迷失自我
迷失自我 2020-12-17 05:37

I trained a network with TFRecord input pipeline. In other words, there was no placeholders. Simple example would be:

input, truth = _get_next_batch()  # TFR         


        
3条回答
  •  失恋的感觉
    2020-12-17 06:24

    Is there a way to do it without placeholders at test though? It should be possible to re-use the graph with a new input pipeline without resorting to slow placeholders (i.e. the test dataset may be very large). placeholder_with_default is a suboptimal solution in that case.

提交回复
热议问题