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

TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'

Open Ponyo1 opened this issue 6 years ago • 0 comments

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.

Ponyo1 avatar Dec 14 '19 06:12 Ponyo1