C2W2 - Assignment Score Issue

Hi!

I have the following issue when submitting the Assignment.

I checked the code many times and didn’t find any error. The outputs are also correct. But the score for the Exercise 6 (preprocessing_fn) remains 5/10 no matter what I do.
I tried these steps: https://community.deeplearning.ai/t/assignment-troubleshooting-tips/16497, but without any success.
Does anyone know how to fix this issue? I’d like to get a full score for this Assignment.

Thanks!

Edit: A solution has been found. Use tft.mean where needed, and don’t use tf.reduce_mean!

2 Likes

Hi Evgeny! Sorry we weren’t able to see this in time. Glad you resolved it!

Thank you for this! I have been facing the same issue, this helped. Do you know why though? What is the difference which caused tf.reduce_mean to fail?