Closed JamesYang568 closed 2 years ago
I also encountered the same problem, but I changed to long() type and got the result successfully.
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?
I got
RuntimeError: "index_select_out_cuda_impl" not implemented for 'Float'
. The data type oft_predecessors
andt_predecessors
are Float32. Is this correct? And if I change the type to long(), I got a 0 Emebedding vector cos similarity.