shibing624 / pytextclassifier

pytextclassifier is a toolkit for text classification. 文本分类,LR,Xgboost,TextCNN,FastText,TextRNN,BERT等分类模型实现,开箱即用。
https://shibing624.github.io/pytextclassifier/
Apache License 2.0
482 stars 74 forks source link

Segmentation fault (core dumped) #10

Closed weifan-zhao closed 1 year ago

weifan-zhao commented 1 year ago
截屏2023-07-07 11 08 04
shibing624 commented 1 year ago

check your torch installed correct. pytextclassifier use the torch lib, check :python -c "import torch"

weifan-zhao commented 1 year ago
截屏2023-07-07 13 48 26
shibing624 commented 1 year ago

我测试没问题,python -c "import pytextclassifier" pytextclassifier-1.3.6