Capsule-Text-Classification icon indicating copy to clipboard operation
Capsule-Text-Classification copied to clipboard

利用keras搭建的胶囊网络(capsule network文本分类模型,包含RNN、CNN、HAN等,其中keras_utils包含了capsule层和attention层的keras实现

Results 5 Capsule-Text-Classification issues
Sort by recently updated
recently updated
newest added

您好,我把数据集换成了10分类的问题,为啥出现这样 ValueError: Error when checking target: expected dense_1 to have shape (10,) but got array with shape (500,)

where can I download the datasets

Hi: When I change the parameter of Capsule 'share_weights' from True to False , it can not work with the mistake: TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'....

Hello, I have read you code, but i didn't find primary caps. It seems that after feeding the emdding into the Convolution layer, it then be fed into the convcaps...

Hello, I want to ask if this model performs well in large scale text classification datasets. Just like YELP_REVIEWS_FULL or AMAZON_REVIEWS_FULL. Because as far as I know, most experiments were...