Hi @Noriyuki_Kushida
Welcome to Discourse
The topic has been addressed by this thread
Basically the ‘sparse_categorical_crossentropy’ is suitable when the labels are integer. The ‘categorical_crossentropy’ is used when the labels are ‘one-hot encoded’
Hope this will help.
Br
3 Likes