# C1W3 Assignment Errors - Need Help

**URL:** <https://community.deeplearning.ai/t/c1w3-assignment-errors-need-help/590303>\
**Category:** Linear Algebra for Machine Learning and Data Sc...\
**Tags:** week-module-3\
**Created:** [March 13, 2024, 8:48pm UTC](https://community.deeplearning.ai/t/c1w3-assignment-errors-need-help/590303 "2024-03-13T20:48:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobinM17](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/robinm17/32/81194_2.png) [@RobinM17](https://community.deeplearning.ai/u/RobinM17)\
**Post date:** [March 13, 2024, 8:48pm UTC](https://community.deeplearning.ai/t/c1w3-assignment-errors-need-help/590303/1 "2024-03-13T20:48:26Z")

</div>

I completed the Linear Transformations and Neural Networks workshop and everything runs and all Unit Tests pass. BUT, when I asked it to grade it, it fails and gives unhelpful errors like:  
Too many indices for array  
Unsupported operand types

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [March 13, 2024, 9:22pm UTC](https://community.deeplearning.ai/t/c1w3-assignment-errors-need-help/590303/2 "2024-03-13T21:22:30Z")

</div>

I would guess that your code has some mistakes involving use of fixed constants or global variables.

There are a lot of other potential explanations, but those two are primary.

---

<div class="post-metadata">

**Author:** ![Alaa\_Sweed](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@Alaa\_Sweed](https://community.deeplearning.ai/u/Alaa_Sweed)\
**Post date:** [March 25, 2024, 10:29pm UTC](https://community.deeplearning.ai/t/c1w3-assignment-errors-need-help/590303/3 "2024-03-25T22:29:18Z")

</div>

hello, on the linear Transformation and Neural Networks Assignment in Exercise 2, i apply the shear parameter in the given way and it doesnt work, i tried shearing on the X axis which is noted in the Lab, then y axis, then on both axis and i cant figure out the problem, i solved every other exercise but im stuck with this!!

---

<div class="post-metadata">

**Author:** ![TMosh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/tmosh/32/9321_2.png) [@TMosh](https://community.deeplearning.ai/u/TMosh)\
**Post date:** [March 25, 2024, 11:30pm UTC](https://community.deeplearning.ai/t/c1w3-assignment-errors-need-help/590303/4 "2024-03-25T23:30:24Z")

</div>

Sorry, i am out of the office and unable to give specific support.

I recommend you start a new thread.
