DDIMDL
DDIMDL copied to clipboard
NLPProcess running error
Hello, Deng Yifan. After I installed the environment according to requirement.txt, I still got an error when running NLPProcess: RuntimeError: index_select(): Expected dtype int32 or int64 for index. Could you please help me solve it. This will help me a lot.
Hi, jiaming. Could you please provide a more thorough description of the problem? For example, which line of code leads to the error according to the interpreter.
Traceback (most recent call last):
File "D:/pyFile/DDIMDL/DDIMDL.py", line 1, in
This may be the issue of the dependency package with stanfordnlp. You can refer to https://github.com/stanfordnlp/stanfordnlp/issues/6 and replace stanfordnlp with stanza. I recalled that their APIs are almost the same.
Respected JiamingOuyang and YifanDengWHU, Can you please share with me the NLP file with the stanza if you have done so far?