C2W3_Assignment Grading Error_Horses-v-Humans

The grader is returning an error on this function that appears to be working as expected. I added a cell and called the function and was unable to repro the error the grader failed the submission for. Please help me understand why the grader is returning:

Failed test case: There was an error grading this function. Details shown in ‘got’ value below:.
Expected:
no exceptions,
but got:
Found unexpected instance while processing input tensors for keras functional model. Expecting KerasTensor which is from tf.keras.Input() or output from keras layer call(). Got: <keras.engine.functional.Functional object at 0x7f3f603842d0>.

PLEASE REFRAIN FROM POSTING SOLUTION IN PUBLIC

Hi there,

Why are you importing sigmoid at the top and not using it anywhere? Is that part of the provided code?

Can you post what text guidance is given for this exercise?

Hi,

I reworked the solution and was able to complete the assignment. Thank you for your assistance in reviewing this.

JB

1 Like