torch / torch7

http://torch.ch
Other
8.97k stars 2.38k forks source link

Cannot read .bin file with torch.TYPEStorage() #1112

Closed pierrelzw closed 6 years ago

pierrelzw commented 6 years ago

Hi,

I'm new to torch and git. I installed torch7 on Ubuntu14.04. And I come across the same problem as #1071. Since i don't know how to install older version of torch. I followed changes of 89ede3b indicated in #1071., but i always failed to load .bin file(myPerm.bin.zip) using torch.FloatStorage(), as shown below. `th> torch.FloatStorage("myPerm.bin")

[torch.FloatStorage of size 0] `

pierrelzw commented 6 years ago

after reinstall the lastest torch, the problem solved

Hancminnah commented 6 years ago

Hi there, i also faced the same problem when i tried to read .bin files with torch.FloatStorage("data.bin"). What do you mean by reinstalling the latest torch? I have just installed torch following through getting started page "http://torch.ch/docs/getting-started.html" with Lua 5.2. Any help to solve this problem would be appreciated.