Open cBournhonesque opened 8 years ago
If you try writing a table of the form: data = {[1] = torch.Tensor(1)}
You will get an error:
torch/install/share/lua/5.1/hdf5/group.lua:101: bad argument #2 to 'H5Dcreate2' (cannot convert 'number' to 'const char *')
because the function hdf5.C.H5Dcreate2 only accepts string names.
If you try writing a table of the form: data = {[1] = torch.Tensor(1)}
You will get an error:
torch/install/share/lua/5.1/hdf5/group.lua:101: bad argument #2 to 'H5Dcreate2' (cannot convert 'number' to 'const char *')
because the function hdf5.C.H5Dcreate2 only accepts string names.