649453932 / Chinese-Text-Classification-Pytorch

中文文本分类,TextCNN,TextRNN,FastText,TextRCNN,BiLSTM_Attention,DPCNN,Transformer,基于pytorch,开箱即用。
MIT License
5.19k stars 1.22k forks source link

dpcnn某个地方代码有问题 #98

Open ttzHome opened 1 year ago

ttzHome commented 1 year ago

原来代码是: while x.size()[2] > 2: x = self._block(x)

应该改为: while x.size()[2] > 1: x = self._block(x)