yongzhuo / Keras-TextClassification

中文长文本分类、短句子分类、多标签分类、两句子相似度(Chinese Text Classification of Keras NLP, multi-label classify, or sentence classify, long or short),字词句向量嵌入层(embeddings)和网络层(graph)构建基类,FastText,TextCNN,CharCNN,TextRNN, RCNN, DCNN, DPCNN, VDCNN, CRNN, Bert, Xlnet, Albert, Attention, DeepMoji, HAN, 胶囊网络-CapsuleNet, Transformer-encode, Seq2seq, SWEM, LEAM, TextGCN
https://blog.csdn.net/rensihui
MIT License
1.78k stars 405 forks source link

运行 Deep_Emoji 出错 TypeError: #49

Closed ltaatl closed 4 years ago

ltaatl commented 4 years ago

graph init ok! Traceback (most recent call last): File "/home/yons/lta/Keras-TextClassification-master/keras_textclassification/m10_DeepMoji/train.py", line 110, in train(rate=1) File "/home/yons/lta/Keras-TextClassification-master/keras_textclassification/m10_DeepMoji/train.py", line 95, in train pt = PreprocessSim(path_model_dir) TypeError: init() takes 1 positional argument but 2 were given

yongzhuo commented 4 years ago

模型测试其他场景残留的代码,已修复