DLS 4, Week 2, Programming Assignment - Transfer Learning with MobileNet v1:

Although I have passed all the tests and everything works, I got 66/100. The error raised is:

We expected a value of ‘(<class ‘tensorflow.python.keras.losses.BinaryCrossentropy’>, True)’ and you have ‘(<class ‘tensorflow.python.keras.losses.BinaryCrossentropy’>, ‘True’)’.

I don’t understand it, the expected value is exactly the same as my value, what kind of error is it?

Hey @oleka222, let me help you with that.

ok @Mubsi, should I do anything so you can help me?

problem solved, I wrote unnecessary inverted commas

1 Like

For the output layer we are using a linear activation. Why not sigmoid?