Programming Assignment - Final Exercise - train

Hi, Can somebody explain this error to me?? Thank You




Hello @Syed_Hamza_Tehseen the issue here is in the set_sparse_cat_crossentropy_loss() function, you are not setting those losses properly, have a think about it why is the case so!

Yeah, I’ve got it now. The issue was in the one step training function