COCO数据集下载断断续续后unzip无法解压

在下载coco各个版本的数据集时,因为网络原因,下载断断续续的,导致下载的zip包在后面unzip的时候报错如下所示(猜测是下载过程的原因,我也不好测试,因为就没完整的一次性完全下载过。。。):
Archive: train2017.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of rapidjson-master.zip or
rapidjson-master.zip.zip, and cannot find rapidjson-master.zip.ZIP, period.

解决方法:sudo apt-get install fastjar.
使用jar来进行解压
jar xvf ***.zip实测可用。。。。ok。。。。。。

posted @ 2019-11-15 08:48  zonechen  阅读(917)  评论(0编辑  收藏  举报