# Update\_parameters\_with\_adam W1 error

**URL:** <https://community.deeplearning.ai/t/update-parameters-with-adam-w1-error/52060>\
**Category:** Improving Deep Neural Networks: Hyperparameter tun\
**Tags:** coursera-platform\
**Created:** [October 19, 2021, 9:24am UTC](https://community.deeplearning.ai/t/update-parameters-with-adam-w1-error/52060 "2021-10-19T09:24:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anahitkh96](https://avatars.discourse-cdn.com/v4/letter/a/f19dbf/32.png) [@anahitkh96](https://community.deeplearning.ai/u/anahitkh96)\
**Post date:** [October 19, 2021, 9:24am UTC](https://community.deeplearning.ai/t/update-parameters-with-adam-w1-error/52060/1 "2021-10-19T09:24:10Z")

</div>

I have exactly the same output as it is expected but I can’t pass the tests. Why?

 ![image](https://global.discourse-cdn.com/dlai/original/2X/e/effa42f1d690db82ed74942208c48af1ae31dd6d.png)

---

<div class="post-metadata">

**Author:** ![neurogeek](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/neurogeek/32/57_2.png) [@neurogeek](https://community.deeplearning.ai/u/neurogeek)\
**Post date:** [October 19, 2021, 3:32pm UTC](https://community.deeplearning.ai/t/update-parameters-with-adam-w1-error/52060/2 "2021-10-19T15:32:23Z")

</div>

Hi @anahitkh96,

Welcome to the forums!

This just looks like an issue with a dictionary key. Check the parameters dictionary to make sure you are setting the correct parameters and it contains the key ‘W1’ (maybe you have a typo?)

Hope that helps!
