The cossim is defined with normalized gradients, so I should normalize them before.
The cossim is defined with normalized gradients, so I should normalize them before.