ValueError:无法为Tensor'x:0'提供shape(0,)的值,其形状为'(?,400,600,1)'

时间:2017-04-08 14:57:10

标签: python image-processing tensorflow neural-network

运行神经网络时出现上述错误:

UNIQUE (phone_number), UNIQUE (email)

以下是我的神经网络的要点:

print('Checking the Training on a Single Batch...')
with tf.Session() as sess:
    # Initializing the variables
    sess.run(tf.global_variables_initializer())

    # Training cycle
    for epoch in range(epochs):
        batch_i = 1
        for batch_features, batch_labels in (input_data, input_labels):
            train_neural_network(sess, optimizer, keep_probability, batch_features, batch_labels)
        print('Epoch {:>2}, Batch {}:  '.format(epoch + 1, batch_i), end='')
        print_stats(sess, batch_features, batch_labels, cost, accuracy)

我有更好的方法来创建标签吗?

0 个答案:

没有答案