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

attempt to call method 'topk' (a nil value) #61

Open
sivagnanamn opened this issue Oct 14, 2016 · 0 comments
Open

attempt to call method 'topk' (a nil value) #61

sivagnanamn opened this issue Oct 14, 2016 · 0 comments

Comments

@sivagnanamn
Copy link

sivagnanamn commented Oct 14, 2016

I trained the model with a different dataset ( but in the same format as movie conversations) using "opencl". While evaluating I'm getting the below error.

me: say "Hello."

./seq2seq.lua:122: attempt to call method 'topk' (a nil value)
stack traceback:
    ./seq2seq.lua:122: in function 'eval'
    eval.lua:74: in function 'say'
    [string "_RESULT={say "Hello."}"]:1: in main chunk
    [C]: in function 'xpcall'
    /home/siva/torch-cl/install/share/lua/5.1/trepl/init.lua:651: in function 'repl'
    ...d/torch-cl/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in main chunk
    [C]: at 0x00406670  

Printing the prediction tensor size gives the below output:

Prediction tensor size:      141874
[torch.LongStorage of size 1]

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