What is different between my custom weighted categorical cross entropy loss and the built-in method?

It seems you are not normalizing the loss via dividing by the used weights as seen here.

1 Like