wzmsltw / BSN-boundary-sensitive-network

Codes of our paper: "BSN: Boundary Sensitive Network for Temporal Action Proposal Generation"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Baidu Yun files are broken, how to re-generate the files?

Light-- opened this issue · comments

I download the tsn_feature files for many times from the link you provided: https://pan.baidu.com/s/19GI3_-uZbd_XynUO6g-8YQ (i also tried the google drive download link, but will be abruptly ended every time) but every time when i unzip the BaiduYun files,

$ unzip -d ../BMN-Boundary-Matching-Network/data/activitynet_feature_cuhk/ csv_mean_100.zip

i got hundreds of bad zipfile offset errors in my terminal like:

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)
...
file #3998:  bad zipfile offset (local header sig):  5293978810
file #3999:  bad zipfile offset (local header sig):  5294255897
file #4000:  bad zipfile offset (local header sig):  5294532787
file #4001:  bad zipfile offset (lseek):  5294809088
file #4002:  bad zipfile offset (lseek):  5295079424
file #4003:  bad zipfile offset (lseek):  5295357952
file #4004:  bad zipfile offset (lseek):  5295636480
file #4005:  bad zipfile offset (lseek):  5295915008
file #4006:  bad zipfile offset (lseek):  5296185344
file #4007:  bad zipfile offset (lseek):  5296463872
file #4008:  bad zipfile offset (lseek):  5296742400
file #4009:  bad zipfile offset (lseek):  5297004544
file #4010:  bad zipfile offset (lseek):  5297283072
file #4011:  bad zipfile offset (lseek):  5297553408
file #4012:  bad zipfile offset (lseek):  5297831936
file #4013:  bad zipfile offset (lseek):  5298110464

...

Also, when i run BMN program in pytorch(https://github.com/JJBOY/BMN-Boundary-Matching-Network), i will find some files are missing:

like:

FileNotFoundError: [Errno 2] File b'./data/activitynet_feature_cuhk/csv_mean_100/v_sx_npA4wRrw.csv' does not exist: b'./data/activitynet_feature_cuhk/csv_mean_100/v_sx_npA4wRrw.csv'

Could you please tell me how to re-generate the tsn feature files? So i can make them by myself...

same issue at: JJBOY/BMN-Boundary-Matching-Network#11

Hi there, I encountered the same issue, have you solved this problem? Thanks!

same problem, Have you solved it?

please unzip in windows, may helpful for you.

commented

I have the same problem. Can anyone please help me solve this issue?