paarthneekhara / text-to-image

Text to image synthesis using thought vectors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Erorr for bi_skip.npz and uni_skip.npz => BadZipFile: File is not a zip file

DHANOLA opened this issue · comments

I am getting an error from numpy. load() that the above files are not zip.

Here is a screenshot of the error:

image

image

image

image

image

image

Gotcha the error was using subsystem. Popen is using the command wget but the file size I got of that .npz was 40M later I used instead os. system to run the terminal commands.

Gotcha the error was using subsystem. Popen is using the command wget but the file size I got of that .npz was 40M later I used instead os. system to run the terminal commands.

Actually I have been downloading the files from the python using Linux wget command but the file downloaded using the Popen was less in comparison to original file size. The file downloaded was corrupted or broken I think.