UGATIT icon indicating copy to clipboard operation
UGATIT copied to clipboard

Problems with the selfie2anime zip files

Open allo- opened this issue 4 years ago • 10 comments

I get using the standard unzip program this error message:

$ unzip ../50_epoch_selfie2anime_checkpoint.zip 
Archive:  ../50_epoch_selfie2anime_checkpoint.zip
warning [../50_epoch_selfie2anime_checkpoint.zip]:  4294967296 extra bytes at beginning or within zipfile
  (attempting to process anyway)
file #1:  bad zipfile offset (local header sig):  4294967296
  (attempting to re-compensate)
   creating: checkpoint/
error: invalid zip file with overlapped components (possible zip bomb)

$ unzip ../100_epoch_selfie2anime_checkpoint.zip 
Archive:  ../100_epoch_selfie2anime_checkpoint.zip
warning [../100_epoch_selfie2anime_checkpoint.zip]:  4294967296 extra bytes at beginning or within zipfile
  (attempting to process anyway)
file #1:  bad zipfile offset (local header sig):  4294967296
  (attempting to re-compensate)
   creating: checkpoint/
error: invalid zip file with overlapped components (possible zip bomb)

and only an empty folder checkpoint is created.

allo- avatar May 03 '20 11:05 allo-

try mac unzip software . Don't use pc .

tankfly2014 avatar Jun 17 '20 07:06 tankfly2014

I do not have a Mac. Do you know any compatible PC program? Maybe you can provide a zip (tar, rar, etc.) with a format that works with common archive software, as other people may have the same program, when it can really only be extracted on Macs.

allo- avatar Jun 17 '20 08:06 allo-

截屏2020-07-28 上午11 44 58 try this to do it

beyonehan avatar Jul 28 '20 03:07 beyonehan

I tried the Linux command line version of The Unarchiver and got:

../100_epoch_selfie2anime_checkpoint.zip: Zip
  checkpoint/  (dir)... OK.
Archive parsing failed! (Unknown error.)
Successfully extracted to "./checkpoint".

only the folder "checkpoint" was created with no files in it.

Can't you just archive it on your mac in another format? I guess tar or rar will be just fine, it's probably only zip that for some reason uses mac specific features.

allo- avatar Jul 28 '20 09:07 allo-

I tried the Linux command line version of The Unarchiver and got:

../100_epoch_selfie2anime_checkpoint.zip: Zip
  checkpoint/  (dir)... OK.
Archive parsing failed! (Unknown error.)
Successfully extracted to "./checkpoint".

only the folder "checkpoint" was created with no files in it.

Can't you just archive it on your mac in another format? I guess tar or rar will be just fine, it's probably only zip that for some reason uses mac specific features.

I have this problem too, the checkpoint extract by unzip is corrupt

zerollzeng avatar Aug 03 '20 07:08 zerollzeng

I could extract the checkpoint 204 from the fork of this project: https://github.com/OdysseeT/UGATIT

I did not have the time to test it yet, though. #92 also reports some problems with it, but they are probably unrelated to the checkpoint itself.

allo- avatar Aug 03 '20 08:08 allo-

can you test it when you have times? I train a light version model but the performance is really bad since I can't train the standard model on 2080ti due to lack of gpu memory :(

zerollzeng avatar Aug 03 '20 09:08 zerollzeng

i have the same problem too

------------------ 原始邮件 ------------------ 发件人: "Ren Zeng"<[email protected]>; 发送时间: 2020年8月3日(星期一) 下午5:11 收件人: "taki0112/UGATIT"<[email protected]>; 抄送: "清泉石上流"<[email protected]>; "Comment"<[email protected]>; 主题: Re: [taki0112/UGATIT] Problems with the selfie2anime zip files (#87)

can you test it when you have times? I train a light version model but the performance is really bad since I can't train the standard model on 2080ti due to lack of gpu memory :(

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

beyonehan avatar Aug 03 '20 09:08 beyonehan

For anyonw who meet this problem in linux, I've try unzip and 7-zip and none of them works, but finally I extract the zip file with fastjar(and jar should works, too) you may refet to this link

zerollzeng avatar Aug 06 '20 08:08 zerollzeng

I tried zip -FF 100_epoch_selfie2anime_checkpoint.zip --out 100_epoch_selfie2anime_checkpoint_fixed.zip && 7z x 100_epoch_selfie2anime_checkpoint_fixed.zip.

This still shows errors but test phase worked fine.

funatsufumiya avatar Nov 28 '21 08:11 funatsufumiya