Hinge loss gives accuracy 1 but cross entropy gives accuracy 0 after many epochs, why?

The error was probably on the way I calculated the error. For the fix check: