解决OSError: Unable to open file (truncated file: eof = 1236992, sblock-」base

    技术2022-07-11  92

    问题

    OSError: Unable to open file (truncated file: eof = 1236992, sblock->base_addr = 0, stored_eoa = 80134624)

    原因

    下载模型时网络中断或者手滑“脑残”点了停止,造成文件内容没有完全下载完毕。

    解决方法

    网上有展示地址的,但是我的文件夹里找不到。索性直接暴力解决 vgg16_weights_tf_dim_ordering_tf_kernels.h5

    直接搜,删除,就行了。

    Processed: 0.014, SQL: 9