Capsule-Text-Classification
Capsule-Text-Classification copied to clipboard
TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
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'. Can you give me some suggestions. It seems that the program encounter a problem when initialize the weights parameters of self.W.