Where Does Keras Store Downloaded Data For Mnist?
Solution 1:
I will answer my own question.
I found it here. I am using Windows 10.
C:\Users\<user_name>\.keras\datasets
Solution 2:
you can always check the Keras code on github. In your case you need the get_file function here: https://github.com/keras-team/keras/blob/e77a4cf3f85b45ad4275dfd661073ace1cc06e5a/keras/utils/data_utils.py#L123
And the answer to your question is:
By default the file at the url
origin
is downloaded to the cache_dir~/.keras
, placed in the cache_subdirdatasets
, and given the filenamefname
. The final location of a fileexample.txt
would therefore be~/.keras/datasets/example.txt
.
Solution 3:
I just couldn't find anywhere in the locations mentioned above (C:\Users\<user_name>\.keras\datasets
). But, ensured that the dataset is stored locally because it works even after I turned my internet (WiFi) Off. Hunt is still on. I also searched for mnist.npz
in my local hard drive but could not find it.
Post a Comment for "Where Does Keras Store Downloaded Data For Mnist?"