clovaai / deep-text-recognition-benchmark

Text recognition (optical character recognition) with deep learning methods, ICCV 2019
Apache License 2.0
3.77k stars 1.11k forks source link

How to decompress the files in data_lmdb_release correctly in the ubuntu system? #305

Closed lexiaoyuan closed 3 years ago

lexiaoyuan commented 3 years ago

Hello~ I noticed this issue, but I still have some questions: I downloaded

data_lmdb_reupload.z01 
data_lmdb_reupload.z02 
data_lmdb_reupload.z03 
data_lmdb_reupload.z04 
data_lmdb_reupload.z05
data_lmdb_reupload.zip

, and uploaded it to the server of my Ubuntu system. I tried to use

cat data_lmdb_reupload.z* > data_lmdb_all.zip

, and then use

unzip data_lmdb_all.zip

. But got the following error:

Archive:  data_lmdb_all.zip
error: End-of-centdir-64 signature not where expected (prepended bytes?)
  (attempting to process anyway)
warning [data_lmdb_all.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 [data_lmdb_all.zip]:  18790481920 extra bytes at beginning or within zipfile
  (attempting to process anyway)
file #1:  bad zipfile offset (local header sig):  18790481924
  (attempting to re-compensate)
   creating: data_lmdb_baidu/
error: invalid zip file with overlapped components (possible zip bomb)

I want to know how I should decompress these files correctly in the ubuntu system, and I very much hope to get your answers, thank you very much!

lexiaoyuan commented 3 years ago

I uncompressed it on Windows, re-partitioned it with 7z and uploaded it to Ubuntu, and then used the above command to uncompress it successfully!