# AI for Medical Diagnosis C1\_W3\_Assignment new template of def standardize(image) required

**URL:** <https://community.deeplearning.ai/t/ai-for-medical-diagnosis-c1-w3-assignment-new-template-of-def-standardize-image-required/230972>\
**Category:** AI for Medical Diagnosis\
**Tags:** week-module-3\
**Created:** [November 15, 2022, 1:37pm UTC](https://community.deeplearning.ai/t/ai-for-medical-diagnosis-c1-w3-assignment-new-template-of-def-standardize-image-required/230972 "2022-11-15T13:37:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![KrystynaAmbroch](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@KrystynaAmbroch](https://community.deeplearning.ai/u/KrystynaAmbroch)\
**Post date:** [November 15, 2022, 1:37pm UTC](https://community.deeplearning.ai/t/ai-for-medical-diagnosis-c1-w3-assignment-new-template-of-def-standardize-image-required/230972/1 "2022-11-15T13:37:33Z")

</div>

I have completed all the C1\_W3\_Assignment with the exception of def standardize(image) in the Exercise 2 - standardization Because I tried to improve the code of the function many times, I do not remember which places were to be filled . My current solution for this function does not pass some of the tests. This issue is the only thing which is causing all my C1\_W3\_Assignment to fail. Could you send me a copy of the original code of the def standardize(image) which was the starting point for the exercise with the function, please.

---

<div class="post-metadata">

**Author:** ![Juan\_Olano](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/juan_olano/32/27125_2.png) [@Juan\_Olano](https://community.deeplearning.ai/u/Juan_Olano)\
**Post date:** [November 15, 2022, 1:45pm UTC](https://community.deeplearning.ai/t/ai-for-medical-diagnosis-c1-w3-assignment-new-template-of-def-standardize-image-required/230972/2 "2022-11-15T13:45:11Z")

</div>

I’ll send you the template via direct message. Please try that and let us know.

---

<div class="post-metadata">

**Author:** ![KrystynaAmbroch](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@KrystynaAmbroch](https://community.deeplearning.ai/u/KrystynaAmbroch)\
**Post date:** [November 15, 2022, 1:57pm UTC](https://community.deeplearning.ai/t/ai-for-medical-diagnosis-c1-w3-assignment-new-template-of-def-standardize-image-required/230972/3 "2022-11-15T13:57:56Z")

</div>

Thank you very much, Juan.

Regards,  
Krystyna

---

<div class="post-metadata">

**Author:** ![Juan\_Olano](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/juan_olano/32/27125_2.png) [@Juan\_Olano](https://community.deeplearning.ai/u/Juan_Olano)\
**Post date:** [November 15, 2022, 2:02pm UTC](https://community.deeplearning.ai/t/ai-for-medical-diagnosis-c1-w3-assignment-new-template-of-def-standardize-image-required/230972/4 "2022-11-15T14:02:35Z")

</div>

Absolutely! I hope you can move one with this exercise and complete this assignment!

Glad I could help.

Juan

---

<div class="post-metadata">

**Author:** ![paulinpaloalto](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/paulinpaloalto/32/187_2.png) [@paulinpaloalto](https://community.deeplearning.ai/u/paulinpaloalto)\
**Post date:** [November 15, 2022, 7:36pm UTC](https://community.deeplearning.ai/t/ai-for-medical-diagnosis-c1-w3-assignment-new-template-of-def-standardize-image-required/230972/5 "2022-11-15T19:36:45Z")

</div>

In case you run into a similar situation in the future, note that there is a generic method to get a “clean” copy of any of the assignments. [Here’s a thread from DLS](https://community.deeplearning.ai/t/how-to-get-a-clean-copy-of-an-assignment-notebook/73) that describes the procedure, but it’s not specific to DLS.

---

<div class="post-metadata">

**Author:** ![KrystynaAmbroch](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@KrystynaAmbroch](https://community.deeplearning.ai/u/KrystynaAmbroch)\
**Post date:** [November 15, 2022, 8:04pm UTC](https://community.deeplearning.ai/t/ai-for-medical-diagnosis-c1-w3-assignment-new-template-of-def-standardize-image-required/230972/6 "2022-11-15T20:04:19Z")

</div>

Thank you, Paul, for the information, and the explanation how to get a ‘clean’ copy.

Regards,  
Krystyna
