unmount a drive in keras code example Example: unmount google drive colab from google.colab import drive drive.flush_and_unmount()