BSM/BMN特征数据下载

  • Post author:
  • Post category:其他


依据https://github.com/wzmsltw/BSN-boundary-sensitive-network说明,从百度云下载好了特征数据

得到如图几个文件
在这里插入图片描述

进入到文件目录,执行( * 就是 *,不要像我一样把 *替换成01、…、05,执行了5次。。 )

cat zip_csv_mean_100.z* > csv_mean_100.zip

然后会生成一个新的文件csv_mean_100.zip,接着执行(后来发现直接执行下面的命令即可。。和前面的cat命令似乎没关系,cat之后生成的csv_mean_100.zip似乎是有问题,导致无法解压)

7z x zip_csv_mean_100.zip

解压成功,得到文件夹csv_mean_100,其中包含19228个csv文件,将该文件夹放至./data/activitynet_feature_cuhk/即可



试错过程:

因为发现zip_csv_mean_100.zip可以直接点开(可能是在执行cat命令之后),并打开其中的csv文件。所以一定有方法将内容提取出来。尝试了各种解压方法,分别对两个zip文件解压,只有上面的命令成功。其余命令不知所“错”。

首先尝试

unzip csv_mean_100.zip

报错:

Archive:  csv_mean_100.zip
error: End-of-centdir-64 signature not where expected (prepended bytes?)
  (attempting to process anyway)
warning [csv_mean_100.zip]:  zipfile claims to be last disk of a multi-part archive;
  attempting to process anyway, assuming all parts have been concatenated
  together in order.  Expect "errors" and warnings...true multi-part support
  doesn't exist yet (coming soon).
warning [csv_mean_100.zip]:  5242880000 extra bytes at beginning or within zipfile
  (attempting to process anyway)
file #1:  bad zipfile offset (local header sig):  5242880004
  (attempting to re-compensate)
   creating: csv_mean_100/
error: invalid zip file with overlapped components (possible zip bomb)

尝试:

unzip zip_csv_mean_100.zip

仍然报错:

Archive:  zip_csv_mean_100.zip
warning [zip_csv_mean_100.zip]:  zipfile claims to be last disk of a multi-part archive;
  attempting to process anyway, assuming all parts have been concatenated
  together in order.  Expect "errors" and warnings...true multi-part support
  doesn't exist yet (coming soon).
file #1:  bad zipfile offset (local header sig):  4
file #2:  bad zipfile offset (local header sig):  75
......
file #182:  bad zipfile offset (local header sig):  49609778
error: invalid zip file with overlapped components (possible zip bomb)

尝试jar xvf csv_mean_100.zip 以及jar xvf zip_csv_mean_100.zip。报错:

xvf zip_csv_mean_100.zip

尝试7z x csv_mean_100.zip ,报错:

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz (906E9),ASM,AES-NI)

Scanning the drive for archives:
1 file, 5294698037 bytes (5050 MiB)

Extracting archive: csv_mean_100.zip
ERROR: csv_mean_100.zip
csv_mean_100.zip
Open ERROR: Can not open the file as [zip] archive


    
Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0



版权声明:本文为ysy10599105原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。