I need to import some training data from my local directory into a python program. Currently I am following a tutorial and in this tutorial the data is imported with the help of the following code:
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("/tmp/data/", one_hot = True)
But my problem is that my data is present in my local directory so I cannot use this approach. Your help will be highly appreciated. My local directory contains multiple files and I have to import them all through one variable.