Funkcja strat odpowiednia dla Softmax

model.compile(loss='categorical_crossentropy', optimizer=opt, metrics=['accuracy'])
Yucky Yacare