[Torch5-devel] moving to longs
Status: Pre-Alpha
Brought to you by:
andresy
|
From: Ronan C. <ro...@co...> - 2008-08-13 21:36:00
|
hey guys
*** i made to major changes in torch 5.1
- added a versioning system in object saved on disk
- changed Tensor and Storage sizes from "int" to "long"
we can now use all the gigs of ram we want :)
the models you saved previously should be loadable with the new
torch, thanks to the versioning system. if you have problems loading
an old model, please let me know.
*** there is one incompatibility coming out of this:
if you were creating a tensor with something like
sz = torch.IntStorage(2); sz[1] = 4; sz[2] = 5
x = torch.Tensor(sz)
this does not work anymore: you have to use LongStorage instead. i
believe this was rare anyways, so it should not bother you too much.
cheers
ronan.
|