Course 4 Week 1 Assignment 2 - Functional API Model Training


Hi -

As seen in the above images I built the functional API model and all tests have passed, but when I attempt to train the model I get the above error.

Can you please help me understand the issue.

Thanks,
Sagar

Your “functional_2” output only shows that your layers have the correct shapes. It does not prove that you’re doing the correct operations with them.

Your second image does not show enough of the error messages to find the important one.

Figured out the issue. There was a issue with loading the dataset. Thanks for the reply.