I've recently started to get into Deep Learning with Tensor Flow. I've read a lot of online resources and took a Udacity course for beginners. I gained a lot of the basic principles of Deep Learning. But one thing I am struggling right now wasn't the topic of any of these resources. I have no idea how I can get my own labeled data (CSV format) into my Python program to train my net on. I've came across this posting and started to implement the Input Pipe in the way the post showed and it worked so far. When I tried to train my model by feeding my features and labels with
sess.run(optimizer, feed_dict={
x: features,
y: labels,
})
TF is throwing an error
TypeError: The value of a feed cannot be a tf.Tensor object. Acceptable feed values include Python scalars, strings, lists, numpy ndarrays, or TensorHandles.
X and Y are defined as placeholders and the session is calling tf.global_variables_initializer()
x = tf.placeholder(tf.float32, shape=[10, batch_size])
y = tf.placeholder(tf.float32)
But the objects returned by tf.train.shuffle_batch are Tensors right? Should/can I convert them back to valid data type like a Numpy Array or is there any other, more efficient way of reading my data.