Where are the `tfds.load` datasets are saved?

I downloaded the cats vs dogs dataset using the tfds.load('cats_vs_dogs') and I want to find where it has been saved on my computer, after reading a bit I came across someone who claims the dataset can be found at ~/tensorflow_datasets/cats_vs_dogs/ but I can’t find a folder that is called cats_vs_dogs at that path, how can I get the path to the files?

Answer

As per default

ex1

as I assume TFDS_DATA_DIR has not been set, datasets will be stored under ~/tensorflow_datasets

However, as this depends on your system and setup: If you want to check the dataset and see it, I would suggest to just manually set data_dir when using tfds.load. Then you know for sure, where it is stored.

Leave a Reply

Your email address will not be published. Required fields are marked *