hanzhanggit / StackGAN-Pytorch

MIT License
491 stars 146 forks source link

Truncated caption feature file? #1

Open maga33 opened 7 years ago

maga33 commented 7 years ago

Hi,

Thank you for sharing the code. We are trying to run evaluation of pre-trained StackGAN model but encountered a problem with loading caption features for validation images.

Specifically, when we try to load the feature from (val_captions.t7) using torchfile, the following error occurs:

*** error: unpack requires a string argument of length 4

We are suspecting that may be the caption feature file is truncated, considering that the size of file is ~13.5 MB. Could you please check whether the file is valid?