I just started learning tensorflow. After reading those stackoverflow posts, I still have problems loading MNIST dataset.
According to the official guide, the following code will work:
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)
However, I get errors like this:
ConnectionRefusedError: [WinError 10061] No connection could be made because
the target machine actively refused it
Some people on stackoverflow said that:
"Make sure to download the file to the tensorflow MNIST_data folder
tensorflow\examples\tutorials\mnist".
I'm a bit confused: Does tensorflow\examples\tutorials\mnist folder already exist in my C drive? I didn't find it. Where should I create folder to store the downloaded file? Can someone provide a detailed guideline?
Thanks!