About Convolutional Neural Network Week 2 Programming assignment: Transfer Learning with MobileNet

All the test cases passed on the notebook. But the autograder gave the programming assignment grade 0/100.
Auto grader output shows : Cell #UNQ_C3. Can’t compile the student’s code. Error: AttributeError(“module ‘tensorflow.keras.losses’ has no attribute ‘BinaryC’”)
what can i do now?

Hi @Subhojit_Kayal,

I think you want BinaryCrossentropy instead of just BinaryC, which doesn’t exist. You can check that page out and see all the loss functions you have available in TF/Keras.

Hope that helps!

1 Like

Thank you so much for your reply @neurogeek
I used BinaryCrossentropy there.
I think that there was some technical issues which is now solved automatically.

Great to hear, @Subhojit_Kayal
Good luck with the rest of the course!