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

bad argument #2 to '?' (start index out of bound) #28

Open
medori233 opened this issue Jul 3, 2018 · 1 comment
Open

bad argument #2 to '?' (start index out of bound) #28

medori233 opened this issue Jul 3, 2018 · 1 comment

Comments

@medori233
Copy link

i'm new to both torch and lua, i ran across this issue, which drives me crazy:
/home/handa/torch/install/bin/luajit: bad argument #2 to '?' (start index out of bound at /tmp/luarocks_torch-scm-1-9476/torch7/generic/Tensor.c:984)
stack traceback:
[C]: at 0x7f8ee1c75b70
[C]: in function '__index'
/home/handa/DataHandler.lua:85: in function '__init'
/home/handa/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/handa/torch/install/share/lua/5.1/torch/init.lua:87>
[C]: in function 'DataHandler'
train_match.lua:51: in main chunk
[C]: in function 'dofile'
...anda/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

anyone can help me out? thanks a lot!

@uoyevoli
Copy link

hello, have you solved this problem? i have the same problem.

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

2 participants