What could be the problem?
It’s hard to say. First questions come to mind:
Were you debugging your code?
Were you running the notebook locally?
Hi @arvyzukai . Thank you for your response.
No, I am running the notebook as a Coursera Lab. And I wasn’t debugging, just trying my best to implement all the concepts programmatically. Solved all the usual errors like wrong array shapes and stuff…this is the only error that does not have anything to do with the class.
Graded 10/10 for the Train model section. But now can’t move on to Compute Accuracy and Test Accuracy
#update: the target_pos in data generator was the problem
Thank you @Mark_Kyama_Adalla for the update. It might benefit future readers