simple-sam icon indicating copy to clipboard operation
simple-sam copied to clipboard

TypeError: unsupported operand type(s) for *: 'IndexedSlices' and 'float'

Open 353xiong opened this issue 2 years ago • 2 comments

e_w = gradients[i] * self.rho / (grad_norm + 1e-12)

TypeError: unsupported operand type(s) for *: 'IndexedSlices' and 'float'

How to deal with it?

353xiong avatar Sep 06 '21 08:09 353xiong