C3W1 model.fit() function

When creating a post, please add:

  • Week 1
  • C3W1 assignment
  • Description (Error in code)

I passed all the tests up to here, but here it gives me the following error.

The error tells you that the sizes of the data you’re passing to model.fit() are not the same.

The error could be in the training set, or in the validation set.

1 Like