hanzhanggit / StackGAN

MIT License
1.86k stars 457 forks source link

Torchfile reading error #60

Open Ostyk opened 4 years ago

Ostyk commented 4 years ago

Traceback (most recent call last): File "demo/demo.py", line 175, in <module> t_file = torchfile.load(cap_path) File "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/torchfile.py", line 424, in load return reader.read_obj() File "/home/ec2-user/anaconda3/envs/tensorflow_p27/lib/python2.7/site-packages/torchfile.py", line 414, in read_obj "unknown object type / typeidx: {}".format(typeidx)) torchfile.T7ReaderException: unknown object type / typeidx: 1936287828 (tensorflow_p27) [ec2-user@ip-172-31-23-73 StackGAN]$

Hi, I had to convert the example_captions.txt file to '.t7' format, however, now that (I think they are in this format, but not sure since I changed it using 'mv' command) this is the error I am getting. Anyone had similar issues?