Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading data of class STRING(50331965) is unsupported stack traceback #82

Open
Tae618 opened this issue Sep 19, 2016 · 0 comments
Open

Comments

@Tae618
Copy link

Tae618 commented Sep 19, 2016

I created my hdf5 file by python with
embed_info.create_dataset('vocab',(count,),dtype='S10',data=vocab)

When I open that file using torch, it goes wrong.
Here is the error log:
torch/install/share/lua/5.1/hdf5/ffi.lua:335: Reading data of class STRING(50331965) is unsupported
stack traceback:
[C]: in function 'error'
/home/lyb/torch/install/share/lua/5.1/hdf5/ffi.lua:335: in function '_getTorchType'
/home/lyb/torch/install/share/lua/5.1/hdf5/dataset.lua:88: in function 'getTensorFactory'
/home/lyb/torch/install/share/lua/5.1/hdf5/dataset.lua:138: in function 'partial'
[string "a= file:read('/embed_info/vocab'):partial({1,2})"]:1: in main chunk
[C]: in function 'xpcall'
/home/lyb/torch/install/share/lua/5.1/trepl/init.lua:669: in function 'repl'
.../lyb/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk
[C]: at 0x00406670

Anyone has met such a question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant