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.77k stars 406 forks source link

Keras-TextClassification-master/keras_textclassification/m04_TextRNN/graph.py #21

Closed guo-huojian closed 4 years ago

guo-huojian commented 4 years ago

Keras-TextClassification-master/keras_textclassification/m04_TextRNN/graph.py In line 36 to 42 have wrongs,like ''if self.rnn_units=="LSTM" :'' need to be ''if self.rnn_type=="LSTM" :''

yongzhuo commented 4 years ago

yes, i will fix it