In line 33 in file accuracy_layer.cpp a +1throws an error when using multiple labels for each input and removing it solves the issue