'Tensorflow Keras Dataset Filepath within PyCharm

I have seen this question and the answer. This doesn't help. I have MAC environment. Used Anaconda. And there is no .Keras folder under users directory.

I was following a tutorial. To load the built-in MNIST dataset I used the following codes:

from tensorflow.keras.datasets import mnist

# Load MNIST data 
(x_train, y_train), (x_test,y_test) = mnist.load_data()

I am using Anaconda to install the packages and Pycharm for coding. Imported the environment in PyCharm. After showing download messages in console, it's loading the images directly from second time.

enter image description here

Nonetheless, I want to see the downloaded MNIST images/data to get a complete understanding. I mean I want to see if it's a zip / raw images / text data etc. I don't see a newly created folder. Does anyone where the dataset was saved by Keras within PyCharm project?



Solution 1:[1]

By default the data should be saved in ~/tensorflow_datasets/

Solution 2:[2]

On windows it's found in C:\Users\Yourname\keras\datasets

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ThomaS
Solution 2 Choupo Duval