You must feed a value for placeholder tensor 'Placeholder' with dtype float and shape [?,784] for MNIST dataset
问题 Here is the example I am testing on MNIST dataset for quantization. I am testing my model using below code: import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data from tensorflow.python.framework import graph_util from tensorflow.core.framework import graph_pb2 import numpy as np def test_model(model_file,x_in): with tf.Session() as sess: with open(model_file, "rb") as f: output_graph_def = graph_pb2.GraphDef() output_graph_def.ParseFromString(f.read()) _ = tf