Closed clementfarabet closed 7 years ago
Getting an error at this line, when running:
torch.save('/tmp/test.t7', {hello=123, world=torch.rand(1,2,3)})
o = torchfile.load('/tmp/test.t7') ValueError: invalid literal for int() with base 10: b'1.0'
The version in my test.t7 file is "V 1.0".
test.t7
"V 1.0"
This is with Python 2.7 or 3.5, and Lua 5.3.
Fixing here.
Thank you!
Getting an error at this line, when running:
The version in my
test.t7
file is"V 1.0"
.This is with Python 2.7 or 3.5, and Lua 5.3.