# Social networks lab project

**URL:** <https://community.deeplearning.ai/t/social-networks-lab-project/748366>\
**Category:** AI-Powered Software and System Design\
**Tags:** week-module-3, week-module-2, coursera-platform\
**Created:** [January 8, 2025, 12:42pm UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366 "2025-01-08T12:42:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![larryleguo](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/larryleguo/32/125983_2.png) [@larryleguo](https://community.deeplearning.ai/u/larryleguo)\
**Post date:** [January 8, 2025, 12:42pm UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/1 "2025-01-08T12:42:10Z")

</div>

For exercise 2, I always got:

Failed test case: Failed execution for club description Fitness Club.  
Expected:  
Function must run properly,  
but got:  
Exception thrown: name ‘club\_members’ is not defined.

 ![Screenshot 2025-01-08 203729](https://global.discourse-cdn.com/dlai/original/3X/3/3/337c975776f0c9f1868de5e57502b74a410c6cbe.png)

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [January 8, 2025, 2:19pm UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/2 "2025-01-08T14:19:37Z")

</div>

The function name should be defined as get\_club\_members() and should return the members of the club! Hopefully, you haven’t changed anything above exercise one, but make sure all previous cells are run though!

---

<div class="post-metadata">

**Author:** ![larryleguo](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/larryleguo/32/125983_2.png) [@larryleguo](https://community.deeplearning.ai/u/larryleguo)\
**Post date:** [January 9, 2025, 2:07am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/3 "2025-01-09T02:07:03Z")

</div>

I did not change anything. All tests passed. The exception said name ‘club\_members’ not found – this is the table name, not the function name.

---

<div class="post-metadata">

**Author:** ![rubina](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rubina](https://community.deeplearning.ai/u/rubina)\
**Post date:** [February 19, 2025, 7:38am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/4 "2025-02-19T07:38:20Z")

</div>

I got the same problem. Already restarted and clear kernel, reboot server but still got the same error message while passed the unittest

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 19, 2025, 7:49am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/5 "2025-02-19T07:49:31Z")

</div>

Did you try reseting the lab script from the question mark at the top right corner and then “get latest version”? Can you post a screenshot of the graders error!

---

<div class="post-metadata">

**Author:** ![rubina](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rubina](https://community.deeplearning.ai/u/rubina)\
**Post date:** [February 19, 2025, 7:55am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/6 "2025-02-19T07:55:22Z")

</div>

![image](https://global.discourse-cdn.com/dlai/original/3X/8/a/8ae89abf26c7a91c04652c5bd34d9443f96f9337.png)

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 19, 2025, 8:11am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/7 "2025-02-19T08:11:57Z")

</div>

Send me your lab code in private, I will have a look at it. In the meantime you try to get the latest version and try your solution on the system again.

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 19, 2025, 9:15am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/8 "2025-02-19T09:15:40Z")

</div>

Hello @rubina, your assignment name has been changed from the original name i.e. C3M2\_Assignment.ipynb. The grade only accepts the original name, try to change it back to its original name and if that doesn’t work you need to “get the latest version”. Thanks.

---

<div class="post-metadata">

**Author:** ![rubina](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rubina](https://community.deeplearning.ai/u/rubina)\
**Post date:** [February 19, 2025, 10:23am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/9 "2025-02-19T10:23:14Z")

</div>

I didnt change the file name in the Cousera lab. The one that I sent you is the downloaded version that I store in my personal folder.

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 20, 2025, 7:02am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/10 "2025-02-20T07:02:34Z")

</div>

Ok, after seeing again your lab I think you have an outdated version of your assignment and I keep telling you perform a “Get Latest Version”, thats the only suggestion I have for you now. Once you get a clean copy of the Lab, solve it again. For reference the first exercise in the official notebook is get\_club\_members(session,club\_description) not load\_data\_from\_csv(session, Club, Person, friendships, club\_members, csv\_path=“members.csv”), there is a load\_dataset(path = “./”) function in the official version though.

---

<div class="post-metadata">

**Author:** ![rubina](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rubina](https://community.deeplearning.ai/u/rubina)\
**Post date:** [February 20, 2025, 7:51am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/11 "2025-02-20T07:51:19Z")

</div>

I did try “Get Latest Version” several times but still got zero for the get\_club\_members function. I think there is an error in the Coursera server. Anyway, I will try to redo the assignment from scratch. Thank you for the prompt reply.

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 20, 2025, 7:57am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/12 "2025-02-20T07:57:19Z")

</div>

Delete the current files before you get the latest version, because the file I saw its not the official assignment and let us know how that goes!

---

<div class="post-metadata">

**Author:** ![rubina](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rubina](https://community.deeplearning.ai/u/rubina)\
**Post date:** [February 20, 2025, 10:44am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/13 "2025-02-20T10:44:42Z")

</div>

I deleted the current file, get the latest version, redo the coding and still got zero for the get\_club\_members function despite of passing the unittests.

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 20, 2025, 2:12pm UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/14 "2025-02-20T14:12:44Z")

</div>

Let me have a final look on your .ipynb lab now! Send it on private.

---

<div class="post-metadata">

**Author:** ![rubina](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rubina](https://community.deeplearning.ai/u/rubina)\
**Post date:** [February 21, 2025, 7:10am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/15 "2025-02-21T07:10:48Z")

</div>

Kindly find the attached file. Thank you. Regards.

> **(attachments)**
>
> [C3M2\_Assignment\_2025\_02\_21\_04\_11\_24.ipynb|attachment]

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 21, 2025, 9:47am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/16 "2025-02-21T09:47:07Z")

</div>

The problem is here club\_members, it is not fed anywhere in the get\_club\_members function! Also you are supposed to send me lab code on private not on public. See you private messages, try that one…

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 24, 2025, 6:57am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/17 "2025-02-24T06:57:26Z")

</div>

Hello @lucas.coutinho, please if possible can you have a look at @rubina notebook, I think there is something wrong with their notebook but once we fix something, something else turns up wrong.

---

<div class="post-metadata">

**Author:** ![rubina](https://avatars.discourse-cdn.com/v4/letter/r/e47c2d/32.png) [@rubina](https://community.deeplearning.ai/u/rubina)\
**Post date:** [February 24, 2025, 7:19am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/18 "2025-02-24T07:19:52Z")

</div>

Hi! Thank you so much for the follow ups. Indeed, I resent the assignment again this morning my local time, and, yes, something else turns up wrong 🙂

---

<div class="post-metadata">

**Author:** ![gent.spah](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/gent.spah/32/136423_2.png) [@gent.spah](https://community.deeplearning.ai/u/gent.spah)\
**Post date:** [February 24, 2025, 7:35am UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/19 "2025-02-24T07:35:46Z")

</div>

Its strange, and I dont have a lot of time to go in depth to it. But should normally work…

---

<div class="post-metadata">

**Author:** ![lucas.coutinho](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/lucas.coutinho/32/155465_2.png) [@lucas.coutinho](https://community.deeplearning.ai/u/lucas.coutinho)\
**Post date:** [February 24, 2025, 12:33pm UTC](https://community.deeplearning.ai/t/social-networks-lab-project/748366/20 "2025-02-24T12:33:16Z")

</div>

Hi @rubina,

Could you please send me your notebook? I can’t download your previous attachment.

[Next page](https://community.deeplearning.ai/t/social-networks-lab-project/748366.md?page=2)
