# C2M1 Assignment exercise 4: Failing submission

**URL:** <https://community.deeplearning.ai/t/c2m1-assignment-exercise-4-failing-submission/882919>\
**Category:** PyTorch: Fundamentals\
**Tags:** dl-ai-learning-platform, week-module-2\
**Created:** [November 7, 2025, 10:55am UTC](https://community.deeplearning.ai/t/c2m1-assignment-exercise-4-failing-submission/882919 "2025-11-07T10:55:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonRead](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/jonread/32/120567_2.png) [@JonRead](https://community.deeplearning.ai/u/JonRead)\
**Post date:** [November 7, 2025, 10:55am UTC](https://community.deeplearning.ai/t/c2m1-assignment-exercise-4-failing-submission/882919/1 "2025-11-07T10:55:30Z")

</div>

As in Shanmugam’s post [C2\_M1 Assignment unittests\_excercise4 does not recognize answer text](https://community.deeplearning.ai/t/c2-m1-assignment-unittests-excercise4-does-not-recognize-answer-text/882717/7) my code is failing the unit tests with:

```auto
Failed test case: model_parameters is not completed correctly.
Expected: Expected call to model.parameters() to obtain model parameters
Got: model.parameters() is not present`

```

I appreciate the unit tests need some fix applied, but I’m confused what’s wrong. The output of the previous cell is as expected, but the submission fails to achieve a passing score. Could we perhaps DM?

---

<div class="post-metadata">

**Author:** ![Mubsi](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mubsi/32/94983_2.png) [@Mubsi](https://community.deeplearning.ai/u/Mubsi)\
**Post date:** [November 7, 2025, 11:19am UTC](https://community.deeplearning.ai/t/c2m1-assignment-exercise-4-failing-submission/882919/2 "2025-11-07T11:19:47Z")

</div>



---

<div class="post-metadata">

**Author:** ![Mubsi](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mubsi/32/94983_2.png) [@Mubsi](https://community.deeplearning.ai/u/Mubsi)\
**Post date:** [November 7, 2025, 11:20am UTC](https://community.deeplearning.ai/t/c2m1-assignment-exercise-4-failing-submission/882919/3 "2025-11-07T11:20:10Z")

</div>

Hi @JonRead,

Yes, I’m going to DM you.
