torch / torch7

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

Issue with reading .bin file with torch.FloatStorage() #1131

Open Hancminnah opened 6 years ago

Hancminnah commented 6 years ago

Hi,

I understand that this is an old and recurrent issue but I am still pretty new to torch. I followed the installation guide in "http://torch.ch/docs/getting-started.html" and when i tried to read the .bin file, it has dimension 0. I have checked the .bin file with matlab and there are values inside. I tried to reinstall LUA 5.2 by following the getting started page but i still face the same error.

I understand that this problem is already solved by soumith in commit 89ede3b but I am not sure how to fix this with the new commit. Is there any difference between torch7 libraries and torch/distro libraries?

How can i solve this problem in a step by step way? I am still very new torch7 and any help to solve this problem is deeply appreciated.

Best Regards, Min Min

tastyminerals commented 6 years ago

In order to be sure that everything works install Torch using official page and Lua 5.1. Seriously, there is absolutely no reason to use Lua 5.2 if you plan to use only Torch.