AttributeError: module 'tensorflow._api.v1.keras.losses' has no attribute 'SparseCategoricalCrossentropy'
ylzzz opened this issue · comments
Hello, I am a beginner, I would like to ask why this problem occurs.Why does it show “module 'tensorflow._api.v1.keras.losses' has no attribute 'SparseCategoricalCrossentropy'”?I want to know how to solve it.Please.Thank you!