BadZipFile: File is not a zip by importing keras

﹥>﹥吖頭↗ 提交于 2019-12-04 09:50:35

This could have happened when a previous download has stopped for some reason resulting in a bad zip file in keras cache. Try cleaning the keras dataset cache: rm ~/.keras/datasets/*

I have the same problem. I was downloading half way and then I had to go to work, so i stopped the download. after work, I rerun the program, and it gives me the same message. I have a Mac OS how I do clean the case from the dataset? thanks.

i figured it out. I actually had to do rm -R .keras/datasets on bash.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!