Sparse_categorical_crossentropy v.s. categorical_crossentropy on C2W4

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