Week2-Assignement2 - Transfer Learning with MobileNetV2 - Exercise 2 - alpaca_model

All the tests passed but still get a score of 66% and this error: "Code Cell UNQ_C2: Function ‘alpaca_model’ is incorrect. Check implementation."
Anyone, experinece the same issue?
https://www.coursera.org/learn/convolutional-neural-networks/programming/nZima/transfer-learning-with-mobilenet/lab?path=%2Fnotebooks%2FW2A2%2FTransfer_learning_with_MobileNet_v1.ipynb

If you pass the tests in the notebook, but fail the grader, the thing to look for is referencing global variables in your functions. E.g. the “augmenter” function: are you sure you used the parameter that was passed in and didn’t directly call the external function?

Thank you for your response!

The issue has been fixed. I initially made a mistake in the activation function, and when the test failed the first time, I accidentally changed the value in the test instead of correcting my code. That’s why the test passed incorrectly.

2 Likes