C3_W3_A1_Assignment.ipynb

Is there a way to reset this assignment to default code ? I suspect some non-graded code changed in my exercise that is allowing all test cases to Pass for both the exercises but i keep getting below errors when i train the agents: The first error message indicates that the input shape of the model is (None, 64) i.e., a 2D tensor with a variable batch size and 64 features. However, during training, the model received a tensor with an incompatible shape of (1, 8), i.e., a 2D tensor with batch size 1 and 8 features. This means that the input tensor has the wrong shape for the model.

The second error message indicates that there is a matrix size incompatibility in a matrix multiplication operation (MatMul). It shows that the input tensor has shape (1, 8), while the kernel (weight) tensor of the layer has shape (64, 64). This suggests that the weight tensor has the wrong shape for the input tensor, and a matrix multiplication cannot be performed.

Hi @Shashank_Sangar, Welcome back to the community​:partying_face:!

Please ensure that the input shape of your data matches the input shape of the model.

You may refer to this thread to refresh your assignment.

Best,
Mujassim

Thank you, @Mujassim_Jamal - refreshing the assignment did the trick. Appreciate your swift response :slight_smile: