下载的 Keras 数据集存储在哪里?

Where is the downloaded Keras dataset stored?

I 运行 from keras.datasets import mnistmnist.load_data() 下载 MNIST 数据。但我想知道它们存放在哪里。我正在使用 Windows 10 和 Anaconda,我在这里查看:-

C:\Users\My_User_Name\Anaconda3\Lib\site-packages\keras\datasets

我可以找到文本文件mnist.py,但找不到下载的数据。我应该在哪里找到它们?非常感谢!

查看 the source for that function, we see it uses get_file(),上面写着:

By default the file at the url origin is downloaded to the cache_dir ~/.keras, placed in the cache_subdir datasets, and given the filename fname. The final location of a file example.txt would therefore be ~/.keras/datasets/example.txt.

所以在 C:\Users\My_User_Name\.keras\datasets.

中查找