sosuperic / MeanSum

Other
112 stars 51 forks source link

About the file: text_cnn.py #5

Open 1204271075 opened 5 years ago

1204271075 commented 5 years ago

When i change the batch_size = 16 , emb_size = 32 , and hidden_size = 64 , the text_cnn.py throughs a error : RuntimeError: Expected 4-dimensional input for 4-dimensional weight [128, 1, 3, 32], but got 5-dimensional input of size [16, 1, 150, 31688, 32] instead

How can i solve it ?