import ssl ssl._create_default_https_context = ssl._create_unverified_context
https://stackoverflow.com/questions/47231408/downloading-resnet50-in-keras-generates-ssl-certificate-verify-failed
2、OSError: Unable to open file (Truncated file: eof = 221184, sblock->base_addr = 0, stored_eoa = 58889256)
上次下载的预训练模型不完整,find到删除重新下载即可
转载于:https://www.cnblogs.com/573177885qq/p/10813885.html