shibing624 / text2vec

text2vec, text to vector. 文本向量表征工具,把文本转化为向量矩阵,实现了Word2Vec、RankBM25、Sentence-BERT、CoSENT等文本表征、文本相似度计算模型,开箱即用。
https://pypi.org/project/text2vec/
Apache License 2.0
4.46k stars 396 forks source link

转ONNX后,出现问题,求解答 #115

Closed dtMndas closed 1 year ago

dtMndas commented 1 year ago

ai.onnxruntime.OrtException: Error code - ORT_INVALID_ARGUMENT - message: Non-zero status code returned while running Gather node. Name:'Gather_16' Status Message: indices element out of data bounds, idx=101 must be within the inclusive range [-2,1]

shibing624 commented 1 year ago

没转过,不清楚