zoukankan      html  css  js  c++  java
  • 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。。。。。。

  • 相关阅读:
    mongodb(2)
    mongodb(1)
    分片集群
    副本集 集群
    java连接腾讯云上的redis
    maven打包
    生成ftp文件的目录树
    从ftp获取文件并生成压缩包
    android 连续点击退出程序
    Android之完美退出方法
  • 原文地址:https://www.cnblogs.com/zonechen/p/11864174.html
Copyright © 2011-2022 走看看