Error in beam search
Closed this issue · 2 comments
JamesYang568 commented
I got RuntimeError: "index_select_out_cuda_impl" not implemented for 'Float'
. The data type of t_predecessors
and t_predecessors
are Float32. Is this correct?
And if I change the type to long(), I got a 0 Emebedding vector cos similarity.
YooWang commented
I also encountered the same problem, but I changed to long() type and got the result successfully.
JamesYang568 commented
I also encountered the same problem, but I changed to long() type and got the result successfully.
Thanks for your prompt reply! I want to futher confirm that can you get both similarity and accuracy correctly?