Cannot get predictions of tensorflow DNNClassifier

前端 未结 5 1534
无人及你
无人及你 2021-01-05 13:24

I\'m using the code from the MNIST tutorial:

feature_columns = [tf.contrib.layers.real_valued_column(\"\", dimension=4)]
classifier = tf.contrib.learn.DNNCla         


        
5条回答
  •  感情败类
    2021-01-05 14:07

    To be as close as possible to the tutorial use:

    print('Predictions: {}' .format(list(ds_predict_tf)))
    

提交回复
热议问题