649453932 / Chinese-Text-Classification-Pytorch

中文文本分类,TextCNN,TextRNN,FastText,TextRCNN,BiLSTM_Attention,DPCNN,Transformer,基于pytorch,开箱即用。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TEXT cnn为什么不动啊 也不报错就是不动

yolo-ai7 opened this issue · comments

Loading data...
Vocab size: 4762
180000it [00:02, 68587.62it/s]
10000it [00:00, 53345.95it/s]
10000it [00:00, 91449.90it/s]
Time usage: 0:00:03
(convs): ModuleList(
(0): Conv2d(1, 256, kernel_size=(2, 300), stride=(1, 1))
(1): Conv2d(1, 256, kernel_size=(3, 300), stride=(1, 1))
(2): Conv2d(1, 256, kernel_size=(4, 300), stride=(1, 1))
)
(dropout): Dropout(p=0.5, inplace=False)
(fc): Linear(in_features=768, out_features=10, bias=True)
)>
Epoch [1/20]
就不动了

救救孩子