Is it safe to delete Keras datasets and models?

~/.keras · Safe to delete

What it is

Datasets and models downloaded by Keras.

Can you delete it?

Yes, it is rebuilt automatically. Downloaded again when code needs them.

How to clean it safely

  1. Delete ~/.keras/datasets and ~/.keras/models.

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/".keras" 2>/dev/null

Step-by-step guide: AI model files →

Questions

Is it safe to delete ~/.keras?

Yes, it is rebuilt automatically. Downloaded again when code needs them.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac