C2W3 Assignment error: There was a problem compiling the code from your notebook. Details: 'NoneType' object has no attribute 'outputs'

Getting a zero, even though I use # grade-up-to-here and seem to be getting reasonable results (populated statistics tables, not NoneTypes…). Any leads?

1 Like

Hello @Yoni_Friedman
Try to restart the kernel and re-run the notebook

1 Like

Tried that. Still not working…

1 Like

I got the same issue and it ha happened on other labs too, it got fixed after trying again but for this particular lab, this does not seem to work

1 Like

I have the same issue please help us to check how to fix it.

1 Like

Have you managed to solve it yet? I am still trying to fix this too.

1 Like

@Christian_Padilla
Which browser are you using?

2 Likes

I am using Chrome, need some help with this , need my certificate.

1 Like

You fixed it yet? Having same problems here

1 Like

Didn’t solve. Got no help lost the money I paid for the course :frowning:

El El sáb 2.12.2023 a las 22:40, Yuqing Zhang via DeepLearning.AI <notifications@dlai.discoursemail.com> escribió:

1 Like

Hi Yuqing, and welcome to the community! Have you checked items 1 to 3 of these tips? If you followed them, please send me a copy of your notebook so we can investigate further. Thanks!

1 Like

I solved it by adding partial grading comment after each section to test if the coding is correct. Hope this work for you too!

1 Like

I did this too but it did not work. :frowning:

El El dom 10.12.2023 a las 23:49, Yuqing Zhang via DeepLearning.AI <notifications@dlai.discoursemail.com> escribió:

1 Like

can you please show what did you added ?

1 Like

image removed, contains grade cells codes, against community guidelines
What’s wrong in this code ? i got “There was a problem compiling the code from your notebook. Details:
‘NoneType’ object has no attribute ‘shape’” but still the score is zero . What’s big problem when initial var with none ? a have problem with diff assignment

avoid posting your query on older thread, create a new topic always with your issue.

Also stop posting codes. it is violation of Code of conduct.

you also seems to be posting your query in multiple courses unrelated to each, so when you create new topic, make sure to choose the right category of course, week. Mention assignment name. and share a screenshot of grader output which shows information on why you failed grades, rather than posting codes.

most usually nonetype grade cell issues are from using global variables instead of local variables, hard coding your path to recall function, using incorrect function.